点击或拖拽改变大小

SiemensDateTimeToArray 方法

Parses an array of DateTime values from bytes.

命名空间:  HslCommunication.Profinet.Siemens
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法
public static DateTime[] ToArray(
	byte[] bytes
)

参数

bytes
类型:SystemByte
Input bytes read from PLC.

返回值

类型:DateTime
An array of DateTime objects representing the values read from PLC.
异常
异常条件
ArgumentOutOfRangeExceptionThrown when the length of bytes is not a multiple of 8 or any value in bytes is outside the valid range of values.
参见