点击或拖拽改变大小

SiemensDateTimeGetDTLTime 方法

从西门子的原始字节数据中,提取出DTL格式的时间信息

命名空间:  HslCommunication.Profinet.Siemens
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static OperateResult<DateTime> GetDTLTime(
	IByteTransform byteTransform,
	byte[] buffer,
	int index
)

参数

byteTransform
类型:HslCommunication.CoreIByteTransform
西门子的字节变换对象
buffer
类型:SystemByte
原始字节数据
index
类型:SystemInt32
字节偏移索引

返回值

类型:OperateResultDateTime
时间信息
参见