Beispiel #1
0
 public static bool InsertNewBiddingFile(tk_Bidding Bidding, HttpFileCollection Filedata, ref string a_strErr)
 {
     if (ProjectPro.InsertBiddingFile(Bidding, Filedata, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #2
0
 public static bool UpdateNewSchedule(tk_Schedule Schedule, string ID, ref string a_strErr)
 {
     if (ProjectPro.UpdateSchedule(Schedule, ID, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #3
0
 public static bool updateNewSubWork(tk_SubWork Sub, ref string a_strErr)
 {
     if (ProjectPro.updateSubWork(Sub, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #4
0
 public static bool UpdateNewBudget(tk_Budget Budget, ref string a_strErr)
 {
     if (ProjectPro.UpdateBudget(Budget, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #5
0
 public static bool UpdateNewBidding(tk_Bidding Bidding, ref string a_strErr)
 {
     if (ProjectPro.UpdateBidding(Bidding, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #6
0
 public static bool deleteNewApp(string PID, ref string a_strErr)
 {
     if (ProjectPro.deleteApp(PID, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #7
0
 public static bool DeleteNewBudgetFile(string ID, ref string a_strErr)
 {
     if (ProjectPro.DeleteBudgetFile(ID, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #8
0
 public static bool checkNewUpdateMoney(string CID, string Money, string CBID)
 {
     if (ProjectPro.checkUpdateMoney(CID, Money, CBID) == true)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #9
0
 public static bool UpdateNewProjectCCashBack(CCashBack Cash, ref string a_strErr)
 {
     if (ProjectPro.UpdateProjectCCashBack(Cash, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #10
0
 public static bool InsertNewPreDesignFile(tk_PreDesign Design, HttpFileCollection Filedata, ref string a_strErr)
 {
     if (ProjectPro.InsertPreDesignFile(Design, Filedata, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #11
0
 public static bool InsertNewProjectCCashBackFile(CCashBack Cash, HttpFileCollection Filedata, ref string a_strErr)
 {
     if (ProjectPro.InsertProjectCCashBackFile(Cash, Filedata, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #12
0
 public static bool InsertNEWBudgetFile(tk_Budget Budget, HttpFileCollection Filedata, ref string a_strErr)
 {
     if (ProjectPro.InsertBudgetFile(Budget, Filedata, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #13
0
 public static bool InsertNewSubWorkFile(tk_SubWork Sub, HttpFileCollection Filedata, ref string a_strErr)
 {
     if (ProjectPro.InsertSubWorkFile(Sub, Filedata, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #14
0
 public static bool InsertNewProCompletionsFile(tk_ProCompletions Com, HttpFileCollection Filedata, ref string a_strErr)
 {
     if (ProjectPro.InsertProCompletionsFile(Com, Filedata, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #15
0
 public static bool UseUpNewUpSetUp(UseProjectBas Bas, ref string a_strErr)
 {
     if (ProjectPro.UseUpNewSetUp(Bas, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #16
0
 public static bool dellNewCCashBack(string cbid, string cid, ref string a_strErr)
 {
     if (ProjectPro.dellCCashBack(cbid, cid, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #17
0
 public static bool UpdateNewSetUp(tk_ProjectBas Bas, ref string a_strErr)
 {
     if (ProjectPro.UpdateSetUp(Bas, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #18
0
 public static bool InsertNewProject(tk_ProjectPre Bas, ref string a_strErr)
 {
     if (ProjectPro.InsertProject(Bas, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #19
0
 public static bool InsertNewPrice(tk_Price Price, ref string a_strErr)
 {
     if (ProjectPro.InsertPrice(Price, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #20
0
 public static bool UpdateNewProject(string EID, tk_Project Project, ref string a_strErr)
 {
     if (ProjectPro.UpdateProject(EID, Project, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #21
0
 public static bool UpdateNewPreDesign(tk_PreDesign Design, ref string a_strErr)
 {
     if (ProjectPro.UpdatePreDesign(Design, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #22
0
 public static bool DeleteNewProject(string EID, string PID, ref string a_strErr)
 {
     if (ProjectPro.DeleteProject(EID, PID, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #23
0
 public static bool InsertNewBidding(tk_Bidding Bidding, ref string a_strErr)
 {
     if (ProjectPro.InsertBidding(Bidding, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #24
0
 public static bool InsertNewUseProjectBas(UseProjectBas Bas, ref string a_strErr)
 {
     if (ProjectPro.InsertUseProjectBas(Bas, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #25
0
 public static bool InsertNewSchedule(tk_Schedule Schedule, ref string a_strErr)
 {
     if (ProjectPro.InsertSchedule(Schedule, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #26
0
 public static bool AppNewProjectBas(tk_ProjectBas Bas, ref string a_strErr)
 {
     if (ProjectPro.AppProjectBas(Bas, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #27
0
 public static bool InsertNewSubWork(tk_SubWork Sub, ref string a_strErr)
 {
     if (ProjectPro.InsertSubWork(Sub, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #28
0
        public static List <string> GetNewAppID()
        {
            List <string> list = new List <string>();
            DataTable     dt   = ProjectPro.getAppID();

            foreach (DataRow item in dt.Rows)
            {
                list.Add(item["AppID"].ToString());
            }
            return(list);
        }
Beispiel #29
0
 public static bool DeleteNewSubWork(string ID, string pid, ref string a_strErr)
 {
     if (ProjectPro.DeleteSubWork(ID, pid, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #30
0
 public static bool InsertNewContratFile(ContractBas Bas, HttpFileCollection Filedata, ref string a_strErr)
 {
     if (ProjectPro.InsertContratFile(Bas, Filedata, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }