SiemensS7NetReadDTLDataTimeAsync 方法 |
从PLC中读取DTL时间格式的数据
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<DateTime>> ReadDTLDataTimeAsync(
string address
)
Public Function ReadDTLDataTimeAsync (
address As String
) As Task(Of OperateResult(Of DateTime))
public:
Task<OperateResult<DateTime>^>^ ReadDTLDataTimeAsync(
String^ address
)
member ReadDTLDataTimeAsync :
address : string -> Task<OperateResult<DateTime>>
参数
- address
- 类型:SystemString
地址信息
返回值
类型:
TaskOperateResultDateTime时间对象
参见