C# Class j64.AlarmServer.AlarmSystem

An alarm system contains all of the zones and partitions managed by the Envisalink system. The alarm system will process events received from the TPI and handle them appropriately. To use this class you should create a new instance and then start a session with the TPI: var a = new AlarmSystem(); a.StartSession(host, port, user, password); This will get things rolling and allow you to see all of the commands and events that are being exchanged with the TPI.
Afficher le fichier Open project: joejarvis64/j64.AlarmServer

Private Properties

Свойство Type Description
P_PartitionChanged void
ProcessEvent void
TpiSocket_ResponseReceived void
Z_ZoneChanged void

Méthodes publiques

Méthode Description
AwayArmSystem ( int partitionId ) : void
BypassZone ( int zoneId ) : void
DisArmSystem ( int partitionId ) : void
DumpZoneTimers ( ) : void
SoundAlarm ( ) : void
StartSession ( int pollInterval = 1200 ) : void
StayArmSystem ( int partitionId ) : void
StopSession ( ) : void

Private Methods

Méthode Description
P_PartitionChanged ( object sender, Partition e ) : void
ProcessEvent ( TpiResponse response ) : void
TpiSocket_ResponseReceived ( object sender, TpiResponse response ) : void
Z_ZoneChanged ( object sender, Zone e ) : void

Method Details

AwayArmSystem() public méthode

public AwayArmSystem ( int partitionId ) : void
partitionId int
Résultat void

BypassZone() public méthode

public BypassZone ( int zoneId ) : void
zoneId int
Résultat void

DisArmSystem() public méthode

public DisArmSystem ( int partitionId ) : void
partitionId int
Résultat void

DumpZoneTimers() public méthode

public DumpZoneTimers ( ) : void
Résultat void

SoundAlarm() public méthode

public SoundAlarm ( ) : void
Résultat void

StartSession() public méthode

public StartSession ( int pollInterval = 1200 ) : void
pollInterval int
Résultat void

StayArmSystem() public méthode

public StayArmSystem ( int partitionId ) : void
partitionId int
Résultat void

StopSession() public méthode

public StopSession ( ) : void
Résultat void