GeSRTPNetReadByteAsync 方法 |
根据指定的地址来读取一个字节的数据,按照字节为单位,例如 M1 字节,就是指 M1-M8 位组成的字节,M2 字节就是 M9-M16 组成的字节。不支持对 AI,AQ,R 寄存器的字节读取
A byte of data is read according to the specified address, and the unit is byte. For example, M1 byte refers to a byte composed of M1-M8 bits,
and M2 byte is a byte composed of M9-M16. Does not support byte reading of AI, AQ, R registers
命名空间:
HslCommunication.Profinet.GE
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte>> ReadByteAsync(
string address
)
Public Function ReadByteAsync (
address As String
) As Task(Of OperateResult(Of Byte))
public:
Task<OperateResult<unsigned char>^>^ ReadByteAsync(
String^ address
)
member ReadByteAsync :
address : string -> Task<OperateResult<byte>>
参数
- address
- 类型:SystemString
地址信息
返回值
类型:
TaskOperateResultByte带有成功标识的
Byte 数据
参见