XUIRealTime()

new XUIRealTime()

Methods

AddArrayItem(nstatus, strSerial, strStartTime, strEndTime, strlabel, strdescribe, strConfirm, nPoliceState, strPoliceValue, nPoliceRegion)

增加所有数据
Parameters:
Name Type Description
nstatus Array 报警个数
strSerial Array 序号名
strStartTime Array 开始时间
strEndTime Array 结束时间
strlabel Array 标签名
strdescribe Array 描述内容
strConfirm Array 已确认/未确认
nPoliceState Array 报警状态
strPoliceValue Array 报警值
nPoliceRegion Array 报警区

AddItem(nstatus, strSerial, strStartTime, strEndTime, strlabel, strdescribe, strConfirm, nPoliceState, strPoliceValue, nPoliceRegion)

添加一项
Parameters:
Name Type Description
nstatus Number 报警个数
strSerial String 序号名
strStartTime String 开始时间
strEndTime String 结束时间
strlabel String 标签名
strdescribe String 描述内容
strConfirm String 已确认/未确认
nPoliceState Number 报警状态
strPoliceValue String 报警值
nPoliceRegion Number 报警区

AddStartItem(nstatus, strSerial, strStartTime, strEndTime, strlabel, strdescribe, strConfirm, nPoliceState, strPoliceValue, nPoliceRegion)

从开头添加一项
Parameters:
Name Type Description
nstatus Number 报警个数
strSerial String 序号名
strStartTime String 开始时间
strEndTime String 结束时间
strlabel String 标签名
strdescribe String 描述内容
strConfirm String 已确认/未确认
nPoliceState Number 报警状态
strPoliceValue String 报警值
nPoliceRegion Number 报警区

GetSelectIndex() → {Number}

获取当前选中节点的下标
Returns:
Number

GetSelectItemText() → {String}

获取当前选中节点的名称
Returns:
String

GetStartIndex() → {Number}

获取从头增加数据的下标
Returns:
Number

RemoveAll()

删除列表所有

RemoveByIndex(nIndex)

按索引删除一项
Parameters:
Name Type Description
nIndex Number 索引从0开始
Properties:
Name Type Description
removeIndex Number 0

SetAllState()

修改所有未确认状态

SetModifyByIndex(nIndex)

按索引修改状态
Parameters:
Name Type Description
nIndex Number 索引
Properties:
Name Type Description
ByIndex Number 0

SetNameByIndex(nIndex, strName)

按索引设置头部名称
Parameters:
Name Type Description
nIndex Number 索引从0开始
strName String 项的名称
Properties:
Name Type Description
NameAndIconByIndex Collection [0,"序号"]