Methods
-
AddItem(strswitch, strSerial, strComName, strUserName, strlabel, strdescribe, strNewValue, strOldValue, stralarmVlue, strareaVlue, strReasonName, strReasonTime)
-
添加一项
Parameters:
Name |
Type |
Description |
strswitch |
String
|
error错误normal正常 |
strSerial |
String
|
序号名 |
strComName |
String
|
设备编号 |
strUserName |
String
|
防区号 |
strlabel |
String
|
舱室 |
strdescribe |
String
|
桩号 |
strNewValue |
String
|
在线状态 |
strOldValue |
String
|
运行状态 |
stralarmVlue |
String
|
手动(自动) |
strareaVlue |
String
|
远程(就地) |
strReasonName |
String
|
故障原因 |
strReasonTime |
String
|
时间 |
-
-
删除列表所有
-
-
按索引删除一项
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Properties:
Name |
Type |
Description |
removeIndex |
Number
|
0 |
-
-
按索引设置头部名称
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
strName |
String
|
项的名称 |
Properties:
Name |
Type |
Description |
NameAndIconByIndex |
Collection
|
[0,"序号"] |