ConnectionInfo.cs 3.3 KB

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