电子药箱通讯服务端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

PatientOperationInfo.ext.cs 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. using System;
  2. using System.Collections;
  3. using System.Runtime.Serialization;
  4. using System.ComponentModel;
  5. using System.Collections.Generic;
  6. namespace RDH.Data.Models
  7. {
  8. public partial class PatientOperationInfo
  9. {
  10. private UserInfo _userInfo;
  11. [DataMember]
  12. public UserInfo UserInfo
  13. {
  14. get { return _userInfo; }
  15. set
  16. {
  17. _userInfo = value;
  18. OnPropertyChanged("UserInfo");
  19. }
  20. }
  21. private UserInfo _analgesistInfo;
  22. [DataMember]
  23. public UserInfo AnalgesistInfo
  24. {
  25. get { return _analgesistInfo; }
  26. set
  27. {
  28. _analgesistInfo = value;
  29. OnPropertyChanged("AnalgesistInfo");
  30. }
  31. }
  32. private UserInfo _surgeonInfo;
  33. [DataMember]
  34. public UserInfo SurgeonInfo
  35. {
  36. get { return _surgeonInfo; }
  37. set
  38. {
  39. _surgeonInfo = value;
  40. OnPropertyChanged("SurgeonInfo");
  41. }
  42. }
  43. private bool _isConcurencyBackground;
  44. [DataMember]
  45. public bool IsConcurencyBackground
  46. {
  47. get { return _isConcurencyBackground; }
  48. set
  49. {
  50. _isConcurencyBackground = value;
  51. OnPropertyChanged("IsConcurencyBackground");
  52. }
  53. }
  54. private bool _isConcurencyMain;
  55. [DataMember]
  56. public bool IsConcurencyMain
  57. {
  58. get { return _isConcurencyMain; }
  59. set
  60. {
  61. _isConcurencyMain = value;
  62. OnPropertyChanged("IsConcurencyMain");
  63. }
  64. }
  65. public class OperationTypeCodes
  66. {
  67. public static readonly string NormalOperation = "ͨ";//OutPatient
  68. public static readonly string TempOperation = "ʱ";//OutPatient
  69. public static readonly string VerificationOperation = "";//OutPatient
  70. }
  71. }
  72. public class OperationData : INotifyPropertyChanged
  73. {
  74. private PatientOperationInfo _OperationInfo;
  75. public PatientOperationInfo OperationInfo
  76. {
  77. get { return _OperationInfo; }
  78. set
  79. {
  80. _OperationInfo = value;
  81. this.OnPropertyChanged("OperationInfo");
  82. }
  83. }
  84. private bool _IsSelected;
  85. public bool IsSelected
  86. {
  87. get { return _IsSelected; }
  88. set
  89. {
  90. _IsSelected = value;
  91. this.OnPropertyChanged("IsSelected");
  92. }
  93. }
  94. private Guid _RoomKey;
  95. public Guid RoomKey
  96. {
  97. get { return _RoomKey; }
  98. set
  99. {
  100. _RoomKey = value;
  101. this.OnPropertyChanged("RoomKey");
  102. }
  103. }
  104. public event PropertyChangedEventHandler PropertyChanged;
  105. private void OnPropertyChanged(string property)
  106. {
  107. if (this.PropertyChanged != null)
  108. {
  109. PropertyChanged(this, new PropertyChangedEventArgs(property));
  110. }
  111. }
  112. }
  113. }