AIMS/AIMSEntity/ObjectQuery/FactEventsMap.cs
leomon 7ff33d156b 人员检索第二次报错 保存后重置控件
删除出室时间以后的数据
事件机控呼吸控制
2023-05-15 18:10:25 +08:00

49 lines
1.3 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
namespace AIMSObjectQuery
{
internal partial class FactEventsMap:IMap
{
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
public FactEventsMap()
{
dictionary.Add("id", "Id");
dictionary.Add("eventtypeid", "EventTypeId");
dictionary.Add("patientid", "PatientId");
dictionary.Add("eventid", "EventId");
dictionary.Add("eventbegintime", "EventBeginTime");
dictionary.Add("eventendtime", "EventEndTime");
dictionary.Add("iscontinue", "IsContinue");
dictionary.Add("remark", "Remark");
dictionary.Add("operatorno", "OperatorNo");
dictionary.Add("operatorname", "OperatorName");
dictionary.Add("operatedate", "OperateDate");
dictionary.Add("eventvalue", "EventValue");
dictionary.Add("extend1", "Extend1");
dictionary.Add("extend2", "Extend2");
dictionary.Add("extend3", "Extend3");
}
#region IMap
public string this[string propertyName]
{
get
{
try
{
return dictionary[propertyName.ToLower()];
}
catch (KeyNotFoundException)
{
throw new Exception(propertyName + "属性不存在");
}
}
}
#endregion
}
}