예제 #1
0
 public static bool FinishNewTask(Task task, ref string a_strErr)
 {
     if (DecetePro.FinishTask(task, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 public static bool UpdateNewTask(Task task, ref string a_strErr)
 {
     if (DecetePro.UpdateTask(task, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #3
0
 public static bool UpdateNewDecete(Decete Dec, ref string a_strErr)
 {
     if (DecetePro.UpdateDecete(Dec, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #4
0
 public static bool InsertNewTask(Task task, ref string a_strErr)
 {
     if (DecetePro.InsertTask(task, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #5
0
 public static bool InsertNewFinishDecete(Decete Dec, ref string a_strErr)
 {
     if (DecetePro.InsertFinishDecete(Dec, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #6
0
 public static bool deleteNewDecete(string Decete, ref string a_strErr)
 {
     if (DecetePro.deleteDecete(Decete, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #7
0
 public static bool deleteNewEntrustTask(string TaskID, ref string a_strErr)
 {
     if (DecetePro.deleteEntrustTask(TaskID, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #8
0
 public static bool deleteNewTask(string TaskNumber, ref string a_strErr)
 {
     if (DecetePro.deleteTask(TaskNumber, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #9
0
 public static bool UpdateNewTechlCardPT(CardPT CardPT, ref string a_strErr)
 {
     if (DecetePro.UpdateTechlCardPT(CardPT, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #10
0
 public static bool InsertNewFinishEntrustTask(EntrustTask Task, ref string a_strErr)
 {
     if (DecetePro.InsertFinishEntrustTask(Task, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #11
0
 public static bool InsertNewIssuedCar(string taskNumber, string car, ref string a_strErr)
 {
     if (DecetePro.InsertIssuedCar(taskNumber, car, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #12
0
 public static bool UpdateNewEntrust(EntrustTask Task, string Press, string PipSize, string length, ref string a_strErr)
 {
     if (DecetePro.UpdateEntrustTask(Task, Press, PipSize, length, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #13
0
 public static bool InsertNewTechlCardPT(CardPT CardPT, ref string a_strErr)
 {
     if (DecetePro.InsertTechlCardPT(CardPT, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #14
0
 public static bool DeleteNewTechlCardMT(string id, ref string a_strErr)
 {
     if (DecetePro.DeleteTechlCardMT(id, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #15
0
 public static bool InsertNewIssuedOther(IssuedOtherTask OtherTask, ref string a_strErr)
 {
     if (DecetePro.InsertIssuedOther(OtherTask, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #16
0
 public static bool InsertNewIssuedRTTask(IssuedTaskRT TaskRT, ref string a_strErr)
 {
     if (DecetePro.InsertIssuedRTTask(TaskRT, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #17
0
 // 提交预算信息
 public static bool SaveNewBudget(string BudgetID, string TaskID, string PostTime, string ContractPrice, string AdvancePrice, string AppTime,
                                  string ProPrice, string ProTime, string Comments, ref string a_strErr)
 {
     if (DecetePro.SaveNewBudget(BudgetID, TaskID, PostTime, ContractPrice, AdvancePrice, AppTime, ProPrice, ProTime, Comments, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #18
0
 // 提交结算信息
 public static bool SaveNewContract(string AccountsID, string TaskID, string AccAmount, string PostTime, string ContractPrice, string SignTime,
                                    string ActualPrice, string ActualTime, string KnotStyle, string IsSign, string Comments, string RepairPrice, string IsBill, ref string a_strErr)
 {
     if (DecetePro.SaveNewContract(AccountsID, TaskID, AccAmount, PostTime, ContractPrice, SignTime, ActualPrice, ActualTime, KnotStyle, IsSign,
                                   Comments, RepairPrice, IsBill, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #19
0
        // 获取检测工作量列表
        public static string getDeceteListNew(string taskID, string length, ref string a_strErr)
        {
            DataTable dtDeceteList = new DataTable();

            dtDeceteList = DecetePro.getDeceteListNew(taskID, length, ref a_strErr);

            if (dtDeceteList == null)
            {
                return("");
            }
            if (dtDeceteList.Rows.Count == 0)
            {
                return("");
            }

            string strDeceteList = GFun.Dt2Json("DeceteList", dtDeceteList);

            return(strDeceteList);
        }
예제 #20
0
        public static List <SelectListItem> GetNewConfigPipe()
        {
            List <SelectListItem> ListItem = new List <SelectListItem>();
            DataTable             dtDesc   = DecetePro.GetConfigPipe();

            if (dtDesc == null)
            {
                return(ListItem);
            }
            SelectListItem SelListItem = new SelectListItem();

            SelListItem.Value = "";
            SelListItem.Text  = "请选择";
            ListItem.Add(SelListItem);
            for (int i = 0; i < dtDesc.Rows.Count; i++)
            {
                SelListItem       = new SelectListItem();
                SelListItem.Value = dtDesc.Rows[i]["PipeID"].ToString();
                SelListItem.Text  = dtDesc.Rows[i]["Text"].ToString();
                ListItem.Add(SelListItem);
            }
            return(ListItem);
        }
예제 #21
0
 public static string getNewCardNumber(string DeceteID)
 {
     return(DecetePro.GetCardNumber(DeceteID));
 }
예제 #22
0
 // 获取 预算信息
 public static TaskBudget getBudget(string taskID)
 {
     return(DecetePro.getBudget(taskID));
 }
예제 #23
0
 public static string getNewCKmodelRT(string StrPipeStand, string StrStandSize, string StrRttype, string StrTZType, string StrTZPly)
 {
     return(DecetePro.getCKmodelRT(StrPipeStand, StrStandSize, StrRttype, StrTZType, StrTZPly));
 }
예제 #24
0
 // 获取 结算信息
 public static TaskAccounts getTaskA(string taskID)
 {
     return(DecetePro.getTaskA(taskID));
 }
예제 #25
0
 public static CardRT getNewUpdateCardRT(string id)
 {
     return(DecetePro.getUpdateCarRT(id));
 }
예제 #26
0
 public static UIDataTable getNewUserGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(DecetePro.getUserGrid(a_intPageSize, a_intPageIndex, where));
 }
예제 #27
0
 // 获取管径规格、管径长度
 public static string getNewPipe(string TaskID)
 {
     return(DecetePro.getNewPipe(TaskID));
 }
예제 #28
0
 // 20150721 ly 获取委托单详细
 public static string getDrawNum(string TaskID, string TaskName)
 {
     return(DecetePro.getDrawNum(TaskID, TaskName));
 }
예제 #29
0
 public static DataTable GetNewPrintTaskRT(string where)
 {
     return(DecetePro.GetPrintTaskRT(where));
 }
예제 #30
0
 public static string getNewCKmodelUT(string ProductSpec, string MumTxt)
 {
     return(DecetePro.getCKmodelUT(ProductSpec, MumTxt));
 }