CimAlarmClass.Order (property)

Gets and sets the order for alarm sorting.
Syntax: long = object.Order
object.Order = long
Description: The Order property gets and sets the alarm sorting order.


Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim alarmClasses As CimAlarmClassList
Dim alarmClass As CimAlarmClass
Set alarmClasses = project.AlarmClasses
Set alarmClass = alarmClasses.Item("NCRIT")
alarmClass.Order = 7
alarmClass.Save False