终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DeviceConfigModel.cs 830 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.Model
  7. {
  8. public class DeviceConfigModel
  9. {
  10. public List<DeviceConfig> Devices { get; set; } = new List<DeviceConfig>();
  11. }
  12. public class DeviceConfig
  13. {
  14. public string Name { get; set; }
  15. public string Module { get; set; }
  16. public int DeviceId { get; set; }
  17. public Dictionary<string, string> Parameters { get; set; } = new Dictionary<string, string>();
  18. public List<Peripheral> Peripherals { get; set; } = new List<Peripheral>();
  19. }
  20. public class Peripheral
  21. {
  22. public string Module { get; set; }
  23. public Dictionary<string, string> Parameters { get; set; } = new Dictionary<string, string>();
  24. }
  25. }