C# Класс 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.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
P_PartitionChanged void
ProcessEvent void
TpiSocket_ResponseReceived void
Z_ZoneChanged void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AwayArmSystem() публичный Метод

public AwayArmSystem ( int partitionId ) : void
partitionId int
Результат void

BypassZone() публичный Метод

public BypassZone ( int zoneId ) : void
zoneId int
Результат void

DisArmSystem() публичный Метод

public DisArmSystem ( int partitionId ) : void
partitionId int
Результат void

DumpZoneTimers() публичный Метод

public DumpZoneTimers ( ) : void
Результат void

SoundAlarm() публичный Метод

public SoundAlarm ( ) : void
Результат void

StartSession() публичный Метод

public StartSession ( int pollInterval = 1200 ) : void
pollInterval int
Результат void

StayArmSystem() публичный Метод

public StayArmSystem ( int partitionId ) : void
partitionId int
Результат void

StopSession() публичный Метод

public StopSession ( ) : void
Результат void