Exemplo n.º 1
0
 /// <summary>
 /// 估价参数info
 /// </summary>
 /// <param name="dr">数据</param>
 public ValParameterInfo(DataRow dr)
     : this()
 {
     this.SystemCost          = SQLUtil.ConvertDouble(dr["SystemCost"]);
     this.MonthlyHours        = SQLUtil.ConvertDouble(dr["MonthlyHours"]);
     this.UnitCost            = SQLUtil.ConvertDouble(dr["UnitCost"]);
     this.SmallConsumableCost = SQLUtil.ConvertDouble(dr["SmallConsumableCost"]);
     this.HospitalLevel.ID    = SQLUtil.ConvertInt(dr["HospitalLevel"]);
     this.HospitalLevel       = LookupManager.GetHospitalLevel(this.HospitalLevel.ID);
     this.HospitalFactor1     = SQLUtil.ConvertDouble(dr["HospitalFactor1"]);
     this.HospitalFactor2     = SQLUtil.ConvertDouble(dr["HospitalFactor2"]);
     this.HospitalFactor3     = SQLUtil.ConvertDouble(dr["HospitalFactor3"]);
 }