public int ws_insertCalibration(wsCalibration c, out string OpStatus) { try { OpStatus = "Выполнено"; DeviceDataManager DDM = new DeviceDataManager(); DDM.insertCalibration(c); return(1); } catch (Exception err) { OpStatus = err.Message.ToString(); return(0); } }
public int ws_insertCalibration(wsCalibration c, out string OpStatus) { try { OpStatus = "Выполнено"; DeviceDataManager DDM = new DeviceDataManager(); DDM.insertCalibration(c); return 1; } catch (Exception err) { OpStatus = err.Message.ToString(); return 0; } }