DLT645HelperBroadcastTimeAsync 方法 |
广播指定的时间,强制从站与主站时间同步,传入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.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult> BroadcastTimeAsync(
IDlt645 dlt,
DateTime dateTime,
Func<byte[], bool, bool, Task<OperateResult<byte[]>>> func
)
Public Shared Function BroadcastTimeAsync (
dlt As IDlt645,
dateTime As DateTime,
func As Func(Of Byte(), Boolean, Boolean, Task(Of OperateResult(Of Byte())))
) As Task(Of OperateResult)
public:
static Task<OperateResult^>^ BroadcastTimeAsync(
IDlt645^ dlt,
DateTime dateTime,
Func<array<unsigned char>^, bool, bool, Task<OperateResult<array<unsigned char>^>^>^>^ func
)
static member BroadcastTimeAsync :
dlt : IDlt645 *
dateTime : DateTime *
func : Func<byte[], bool, bool, Task<OperateResult<byte[]>>> -> Task<OperateResult>
参数
- dlt
- 类型:HslCommunication.Instrument.DLT.HelperIDlt645
DLT通信对象 - dateTime
- 类型:SystemDateTime
时间对象 - func
- 类型:SystemFuncByte, Boolean, Boolean, TaskOperateResultByte
[缺少 "M:HslCommunication.Instrument.DLT.Helper.DLT645Helper.BroadcastTimeAsync(HslCommunication.Instrument.DLT.Helper.IDlt645,System.DateTime,System.Func{System.Byte[],System.Boolean,System.Boolean,System.Threading.Tasks.Task{HslCommunication.OperateResult{System.Byte[]}}})" 的 <param name="func"/> 文档]
返回值
类型:
TaskOperateResult是否成功
参见