public async Task<bool> SetAlarmModeAsync(AlarmPartition partition, string pinCode, Enums.AlarmArmMode newStatus, string secureSessionId = null) { return await SetAlarmModeAsync(partition.Uuid, pinCode, newStatus, secureSessionId); }
public async Task<AlarmZone[]> GetAlarmZonesAsync(AlarmPartition partition, bool allowCache = true) { return await GetAlarmZonesAsync(partition.Uuid, allowCache); }
/// <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); }