终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

DeviceConfigModel.cs 830 B

pirms 2 gadiem
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. }