/// <summary> /// 设定仪器的型号 /// </summary> /// <param name="yqxh"></param> /// <returns></returns> public override bool setStart(string yqxhPara) { string YqXmlPath = ""; string YQ_Interval = ""; string YQ_DateType = ""; Jktj_lis = new lis_new(); //xmlpath YqXmlPath = Common.getyqPath(yqxhPara); //jg数据处理间隔时间 YQ_Interval = XmlRW.GetValueFormXML(YqXmlPath, "YQ_Interval", "value"); //rqlx 标本日期类型 YQ_DateType = XmlRW.GetValueFormXML(YqXmlPath, "YQ_DateType", "value"); timer_lis.Enabled = false; yqxh = yqxhPara; if (yqxh.Length > 0) { if (YQ_Interval.Equals("0")) { timer_lis.Interval = 5000; } else { timer_lis.Interval = int.Parse(YQ_Interval) * 1000; } timer_lis.Enabled = true; } return(true); }
/// <summary> /// 设定仪器的型号 /// </summary> /// <param name="yqxh"></param> /// <returns></returns> public override bool setStart(string yqxhPara) { string YqXmlPath = ""; string YQ_Interval = ""; string YQ_DateType = ""; Jktj_lis = new lis_new(); //xmlpath YqXmlPath = Common.getyqPath(yqxhPara); //jg数据处理间隔时间 YQ_Interval = ECGNETV260.XmlRW.GetValueFormXML(YqXmlPath, "YQ_Interval"); //rqlx 标本日期类型 YQ_DateType = ECGNETV260.XmlRW.GetValueFormXML(YqXmlPath, "YQ_DateType"); yqxh = yqxhPara; if (yqxh.Length > 0) { if (YQ_Interval != "0") { _interval = int.Parse(YQ_Interval) * 1000; } _needToOperation = true; } Operation(new OpInfo(DateTime.Now.ToString("yyyy-MM-dd"), DateTime.Now.ToString("yyyy-MM-dd"), "0")); return(true); }
/// <summary> /// 页面加载 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AutoForm_Load(object sender, EventArgs e) { Jktj_lis = (lis_new)this.Owner; //初始化签名基础信息 SignNameGroupInit(); }
/// <summary> /// 设定仪器的型号 /// </summary> /// <param name="yqxh"></param>表 /// <returns></returns> public override bool setStart(string yqxhPara) { string YqXmlPath = ""; string YQ_Interval = ""; Jktj_lis = new lis_new(); //xmlpath YqXmlPath = Common.getyqPath(yqxhPara); timer_lis.Enabled = false; timer_lis.Interval = int.Parse(YQ_Interval) * 1000; timer_lis.Enabled = true; yqxh = yqxhPara; return(true); }
/// <summary> /// 页面加载 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AutoForm_sgtz_Load(object sender, EventArgs e) { ////取得前以页面传递的数据 //DataTable dt = (DataTable)((jktj)this.Owner).Tag; ////用户id //userId = dt.Rows[0]["userId"].ToString(); ////工作组 //yhfz = dt.Rows[0]["gzz"].ToString(); ////医疗机构 //yljg = dt.Rows[0]["yljg"].ToString(); ////村庄编码 //czbm = dt.Rows[0]["czbm"].ToString(); Jktj_lis = (lis_new)this.Owner; }
/// <summary> /// 设定仪器的型号 /// </summary> /// <param name="yqxh"></param> /// <returns></returns> public override bool setStart(string yqxhPara) { yqxh = yqxhPara; string YqXmlPath = ""; int YQ_Interval = 5000; string YQ_DateType = ""; Jktj_lis = new lis_new(); //jg数据处理间隔时间 YQ_Interval = GetTimerInterval(); //rqlx 标本日期类型 YQ_DateType = GetYqDateType(); timer_lis.Enabled = false; if (yqxh.Length > 0) { timer_lis.Interval = YQ_Interval; timer_lis.Enabled = true; } return(true); }
// <summary> /// 设定仪器的型号 /// </summary> /// <param name="yqxh"></param> /// <returns></returns> public override bool setStart(string yqxhPara) { string YqXmlPath = ""; string YQ_Interval = ""; Jktj_lis = new lis_new(); //xmlpath YqXmlPath = Common.getyqPath(yqxhPara); //jg数据处理间隔时间 YQ_Interval = XmlRW.GetValueFormXML(YqXmlPath, "YQ_Interval", "value"); yqxh = yqxhPara; if (yqxh.Length > 0) { if (YQ_Interval != "0") { _interval = int.Parse(YQ_Interval) * 1000; } _needToOperation = true; } return(true); }
private void AutoForm_xdecgms_Load(object sender, EventArgs e) { Jktj_lis = (lis_new)this.Owner; SignNameGroupInit(); }