DLT698HelperWriteDateTime 方法 |
写入设备的时间信息到指定的地址,返回是否成功,使用的时间类型为 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.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult WriteDateTime(
IDlt698 dlt,
string address,
DateTime time
)
Public Shared Function WriteDateTime (
dlt As IDlt698,
address As String,
time As DateTime
) As OperateResult
public:
static OperateResult^ WriteDateTime(
IDlt698^ dlt,
String^ address,
DateTime time
)
static member WriteDateTime :
dlt : IDlt698 *
address : string *
time : DateTime -> OperateResult
参数
- dlt
- 类型:HslCommunication.Instrument.DLT.HelperIDlt698
通信的DLT对象 - address
- 类型:SystemString
写入的地址的信息 - time
- 类型:SystemDateTime
时间数据
返回值
类型:
OperateResult是否写入成功
参见