SiemensWebApiReadOperatingModeAsync 方法 |
读取当前PLC的操作模式,如果读取成功,结果将会是如下值之一:STOP, STARTUP, RUN, HOLD, -
Read the current operating mode of the PLC. If the reading is successful,
the result will be one of the following values: STOP, STARTUP, RUN, HOLD,-
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<string>> ReadOperatingModeAsync()
Public Function ReadOperatingModeAsync As Task(Of OperateResult(Of String))
public:
Task<OperateResult<String^>^>^ ReadOperatingModeAsync()
member ReadOperatingModeAsync : unit -> Task<OperateResult<string>>
返回值
类型:
TaskOperateResultString结果对象
参见