using InABox.Core; namespace PRSServer { public enum DumpFormat { None, Raw, SemiParsed } public class GPSServerProperties : ServerProperties { public GPSServerProperties() { ListenPort = 7999; DumpFormat = DumpFormat.None; UpdateTimer = 2000; } [ComboLookupEditor(typeof(DatabaseServerLookupGenerator))] [EditorSequence(1)] public string Server { get; set; } [IntegerEditor] [EditorSequence(2)] public int ListenPort { get; set; } [IntegerEditor] [EditorSequence(3)] public int SigfoxListenPort { get; set; } [EnumLookupEditor(typeof(DumpFormat))] [EditorSequence(4)] public DumpFormat DumpFormat { get; set; } [FileNameEditor(RequireExisting = false, AllowView = false)] [EditorSequence(5)] public string DumpFile { get; set; } [IntegerEditor] [EditorSequence(6)] [Caption("Update Timer (ms)")] public int UpdateTimer { get; set; } public override ServerType Type() { return ServerType.GPS; } } }