UploadLogRule.cs 827 B

123456789101112131415161718192021222324252627282930
  1. using System.Collections.Generic;
  2. using Vinno.vCloud.Protocol.Infrastructures;
  3. namespace Vinno.vCloud.Common.FIS.Log
  4. {
  5. public class UploadLogRule
  6. {
  7. /// <summary>
  8. /// Is Open Upload Log Function
  9. /// </summary>
  10. public bool UploadLogStatus { get; }
  11. /// <summary>
  12. /// Hour Interval to Upload Log
  13. /// </summary>
  14. public int RuleType { get; }
  15. /// <summary>
  16. /// Upload LogCategory List
  17. /// </summary>
  18. public IEnumerable<DeviceLogCategory> LogCategories { get; }
  19. public UploadLogRule(bool uploadLogStatus, int ruleType, IEnumerable<DeviceLogCategory> logCategories)
  20. {
  21. UploadLogStatus = uploadLogStatus;
  22. RuleType = ruleType;
  23. LogCategories = logCategories;
  24. }
  25. }
  26. }