using System; using System.Collections.Generic; namespace Comal.Classes { public enum GPSTrackerDeviceType { Bluetooth = 0, Sigfox = 1, IOT = 2, Unknown = 3 } public static class GPSTrackerDeviceDefaults { public static IReadOnlyDictionary Time => new Dictionary { { GPSTrackerDeviceType.Bluetooth, new TimeSpan(0, 15, 0) }, { GPSTrackerDeviceType.Sigfox, new TimeSpan(0, 5, 0) }, { GPSTrackerDeviceType.IOT, new TimeSpan(0, 2, 0) }, { GPSTrackerDeviceType.Unknown, new TimeSpan(0, 0, 0) } }; public static IReadOnlyDictionary Distance => new Dictionary { { GPSTrackerDeviceType.Bluetooth, 100 }, { GPSTrackerDeviceType.Sigfox, 200 }, { GPSTrackerDeviceType.IOT, 50 }, { GPSTrackerDeviceType.Unknown, 0 } }; } }