using InABox.Core; namespace Comal.Classes { public class GPSBatteryFormulaModel : IExpressionModel { public double BatteryLevel { get; set; } } [UserTracking(typeof(GPSTracker))] public class GPSTrackerType : Entity, IGPSTrackerType, IRemotable, IPersistent, ILicense, IExportable, IImportable { [TextBoxEditor(Visible = Visible.Default, Editable = Editable.Enabled)] public string Description { get; set; } /// /// An expression (see ) that should always return a percentage battery level remaining. ///

/// If null, fills the battery level on GPS Tracker Location with either a voltage or a battery level - whatever OEM returns. ///
[ExpressionEditor(typeof(GPSBatteryFormulaModel), Visible = Visible.Optional)] public string? BatteryFormula { get; set; } } }