public float ReadFloat(string address) { HslCommunication.OperateResult <float> rst; rst = TCP.ReadFloat(address); if (rst.IsSuccess) { return(rst.Content); } MsgChannl.SendMsg(rst.Message); return(0); }
public float ReadFloat(string address) { HslCommunication.OperateResult <float> rst; rst = TCP.ReadFloat(address); if (rst.IsSuccess) { return(rst.Content); } MsgChannl.SendMsg(rst.Message); return(0); }