123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System;
- using Comal.Classes;
- using InABox.Core;
- namespace PRSServer
- {
- public class AutoDiscoveryServerProperties : ServerProperties
- {
- public AutoDiscoveryServerProperties()
- {
- DisplayName = "PRS";
- ServerURL = "http://127.0.0.1";
- ServerPort = 8000;
- GoogleAPIKey = "";
- }
- [TextBoxEditor]
- [EditorSequence(1)]
- public string DisplayName { get; set; }
- [TextBoxEditor]
- [EditorSequence(2)]
- public string ServerURL { get; set; }
- [IntegerEditor]
- [EditorSequence(3)]
- public int ServerPort { get; set; }
-
- [FolderEditor(Environment.SpecialFolder.CommonDocuments)]
- [EditorSequence(9)]
- public string LibraryLocation { get; set; }
- [TextBoxEditor]
- [EditorSequence(10)]
- public string GoogleAPIKey { get; set; }
- public override ServerType Type()
- {
- return ServerType.AutoDiscovery;
- }
- }
- }
|