コード例 #1
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool UpdateNewDCheckInfo(DCheckInfo CheckInfo, string id, string num, ref string a_strErr)
 {
     if (EquipPro.UpdateDCheckInfo(CheckInfo, id, num, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool UpdateNewDRepairInfo(DRepairInfo Repair, ref string a_strErr)
 {
     if (EquipPro.UpdateDRepairInfo(Repair, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #3
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool InsertNewDCheckInfo(DCheckInfo CheckInfo, ref string a_strErr)
 {
     if (EquipPro.InsertDCheckInfo(CheckInfo, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #4
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool InsertNewDeviceBas(DevicsBas Bas, ref string a_strErr)
 {
     if (EquipPro.InsertDeviceBas(Bas, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #5
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool UpdateNewDevice(DevicsBas Bas, string ecode, ref string a_strErr)
 {
     if (EquipPro.UpdateDeviceBas(Bas, ecode, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #6
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool DeleteNewDeviceBas(string ecode, ref string a_strErr)
 {
     if (EquipPro.DeleteDeviceBas(ecode, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #7
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool InsertNewRativeSource(RativeSource Rsource, ref string a_strErr)
 {
     if (EquipPro.InsertRativeSource(Rsource, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #8
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool UpdateNewRativeSource(RativeSource Rsource, string id, ref string a_strErr)
 {
     if (EquipPro.UpdateRativeSource(Rsource, id, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #9
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool DeleteNewRative(string id, ref string a_strErr)
 {
     if (EquipPro.DeleteRative(id, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #10
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool InsertNewDScrapInfo(DScrapInfo Scrap, ref string a_strErr)
 {
     if (EquipPro.InsertDScrapInfo(Scrap, ref a_strErr) >= 2)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #11
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static bool InsertNewCongTime(string checkWay, string num, string unit, string TimeType, ref string a_strErr)
 {
     if (EquipPro.InsertCongTime(checkWay, num, unit, TimeType, ref a_strErr) >= 1)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #12
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
        public static List <SelectListItem> GetNewConfigContentByUnit(string UnitID)
        {
            List <SelectListItem> ListItem = new List <SelectListItem>();
            DataTable             dtDesc   = EquipPro.GetConfigContByUnit(UnitID);

            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]["SID"].ToString();
                SelListItem.Text  = dtDesc.Rows[i]["Text"].ToString();
                ListItem.Add(SelListItem);
            }
            return(ListItem);
        }
コード例 #13
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
        public static List <SelectListItem> GetNewState()
        {
            List <SelectListItem> ListItem = new List <SelectListItem>();
            DataTable             dtDesc   = EquipPro.getState();

            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]["StateId"].ToString();
                SelListItem.Text  = dtDesc.Rows[i]["name"].ToString();
                ListItem.Add(SelListItem);
            }
            return(ListItem);
        }
コード例 #14
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static string getNewCK3time()
 {
     return(EquipPro.getCK3Time());
 }
コード例 #15
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static DataTable getNewPrintStanding(string where, string whereOrder)
 {
     return(EquipPro.getPrintStanding(where, whereOrder));
 }
コード例 #16
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static DCheckInfo getNewUpdateDCheckInfo(string id)
 {
     return(EquipPro.getUpdateDCheckInfo(id));
 }
コード例 #17
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static RativeSource getNewUpdateRativeSource(string id)
 {
     return(EquipPro.getUpdateRative(id));
 }
コード例 #18
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static UIDataTable getNewRativeSourceGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(EquipPro.getRativeSourceGrid(a_intPageSize, a_intPageIndex, where));
 }
コード例 #19
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static DevicsBas getNewDevicsByID(string id)
 {
     return(EquipPro.getDevicsByID(id));
 }
コード例 #20
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static UIDataTable getNewDevicsBasGrid(int a_intPageSize, int a_intPageIndex, string where)
 {
     return(EquipPro.getDevicsBasGrid(a_intPageSize, a_intPageIndex, where));
 }
コード例 #21
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static UIDataTable getNewEquipGrid(int a_intPageSize, int a_intPageIndex, string where, string order, string unit)
 {
     return(EquipPro.getEquipGrid(a_intPageSize, a_intPageIndex, where, order, unit));
 }
コード例 #22
0
ファイル: EquipMan.cs プロジェクト: xupeihong/.netYJY
 public static UIDataTable getNewTracingGrid(int a_intPageSize, int a_intPageIndex, string where, string Order)
 {
     return(EquipPro.getTracingGrid(a_intPageSize, a_intPageIndex, where, Order));
 }