Пример #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));
 }