55 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| 
 | |
| namespace AIMSObjectQuery
 | |
| {
 | |
|     internal partial class OperationRecoverMap:IMap
 | |
| 	{
 | |
| 	    private Dictionary<string, string> dictionary = new Dictionary<string, string>();
 | |
|         public OperationRecoverMap()
 | |
|         {
 | |
|         	dictionary.Add("id", "Id");
 | |
|         	dictionary.Add("patientid", "PatientId");
 | |
|         	dictionary.Add("operationapplyid", "OperationApplyId");
 | |
|         	dictionary.Add("inroomtime", "InRoomTime");
 | |
|         	dictionary.Add("outroomtime", "OutRoomTime");
 | |
|         	dictionary.Add("instewardscore", "InStewardScore");
 | |
|         	dictionary.Add("respirepattern", "RespirePattern");
 | |
|         	dictionary.Add("bloodpressure", "BloodPressure");
 | |
|         	dictionary.Add("pulse", "Pulse");
 | |
|         	dictionary.Add("respire", "Respire");
 | |
|         	dictionary.Add("spo2", "Spo2");
 | |
|         	dictionary.Add("outstewardscore", "OutStewardScore");
 | |
|         	dictionary.Add("skinmucosa", "SkinMucosa");
 | |
|         	dictionary.Add("respiresound", "RespireSound");
 | |
|         	dictionary.Add("hoarseness", "Hoarseness");
 | |
|         	dictionary.Add("doctorsign", "DoctorSign");
 | |
|         	dictionary.Add("nursesign", "NurseSign");
 | |
|         	dictionary.Add("remarks", "Remarks");
 | |
|         	dictionary.Add("operatorno", "OperatorNo");
 | |
|         	dictionary.Add("operatorname", "OperatorName");
 | |
|         	dictionary.Add("operatedate", "OperateDate");
 | |
|         }
 | |
| 
 | |
|         #region IMap 成员
 | |
| 
 | |
|         public string this[string propertyName]
 | |
|         {
 | |
|             get
 | |
| 			{ 
 | |
| 				try
 | |
| 				{
 | |
| 					return dictionary[propertyName.ToLower()]; 
 | |
| 				}
 | |
| 				catch (KeyNotFoundException)
 | |
| 				{
 | |
| 					throw new Exception(propertyName + "属性不存在");
 | |
| 				}
 | |
| 			}
 | |
|         }
 | |
| 
 | |
|         #endregion
 | |
| 	}
 | |
| }
 |