// Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (DrugUtils == null) var DrugUtils = {}; DrugUtils._path = '/dwr'; DrugUtils.updateDrugStatus = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateDrugStatus', p0, p1, callback); } DrugUtils.updateDrugDone = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateDrugDone', p0, p1, callback); } DrugUtils.updateDrugType = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateDrugType', p0, p1, callback); } DrugUtils.updateInfectionMedicationStatus = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateInfectionMedicationStatus', p0, p1, callback); } DrugUtils.getGrade = function(p0, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getGrade', p0, callback); } DrugUtils.setGradeService = function(p0, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'setGradeService', p0, callback); } DrugUtils.setGrade = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'setGrade', p0, p1, callback); } DrugUtils.filterImage = function(p0, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'filterImage', p0, callback); } DrugUtils.getDrugService = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getDrugService', callback); } DrugUtils.getGradeService = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getGradeService', callback); } DrugUtils.showDetail = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'showDetail', p0, p1, callback); } DrugUtils.updateDrugModifiedDate = function(p0, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateDrugModifiedDate', p0, callback); } DrugUtils.updateDrugPosition = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateDrugPosition', p0, p1, callback); } DrugUtils.updateDrugErrorCorrectionStatus = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateDrugErrorCorrectionStatus', p0, p1, callback); } DrugUtils.updateDrugErrorCorrectionStatusByDrugId = function(p0, p1, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'updateDrugErrorCorrectionStatusByDrugId', p0, p1, callback); } DrugUtils.setDrugService = function(p0, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'setDrugService', p0, callback); } DrugUtils.setDrugErrorCorrectionService = function(p0, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'setDrugErrorCorrectionService', p0, callback); } DrugUtils.getDrugErrorCorrectionService = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getDrugErrorCorrectionService', callback); } DrugUtils.getIdentify = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getIdentify', callback); } DrugUtils.getRealIP = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getRealIP', false, callback); } DrugUtils.getRealIP = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getRealIP', callback); } DrugUtils.getUserService = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getUserService', callback); } DrugUtils.setUserService = function(p0, callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'setUserService', p0, callback); } DrugUtils.getRemoteAddr = function(callback) { dwr.engine._execute(DrugUtils._path, 'DrugUtils', 'getRemoteAddr', false, callback); }