/// <summary> /// 修改监护数据 /// </summary> /// <param name="mzjldid"></param> /// <param name="jh"></param> /// <param name="type"></param> /// <returns></returns> public int UpdateMzjldPointSpO2andETCO2(int mzjldid, adims_MODEL.jhxm jh, int type)// { string sqlU = ""; if (type == 0) { if (jh.Sy == "SpO2") { sqlU = "update Adims_MonitorRecord set spo2='" + jh.V + "' where mzjldid='" + mzjldid + "' and RecordTime='" + jh.D + "'"; } else if (jh.Sy == "ETCO2") { sqlU = "update Adims_MonitorRecord set spo2='" + jh.V + "' where mzjldid='" + mzjldid + "' and RecordTime='" + jh.D + "'"; } } if (type == 1) { if (jh.Sy == "SpO2") { sqlU = "update Adims_pacu_Point set spo2='" + jh.V + "' where mzjldid='" + mzjldid + "' and RecordTime='" + jh.D + "'"; } else if (jh.Sy == "ETCO2") { sqlU = "update Adims_pacu_Point set spo2='" + jh.V + "' where mzjldid='" + mzjldid + "' and RecordTime='" + jh.D + "'"; } } return(dBConn.ExecuteNonQuery(sqlU)); }
public UpdateJHXM(int m, adims_MODEL.jhxm j, int lx1) { type = lx1; mzjldid = m; jhxm = j; InitializeComponent(); }
public xgjhsj(int m, adims_MODEL.jhxm j, int lx1) { type = lx1; mzjldid = m; jhxm = j; InitializeComponent(); }