Beispiel #1
0
 public List <wsCalibration> ws_selectDeviceCalibrations(int id, out string OpStatus)
 {
     try
     {
         OpStatus = "Выполнено";
         DeviceDataManager DDM = new DeviceDataManager();
         return(DDM.selectDeviceCalibrations(id));
     }
     catch (Exception err)
     {
         OpStatus = err.Message.ToString();
         return(null);
     }
 }
Beispiel #2
0
        //---- for passport report
        private DataTable LoadDS_ServiceData()
        {
            int PID = Convert.ToInt32(Request.QueryString["PID"]);

            DeviceDataManager DDM = new DeviceDataManager();

            var result = DDM.selectDeviceCalibrations(PID);

            Utility   objUtility = new Utility();
            DataTable dt         = new DataTable();

            dt = objUtility.LINQToDataTable(result);


            return(dt.DefaultView.Table);
        }
Beispiel #3
0
 public List<wsCalibration> ws_selectDeviceCalibrations(int id, out string OpStatus)
 {
     try
     {
         OpStatus = "Выполнено";
         DeviceDataManager DDM = new DeviceDataManager();
         return DDM.selectDeviceCalibrations(id);
     }
     catch (Exception err)
     {
         OpStatus = err.Message.ToString();
         return null;
     }
 }
Beispiel #4
0
        //---- for passport report
        private DataTable LoadDS_ServiceData()
        {
            int PID = Convert.ToInt32(Request.QueryString["PID"]);

            DeviceDataManager DDM = new DeviceDataManager();

            var result = DDM.selectDeviceCalibrations(PID);

            Utility objUtility = new Utility();
            DataTable dt = new DataTable();
            dt = objUtility.LINQToDataTable(result);


            return dt.DefaultView.Table;
        }