Esempio n. 1
0
 public async Task <bool> SetAlarmModeAsync(AlarmPartition partition, string pinCode, Enums.AlarmArmMode newStatus, string secureSessionId = null)
 {
     return(await SetAlarmModeAsync(partition.Uuid, pinCode, newStatus, secureSessionId));
 }
Esempio n. 2
0
 public async Task <AlarmZone[]> GetAlarmZonesAsync(AlarmPartition partition, bool allowCache = true)
 {
     return(await GetAlarmZonesAsync(partition.Uuid, allowCache));
 }
Esempio n. 3
0
 /// <summary>
 /// Returns whether a partition is ready. A partition is ready when all of its zones are in Ready state.
 /// </summary>
 /// <param name="partition">Partition</param>
 /// <param name="allowCache">Whether or not partition and/or zone information may be cached</param>
 /// <returns>True when all zones are ready, otherwise False</returns>
 public async Task <bool> IsAlarmPartitionReady(AlarmPartition partition, bool allowCache = true)
 {
     return(await IsAlarmPartitionReady(partition.Uuid, allowCache));
 }