终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
729 B

  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 string DeviceId { get; set; }
  17. public List<Peripheral> Peripherals { get; set; } = new List<Peripheral>();
  18. }
  19. public class Peripheral
  20. {
  21. public string Module { get; set; }
  22. public Dictionary<string, string> Parameters { get; set; } = new Dictionary<string, string>();
  23. }
  24. }