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
)
Public Shared Function ToArray (
bytes As Byte()
) As DateTime()
public:
static array<DateTime>^ ToArray(
array<unsigned char>^ bytes
)
static member ToArray :
bytes : byte[] -> DateTime[]
参数
- bytes
- 类型:SystemByte
Input bytes read from PLC.
返回值
类型:
DateTimeAn array of
DateTime objects representing the values read from PLC.
异常 异常 | 条件 |
---|
ArgumentOutOfRangeException | Thrown when the length of
bytes is not a multiple of 8 or any value in
bytes is outside the valid range of values. |
参见