点击或拖拽改变大小

ISecs 接口

ISecs的接口信息,支持了将数据发送到对方,或是使用问答机制从设备获取数据
The interface information of ISecs supports sending data to the other party, or using the question and answer mechanism to obtain data from the device

命名空间:  HslCommunication.Secs.Types
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法
public interface ISecs
方法
  名称说明
公共方法ReadSecsMessage(Byte, Byte, SecsValue, Boolean)
根据指定的功能码将数据报文发送给设备,并且等待从SECS设备返回Secs消息,本访问机制是问答模式的。
Send the data message to the device according to the specified function code, and wait for the Secs message to be returned from the SECS device. This access mechanism is in question-and-answer mode.
公共方法ReadSecsMessage(Byte, Byte, Byte, Boolean)
根据指定的功能码将数据报文发送给设备,并且等待从SECS设备返回Secs消息,本访问机制是问答模式的。
Send the data message to the device according to the specified function code, and wait for the Secs message to be returned from the SECS device. This access mechanism is in question-and-answer mode.
公共方法SendByCommand(Byte, Byte, SecsValue, Boolean)
将数据发送到设备方去,只是单纯的发送数据过去,并不等待设备的数据返回,返回是否发送成功。
Sending data to the device side simply sends the data to the past, and does not wait for the data from the device to return, and returns whether the transmission is successful.
公共方法SendByCommand(Byte, Byte, Byte, Boolean)
将数据发送到设备方去,只是单纯的发送数据过去,并不等待设备的数据返回,返回是否发送成功。
Sending data to the device side simply sends the data to the past, and does not wait for the data from the device to return, and returns whether the transmission is successful.
Top
参见