DeviceRecommandResolution.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using System.Collections.Generic;
  2. namespace Vinno.vCloud.Common.FIS.LiveVideos
  3. {
  4. public class DeviceRecommandResolution
  5. {
  6. /// <summary>
  7. /// 超声机品牌
  8. /// </summary>
  9. public string Brand { get; }
  10. /// <summary>
  11. /// 超声机型号ID
  12. /// </summary>
  13. public string ModelId { get; }
  14. /// <summary>
  15. /// 超声机型号
  16. /// </summary>
  17. public string Model { get; }
  18. /// <summary>
  19. /// 推荐分辨路宽度
  20. /// </summary>
  21. public int Width { get; }
  22. /// <summary>
  23. /// 推荐分辨路高度
  24. /// </summary>
  25. public int Height { get; }
  26. public DeviceRecommandResolution(string brand, string modelId, string model, int width, int height)
  27. {
  28. Brand = brand;
  29. ModelId = modelId;
  30. Model = model;
  31. Width = width;
  32. Height = height;
  33. }
  34. }
  35. public class DeviceBrandInfo
  36. {
  37. /// <summary>
  38. /// 超声机品牌
  39. /// </summary>
  40. public string Brand { get; }
  41. /// <summary>
  42. /// 超声机型号列表
  43. /// </summary>
  44. public IList<DeviceRecommandResolution> Models { get; }
  45. public DeviceBrandInfo(string brand)
  46. {
  47. Brand = brand;
  48. Models = new List<DeviceRecommandResolution>();
  49. }
  50. }
  51. }