Beispiel #1
0
        public override bool Read()
        {
            Mode = Socket.SocketInterfaces.IOMode.Input;

            return _port.Read();
        }
        public override bool Read()
        {
            Mode = Socket.SocketInterfaces.IOMode.Input;

            return(_port.Read());
        }
Beispiel #3
0
        public override void Write(bool state)
        {
            Mode = Socket.SocketInterfaces.IOMode.Output;

            _port.Write(state);
        }
        public override void Write(bool state)
        {
            Mode = Socket.SocketInterfaces.IOMode.Output;

            _port.Write(state);
        }