Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
        }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
        }