ConnectionInfo.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. using System.Collections.Generic;
  2. using WingInterfaceLibrary.Enum;
  3. namespace Vinno.vCloud.Common.FIS
  4. {
  5. /// <summary>
  6. /// The class define the connect server info.
  7. /// </summary>
  8. public class ConnectionInfo
  9. {
  10. /// <summary>
  11. /// Gets or sets the server info.
  12. /// </summary>
  13. public string ServerUrl { get; set; }
  14. /// <summary>
  15. /// Gets or sets the account info.
  16. /// </summary>
  17. public AccountInfo Account { get; set; }
  18. /// <summary>
  19. /// Gets or sets the organization.
  20. /// </summary>
  21. public string Organization { get; set; }
  22. /// <summary>
  23. /// Gets or sets the ultrasound machine mode.
  24. /// </summary>
  25. public string DeviceMode { get; set; }
  26. /// <summary>
  27. /// Gets or sets the serial number of the ultrasound machine.
  28. /// </summary>
  29. public string SerialNumber { get; set; }
  30. /// <summary>
  31. /// Gets or sets the cpu of the ultrasound machine.
  32. /// </summary>
  33. public string USCPU { get; set; }
  34. /// <summary>
  35. /// Gets or sets the os of the ultrasound machine.
  36. /// </summary>
  37. public string USOS { get; set; }
  38. /// <summary>
  39. /// Gets or sets the sofware version of the ultrasound machine.
  40. /// </summary>
  41. public string SoftwareVersion { get; set; }
  42. /// <summary>
  43. /// Gets or sets the enabled features.
  44. /// </summary>
  45. public IEnumerable<TerminalFeatureType> EnabledFeatures { get; set; }
  46. /// <summary>
  47. /// Gets or sets the login source.
  48. /// </summary>
  49. public LoginSource LoginSource { get; set; }
  50. /// <summary>
  51. /// Gets or sets the platform
  52. /// </summary>
  53. public Platform Platform { get; set; }
  54. /// <summary>
  55. /// Device Type
  56. /// </summary>
  57. public string DeviceType { get; set; }
  58. /// <summary>
  59. /// Gets or sets the base folder.
  60. /// </summary>
  61. public string FISFolder { get; set; }
  62. /// <summary>
  63. /// Gets or sets the screen with.
  64. /// </summary>
  65. public int USScreenWidth { get; set; }
  66. /// <summary>
  67. /// Gets or sets the screen height.
  68. /// </summary>
  69. public int USScreenHeight { get; set; }
  70. /// <summary>
  71. /// Gets or sets the if it is used to register account
  72. /// </summary>
  73. public bool IsOnlyUsedToRegister { get; set; }
  74. /// <summary>
  75. /// Language Name
  76. /// </summary>
  77. public string LanguageName { get; set; }
  78. }
  79. /// <summary>
  80. /// The class define the account info, include us account and user account.
  81. /// </summary>
  82. public class AccountInfo
  83. {
  84. /// <summary>
  85. /// Gets or sets the name.
  86. /// </summary>
  87. public string Name { get; set; }
  88. /// <summary>
  89. /// Gets or sets the password.
  90. /// </summary>
  91. public string Password { get; set; }
  92. /// <summary>
  93. /// Gets or sets the value to indicate whether the us account is the user defined or dongle id.
  94. /// </summary>
  95. public bool IsUserDefined { get; set; }
  96. }
  97. }