AutoDiscoverySettings.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using InABox.Clients;
  2. using InABox.Configuration;
  3. namespace Comal.Classes
  4. {
  5. public class AutoDiscoverySettings : LocalConfigurationSettings
  6. {
  7. public AutoDiscoverySettings()
  8. {
  9. Name = "PRS";
  10. Logo = new byte[] { };
  11. URL = "http://127.0.0.1";
  12. Port = 8000;
  13. UpdateLocation = "";
  14. LibraryLocation = "";
  15. Protocol = SerializerProtocol.Rest;
  16. GoogleAPIKey = "";
  17. UpdateChannel = AutoUpdateChannel.Stable;
  18. ColorScheme = "#FF6495ED"; // CornflowerBlue
  19. }
  20. public string Name { get; set; }
  21. public string URL { get; set; }
  22. public int Port { get; set; }
  23. public SerializerProtocol Protocol { get; set; }
  24. public AutoUpdateType UpdateType { get; set; }
  25. public string UpdateLocation { get; set; }
  26. public string LibraryLocation { get; set; }
  27. public byte[] Logo { get; set; }
  28. public bool UpdateAdmin { get; set; }
  29. public AutoUpdateChannel UpdateChannel { get; set; }
  30. public string GoogleAPIKey { get; set; }
  31. public string ColorScheme { get; set; }
  32. }
  33. }