AutoDiscoverySettings.cs 1.1 KB

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