APUIsInstanceUsed() 函数
- Last UpdatedFeb 01, 2018
- 1 minute read
返回一个离散值,指出当前是否正在使用某个实例。
类别
查看
语法
[Result=] APUIsInstanceUsed(iInstance);
参数
iInstance
Alarm Printer 实例的编号(0 到 15)。
附注
结果为 0 或 1:
0 = 实例未使用。
1 = 实例在使用。
示例
InUse 是一个离散标记,如果实例 5 正在使用,则该标记设置为真 (1);如果实例 5 不在使用,则设置为假 (0)。
InUse = APUIsInstanceUsed(5);
另请参阅
APUFindAlarmGroupInstance(), APUFindFileInstance(), APUFindPrinterInstance(), APUGetInstanceCount()