FactoryFloorLocalSettings.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using InABox.Configuration;
  3. using InABox.Core;
  4. namespace Comal.Classes
  5. {
  6. public enum FactorySidePanel
  7. {
  8. None,
  9. Racks,
  10. Packs,
  11. }
  12. public class FactoryFloorLocalSettings : ILocalConfigurationSettings
  13. {
  14. public FactoryFloorLocalSettings()
  15. {
  16. Section = CoreUtils.FullGuid;
  17. Station = -1;
  18. LineColor = "#FF0000";
  19. FontSize = 12;
  20. AreaID = Guid.Empty;
  21. SidePanel = FactorySidePanel.None;
  22. }
  23. public Guid Section { get; set; }
  24. public int Station { get; set; }
  25. public Guid AreaID { get; set; }
  26. public FactorySidePanel SidePanel { get; set; }
  27. public string LineColor { get; set; }
  28. public int FontSize { get; set; }
  29. public DateTime CurrentBatchDate { get; set; }
  30. public Guid CurrentBatchID { get; set; }
  31. }
  32. [Obsolete("Replacing with FactoryFloorLocalSettings", false)]
  33. public class FactoryFloorSettings : IUserConfigurationSettings
  34. {
  35. public Guid Section { get; set; }
  36. public int Station { get; set; }
  37. }
  38. }