/// <summary> /// 施設毎の設定更新 /// </summary> /// <param name="hosconf">施設設定クラス</param> /// <returns>処理結果クラス</returns> public ResultData SetHospConfig_Serv(HospitalConfig hosconf) { var ret = new ResultData(); try { // 施設設定更新メソッド呼び出し(内部関数) ret.Result = Hosp.SetHospConfig(hosconf); } catch (Exception e) { LogControl.WriteLog(LogType.ERR, "SetHospConfig_Serv", e.Message); ret.Message = e.Message; } return(ret); }
/// <summary> /// 施設毎の候補値設定 /// </summary> /// <param name="id">施設ID</param> /// <param name="hosCon">施設設定クラス</param> /// <returns>処理結果クラス</returns> public ResultData SetHospTemplate_Serv(int id, string key, string[] hosTempList) { var ret = new ResultData(); try { // 施設設定情報取得メソッド呼び出し(内部関数) ret.Result = Hosp.SetHospitalTemplate(id, key, hosTempList); ret.Result = true; } catch (Exception e) { LogControl.WriteLog(LogType.ERR, "SetHospTemplate_Serv", e.Message); ret.Message = e.Message; } return(ret); }
/// <summary> /// 施設設定情報取得 /// </summary> /// <param name="id">施設ID</param> /// <param name="hosCon">o:施設設定クラス</param> /// <returns>処理結果クラス</returns> public ResultData GetHospConf_Serv(int id, out HospitalConfig hosCon) { var ret = new ResultData(); hosCon = new HospitalConfig(); try { // 施設設定情報取得メソッド呼び出し(内部関数) hosCon = Hosp.GetHospConfig(id); ret.Result = true; } catch (Exception e) { LogControl.WriteLog(LogType.ERR, "GetHospConf_Serv", e.Message); ret.Message = e.Message; } return(ret); }
/// <summary> /// 施設情報一覧取得 /// </summary> /// <param name="hosList">o:施設情報クラス配列</param> /// <returns>処理結果クラス</returns> public ResultData GetHospList_Serv(out HospMst[] hosList) { var ret = new ResultData(); hosList = null; try { // 施設情報取得メソッド呼び出し(内部関数) hosList = Hosp.GetHospList(); ret.Result = true; } catch (Exception e) { LogControl.WriteLog(LogType.ERR, "GetHospList_Serv", e.Message); ret.Message = e.Message; } return(ret); }
/// <summary> /// 施設毎の候補値取得 /// </summary> /// <param name="id">施設ID</param> /// <param name="hostemp">o:施設設定クラス</param> /// <returns>処理結果クラス</returns> public ResultData GetHospTemplate_Serv(int id, out HospitalTemplate[] hostemp) { var ret = new ResultData(); hostemp = null; try { // 施設設定情報取得メソッド呼び出し(内部関数) hostemp = Hosp.GetHospitalTemplate(id); ret.Result = true; } catch (Exception e) { LogControl.WriteLog(LogType.ERR, "GetHospTemplate_Serv", e.Message); ret.Message = e.Message; } return(ret); }