YokogawaLinkTcpReadDateTimeAsync 方法 |
[商业授权] 读取当前PLC的时间信息,包含年月日时分秒
[Authorization] Read current PLC time information, including year, month, day, hour, minute, and second
命名空间:
HslCommunication.Profinet.Yokogawa
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<DateTime>> ReadDateTimeAsync()
Public Function ReadDateTimeAsync As Task(Of OperateResult(Of DateTime))
public:
Task<OperateResult<DateTime>^>^ ReadDateTimeAsync()
member ReadDateTimeAsync : unit -> Task<OperateResult<DateTime>>
返回值
类型:
TaskOperateResultDateTimePLC的当前的时间信息
参见