DLT645With1997OverTcpBroadcastTimeAsync 方法 |
广播指定的时间,强制从站与主站时间同步,传入DateTime时间对象,没有数据返回。
Broadcast the specified time, force the slave station to synchronize with the master station time,
pass in the DateTime time object, and no data will be returned.
命名空间:
HslCommunication.Instrument.DLT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> BroadcastTimeAsync(
DateTime dateTime
)
Public Function BroadcastTimeAsync (
dateTime As DateTime
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ BroadcastTimeAsync(
DateTime dateTime
)
member BroadcastTimeAsync :
dateTime : DateTime -> Task<OperateResult>
参数
- dateTime
- 类型:SystemDateTime
时间对象
返回值
类型:
TaskOperateResult是否成功
参见