Example #1
0
 public ushort ReadUInt16(string address)
 {
     HslCommunication.OperateResult <ushort> rst;
     rst = TCP.ReadUInt16(address);
     if (rst.IsSuccess)
     {
         return(rst.Content);
     }
     MsgChannl.SendMsg(rst.Message);
     return(0);
 }