Beispiel #1
0
 public void Write(byte channel, OpcCommandType command, byte[] data)
 {
     var length = checked((ushort)data.Length);
     Write(new OpcMessage
     {
         Channel = channel,
         Command = command,
         Length = length,
         Data = data,
     });
 }
Beispiel #2
0
        public void Write(byte channel, OpcCommandType command, byte[] data)
        {
            var length = checked ((ushort)data.Length);

            Write(new OpcMessage
            {
                Channel = channel,
                Command = command,
                Length  = length,
                Data    = data,
            });
        }