终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

30 wiersze
830 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 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. }