DLT698OverTcpWriteDateTime 方法 |
写入设备的时间信息到指定的地址,返回是否成功,使用的时间类型为 0x1C, 有效数据为 年月日时分秒。
Write the time information of the device to the specified address, return whether it is successful, the time type used is 0x1C, and the valid data is year, month, day, hour, minute, and second.
命名空间:
HslCommunication.Instrument.DLT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult WriteDateTime(
string address,
DateTime time
)
Public Function WriteDateTime (
address As String,
time As DateTime
) As OperateResult
public:
OperateResult^ WriteDateTime(
String^ address,
DateTime time
)
member WriteDateTime :
address : string *
time : DateTime -> OperateResult
参数
- address
- 类型:SystemString
写入的地址的信息 - time
- 类型:SystemDateTime
时间数据
返回值
类型:
OperateResult是否写入成功
参见