__construct() __construct(int $index, bool $state) : mixed Constructor Parameters int $index Index of the binary output bool $state State of the binary output Returns mixed
setState() setState(bool $state) : void Set the binary output's state Parameters bool $state Binary output's state
jsonSerialize() jsonSerialize() : array<string,bool|int> Serializes IQRF Standard binary output entity into JSON Returns array — JSON serialized data