public short ReadInt16(string address, ushort length) { HslCommunication.OperateResult <short> rst; rst = TCP.ReadInt16(address); if (rst.IsSuccess) { return(rst.Content); } MsgChannl.SendMsg(rst.Message); return(0); }
public short ReadInt16(string address, ushort length) { HslCommunication.OperateResult <short> rst; rst = TCP.ReadInt16(address); if (rst.IsSuccess) { return(rst.Content); } MsgChannl.SendMsg(rst.Message); return(0); }