C# Class j64.AlarmServer.Web.Repository.SmartThingsRepository

Mostrar archivo Open project: joejarvis64/j64.AlarmServer

Public Methods

Method Description
AlarmSystem_PartitionChange ( object sender, Partition p ) : void

This will propgate events occuring within the alarm system out to the smart things hub

AlarmSystem_ZoneChange ( object sender, Zone z ) : void

This will propgate events occuring within the alarm system out to the smart things hub

Determinej64ServerAddress ( string hostString ) : AlarmSystem
InstallDevices ( string hostString ) : void

Install or Update Devices in the SmartThings App

UpdatePartition ( PartitionInfo partitionInfo ) : void

status information to the smart things zone

UpdateZone ( ZoneInfo zoneInfo ) : void

status information to the smart things zone

Method Details

AlarmSystem_PartitionChange() public static method

This will propgate events occuring within the alarm system out to the smart things hub
public static AlarmSystem_PartitionChange ( object sender, Partition p ) : void
sender object
p Partition
return void

AlarmSystem_ZoneChange() public static method

This will propgate events occuring within the alarm system out to the smart things hub
public static AlarmSystem_ZoneChange ( object sender, Zone z ) : void
sender object
z Zone
return void

Determinej64ServerAddress() public static method

public static Determinej64ServerAddress ( string hostString ) : AlarmSystem
hostString string
return AlarmSystem

InstallDevices() public static method

Install or Update Devices in the SmartThings App
public static InstallDevices ( string hostString ) : void
hostString string
return void

UpdatePartition() public static method

status information to the smart things zone
public static UpdatePartition ( PartitionInfo partitionInfo ) : void
partitionInfo j64.AlarmServer.Web.Models.PartitionInfo
return void

UpdateZone() public static method

status information to the smart things zone
public static UpdateZone ( ZoneInfo zoneInfo ) : void
zoneInfo j64.AlarmServer.Web.Models.ZoneInfo
return void