AlarmListSetFilterTimeFrom

 

The 'AlarmListSetFilterTimeFrom' function sets the filter start time before use AlarmListSetFilter.

 

void AlarmListSetFilterTimeFrom(string classname, int year, int month, int day, int hour, int minute);

 

Parameters

string classname : Class name of the object.

int year : Year

int month : Month

int day : Day

int hour : Hour

int minute : Minute

 

Return Value

None

 

Example

@AlarmListSetFilterPrepare(0);

@AlarmListSetFilterTimeFrom("Alarm1", 2013, 1, 16, 0, 0);

@AlarmListSetFilterTimeTo("Alarm1", 2013, 1, 16, 23, 59);

@AlarmListSetFilter("Alarm1", 1, 5);

Descriptions : Show alarm of Port 0 and Port 5.  It includes from 2003-1-16 0:00 ~ 23:59.

 

Version Information

Supported Version: 10.2.5 or higher

 

Relate items)

@AlarmGetEventCount()

@AlarmGetSoundFlag()

@AlarmListConfirm()

@AlarmListDelete()

@AlarmListGetCursor()

@AlarmListSetCursor()

@AlarmListSetFilter()

@AlarmListSetFilterPrepare()

@AlarmListSetFilterTimeFrom()

@AlarmListSetFilterTimeTo()

@AlarmSetSoundFlag()

@AlarmSoundConfirm()