Exemple #1
0
 //修改维修记录
 public static bool UpdateRepairInfo(tk_RepairInfo repairInfo, string BakName, string BakType, string Measure, string BakNum, ref string a_strErr)
 {
     if (FlowMeterPro.UpdateRepairInfo(repairInfo, BakName, BakType, Measure, BakNum, ref a_strErr) > 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #2
0
 //新增维修记录
 public static bool InsertRepairInfo(tk_RepairInfo cleanRepair, string BakName, string BakType, string Measure, string BakNum, ref string a_strErr)
 {
     if (FlowMeterPro.InsertRepairInfo(cleanRepair, BakName, BakType, Measure, BakNum, ref a_strErr) > 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }