|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- using System;
- using System.Collections;
- using System.Runtime.Serialization;
- using System.ComponentModel;
- using System.Collections.Generic;
-
- namespace RDH.Data.Models
- {
- public partial class PatientOperationInfo
- {
- private UserInfo _userInfo;
- [DataMember]
- public UserInfo UserInfo
- {
- get { return _userInfo; }
- set
- {
- _userInfo = value;
- OnPropertyChanged("UserInfo");
- }
- }
-
- private UserInfo _analgesistInfo;
- [DataMember]
- public UserInfo AnalgesistInfo
- {
- get { return _analgesistInfo; }
- set
- {
- _analgesistInfo = value;
- OnPropertyChanged("AnalgesistInfo");
- }
- }
-
-
- private UserInfo _surgeonInfo;
- [DataMember]
- public UserInfo SurgeonInfo
- {
- get { return _surgeonInfo; }
- set
- {
- _surgeonInfo = value;
- OnPropertyChanged("SurgeonInfo");
- }
- }
-
- private bool _isConcurencyBackground;
- [DataMember]
- public bool IsConcurencyBackground
- {
- get { return _isConcurencyBackground; }
- set
- {
- _isConcurencyBackground = value;
- OnPropertyChanged("IsConcurencyBackground");
- }
- }
-
-
-
-
- private bool _isConcurencyMain;
- [DataMember]
- public bool IsConcurencyMain
- {
- get { return _isConcurencyMain; }
- set
- {
- _isConcurencyMain = value;
- OnPropertyChanged("IsConcurencyMain");
- }
- }
-
-
- public class OperationTypeCodes
- {
- public static readonly string NormalOperation = "ͨ";//OutPatient
- public static readonly string TempOperation = "ʱ";//OutPatient
- public static readonly string VerificationOperation = "";//OutPatient
- }
- }
-
-
- public class OperationData : INotifyPropertyChanged
- {
- private PatientOperationInfo _OperationInfo;
-
- public PatientOperationInfo OperationInfo
- {
- get { return _OperationInfo; }
- set
- {
- _OperationInfo = value;
- this.OnPropertyChanged("OperationInfo");
- }
- }
-
- private bool _IsSelected;
- public bool IsSelected
- {
- get { return _IsSelected; }
- set
- {
- _IsSelected = value;
- this.OnPropertyChanged("IsSelected");
- }
- }
-
- private Guid _RoomKey;
- public Guid RoomKey
- {
- get { return _RoomKey; }
- set
- {
- _RoomKey = value;
- this.OnPropertyChanged("RoomKey");
- }
- }
-
-
- public event PropertyChangedEventHandler PropertyChanged;
-
- private void OnPropertyChanged(string property)
- {
- if (this.PropertyChanged != null)
- {
- PropertyChanged(this, new PropertyChangedEventArgs(property));
- }
- }
-
- }
-
- }
|