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.
파일 보기 프로젝트 열기: joejarvis64/j64.AlarmServer

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