FanucSeries0iReadTimeDataAsync 方法 |
读取fanuc机床的时间,0是开机时间,1是运行时间,2是切割时间,3是循环时间,4是空闲时间,返回秒为单位的信息
Read the time of the fanuc machine tool, 0 is the boot time, 1 is the running time, 2 is the cutting time,
3 is the cycle time, 4 is the idle time, and returns the information in seconds.
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<long>> ReadTimeDataAsync(
int timeType
)
Public Function ReadTimeDataAsync (
timeType As Integer
) As Task(Of OperateResult(Of Long))
public:
Task<OperateResult<long long>^>^ ReadTimeDataAsync(
int timeType
)
member ReadTimeDataAsync :
timeType : int -> Task<OperateResult<int64>>
参数
- timeType
- 类型:SystemInt32
读取的时间类型
返回值
类型:
TaskOperateResultInt64秒为单位的结果
参见