import Utility from '~/plugins/utility';

//const DOMAIN = "http://dotest.kfems.kr:9997/";
const DOMAIN = '';
// const DOMAIN = "/";

export const state = () => Object.assign({}, INIT_URL_STATE);

export const actions = {
	// api post 방식 호출 - store 저장
	async postApi({ state, commit }, payload) {
		const headers = {
			headers: {
				'X-Fems-MenuId':
					this.state.activeMenuInfo.menuId == undefined
						? '0'
						: this.state.activeMenuInfo.menuId,
			},
		};
		const apiUrl = state[payload.apiKey];
		const params = { params: payload.sendParam || {} };
		const res = await this.$axios.post(DOMAIN + apiUrl, params, headers);
		commit(
			'setPageData',
			{
				[payload.dataKey]: payload.resKey
					? res.data.dataset[payload.resKey]
					: res.data.dataset,
			},
			{ root: true },
		);
	},
	// api post 방식 호출 - 리턴
	async postApiReturn({ state }, payload) {
		const headers = {
			headers: {
				'X-Fems-MenuId':
					this.state.activeMenuInfo.menuId == undefined
						? '0'
						: this.state.activeMenuInfo.menuId,
			},
		};
		// console.log("postApi::payload = ", payload);
		const apiUrl = state[payload.apiKey];
		const params = { params: payload.sendParam || {} };
		const res = await this.$axios.post(DOMAIN + apiUrl, params, headers);
		if (Array.isArray(payload.resKey)) {
			const result = {};
			for (const item of payload.resKey) {
				result[item] = res.data.dataset[item];
			}
			return result;
		}
		return payload.resKey ? res.data.dataset[payload.resKey] : res.data.dataset;
	},
	// api post 방식 호출 - update용
	async postUpdateApi({ state }, payload) {
		const headers = {
			headers: {
				'X-Fems-MenuId':
					this.state.activeMenuInfo.menuId == undefined
						? '0'
						: this.state.activeMenuInfo.menuId,
			},
		};
		const apiUrl = state[payload.apiKey];
		const params = payload.sendParam;
		const res = await this.$axios.post(DOMAIN + apiUrl, params, headers);
		return res;
	},
	getDomain() {
		return DOMAIN;
	},
	// 트리구조 세팅
	setTree({ commit }, payload) {
		const res = payload.value;
		const treeKey = payload.treeKey; // readPlc, readPlcNm, upReadPlc,
		// console.log("setTree::res = ", res);
		let tmpLsit = [];
		if (res.length > 0) {
			tmpLsit = res
				.map(item => ({
					...item,
					name: item[Utility.toCamelCase(treeKey + '_nm')],
					_attributes: {
						expanded: true, // default: false
					},
					_children: [],
				}))
				.reduce(
					// 동일한 부모를 가진 object 끼리 묶기
					(acc, it) => ({
						...acc,
						[it[Utility.toCamelCase('up_' + treeKey)]]: acc[
							it[Utility.toCamelCase('up_' + treeKey)]
						]
							? [...acc[it[Utility.toCamelCase('up_' + treeKey)]], it]
							: [it],
					}),
					{},
				);
			// console.log(tmpLsit);
			Object.getOwnPropertyNames(tmpLsit)
				.reverse()
				.forEach(function(val, idx, array) {
					array.map(obj => {
						tmpLsit[obj].filter(v => {
							if (val === v[Utility.toCamelCase(treeKey)]) {
								// 부모 키와 동일한 값을 가지고 있는 목록의 _children 에 추가
								v._children = tmpLsit[val];
							}
							if (val === obj && v._children.length === 0) {
								// 자식이 없으면 삭제
								//delete v._attributes;
								delete v._children;
							}
						});
					});
				});
		}
		return tmpLsit;
		// commit(
		//   "setGridData",
		//   { gridKey: payload.gridKey, value: tmpLsit.ROOT },
		//   { root: true }
		// );
		// commit("setPageData", { treeData: tmpLsit.ROOT }, { root: true });
	},

	setNewTree({ commit }, payload) {
		// console.log("setNewTree")
		const res = payload.value;
		const treeKey = payload.treeKey;
		const treeKeyNm = payload.treeKeyNm;
		const upTreeKey = payload.upTreeKey;
		let tmpLsit = [];
		if (res.length > 0) {
			tmpLsit = res
				.map(item => ({
					...item,
					name: item[Utility.toCamelCase(treeKeyNm)],
					_attributes: {
						expanded: true, // default: false
					},
					_children: [],
				}))
				.reduce(
					// 동일한 부모를 가진 object 끼리 묶기
					(acc, it) => ({
						...acc,
						[it[Utility.toCamelCase(upTreeKey)]]: acc[
							it[Utility.toCamelCase(upTreeKey)]
						]
							? [...acc[it[Utility.toCamelCase(upTreeKey)]], it]
							: [it],
					}),
					{},
				);
			// console.log(tmpLsit);
			Object.getOwnPropertyNames(tmpLsit)
				.reverse()
				.forEach(function(val, idx, array) {
					array.map(obj => {
						tmpLsit[obj].filter(v => {
							if (val === v[Utility.toCamelCase(treeKey)]) {
								// 부모 키와 동일한 값을 가지고 있는 목록의 _children 에 추가
								v._children = tmpLsit[val];
							}
							if (val === obj && v._children.length === 0) {
								// 자식이 없으면 삭제
								//delete v._attributes;
								delete v._children;
							}
						});
					});
				});
		}
		return tmpLsit;
	},
};

const INIT_URL_STATE = {
	// apiUrl:
	// prgmId: "TMP0034" 전력품질
	selectReadPlcTree: 'ems/base/elecQualityReadCtr/selectReadPlcTree', // 검침개소 목록
	selectOffcTmData: 'ems/base/elecQualityReadCtr/selectOffcTmData', // 선택된 검침개소 데이타 (row, chart)

	//prgmId: "TMP0031" 일일현황
	selectFtnPlcCdList: 'ems/base/EmsCommCtr/selectFtnPlcCdList', // 일일현황 사업장별 공장 리스트
	selectElecPowTm: 'ems/base/ElecPowPrceMngCtr/selectElecPowTm', // 일일현황 전력 부하 코드
	selectMonitoringTotal: 'ems/base/MonitoringTotalCtr/selectMonitoringTotal', // 일일현황 차트 데이터

	// prgmId: "TMP0032" 사용량조회
	selectFtnPlcListTree: 'ems/base/FtnPlcMultiPopCtr/selectFtnPlcTree', // 모달: 공정설비
	selectEnergyUseReadDnPlc: 'ems/base/enrgUseReadCtr/selectEnergyUseReadDnPlc', // 선택된 공정/설비 하위 그룹 <= res plcCd 값을 아래 조회 시 [] 로 담아서 넣어줌
	selectEnergyUseReadHour: 'ems/base/enrgUseReadCtr/selectEnergyUseReadHour', // 주기 시간 선택시 호출
	selectMonthWeekendList: 'comm/base/CalendarMngCtr/selectMonthWeekendList', // 주기 일 선택시 호출 <= 주말,일요일 정보를 가져온다, 꼭 필요할까..
	selectEnergyUseReadDay: 'ems/base/enrgUseReadCtr/selectEnergyUseReadDay', // 주기 일 선택시 호출
	selectEnergyUseReadMonth: 'ems/base/enrgUseReadCtr/selectEnergyUseReadMonth', // 주기 월 선택시 호출
	selectEnergyUseReadYear: 'ems/base/enrgUseReadCtr/selectEnergyUseReadYear', // 주기 연 선택시 호출
	selectEnergyUseReadYearCost:
		'ems/base/enrgUseReadCtr/selectEnergyUseReadYearCost',
	selectEnergyUseReadMonthCost:
		'ems/base/enrgUseReadCtr/selectEnergyUseReadMonthCost',
	selectEnergyUseReadDayCost:
		'ems/base/enrgUseReadCtr/selectEnergyUseReadDayCost',
	selectEnergyUseReadHourCost:
		'ems/base/enrgUseReadCtr/selectEnergyUseReadHourCost',

	// prgmId: "TMP0013" 검침실적마감관리 ems/ReadResultCloseMngPage
	selectReadResultCloseMng:
		'ems/base/ReadResultCloseMngCtr/selectReadResultCloseMng', // 일일검침정보
	saveReadResultCloseMngSP:
		'ems/base/ReadResultCloseMngCtr/saveReadResultCloseMngSP', // 전월 or 일 마감
	saveReadResultCloseMngSPMM:
		'ems/base/ReadResultCloseMngCtr/saveReadResultCloseMngSPMM', // 월 마감

	// 시스템관리
	// prgmId: "TMP0001" 검침대상등록
	selectMtt: 'ems/base/EmsCommCtr/selectMtt', // 검침대상 리스트 호출

	// prgmId: "TMP0018" 공통코드관리
	saveCommGrpCd: 'comm/base/CommCdMngCtr/saveCommGrpCd', // 공통그룹코드 저장
	saveCommCd: 'comm/base/CommCdMngCtr/saveCommCd', // 공통코드 저장
	selectCommGrpCd: 'comm/base/CommCdMngCtr/selectCommGrpCd', // 공통코드 그룹 리스트 호출
	selectCommCd: 'comm/base/CommCdMngCtr/selectCommCd', // 공통코드 선택시 호출
	selectCodeList: 'comm/base/CommCdMngCtr/selectCodeList', // 공통코드 셀릭트 리스트 호출

	// prgmId: "TMP0019" 메뉴
	selectMenu: 'comm/base/MenuMngCtr/selectMenu', // 메뉴리스트 조회
	saveMenu: 'comm/base/MenuMngCtr/saveMenu', // 메뉴리스트 저장

	// prgmId: "TMP0022" 캘린더
	selectWorkCald: 'comm/base/CalendarMngCtr/selectWorkCald', // 캘린더 리스트 조회
	saveWorkCald: 'comm/base/CalendarMngCtr/saveWorkCald', // 캘린더 리스트 저장
	selectWorkCaldDetl: 'comm/base/CalendarMngCtr/selectWorkCaldDetl', // 캘린더 리스트 조회
	selectWorkCaldDetlOne: 'comm/base/CalendarMngCtr/selectWorkCaldDetlOne', // 캘린더 리스트 조회
	savePlanDetl: 'comm/base/CalendarMngCtr/savePlanDetl',
	updatePlanDetl: 'comm/base/CalendarMngCtr/updatePlanDetl',
	deletePlanDetl: 'comm/base/CalendarMngCtr/deletePlanDetl',
	// prgmId: "TMP0024" 역할
	selectRole: 'comm/auth/RoleMngCtr/selectRole', // 역할리스트 조회
	saveRole: 'comm/auth/RoleMngCtr/saveRole', // 역할리스트 저장

	// prgmId: "TMP0026" 메뉴 역할
	selectUnAsgnMenu: 'comm/auth/MenuRoleMngCtr/selectUnAsgnMenu', // 미배정 메뉴 리스트
	selectMenuRole: 'comm/auth/MenuRoleMngCtr/selectMenuRole', // 배정 메뉴 리스트
	saveMenuRole: 'comm/auth/MenuRoleMngCtr/saveMenuRole', // 메뉴역할 저장

	// prgmId: "TMP0005" 설비그룹
	selectEqpmGrpMng: 'ems/base/EquipmentGroupMngCtr/selectEqpmGrpMng', // 설비그룹 리스트 호출
	saveEqpmGrpMng: 'ems/base/EquipmentGroupMngCtr/saveEqpmGrpMng', // 설비그룹 리스트 저장

	// prgmId: "TMP0025" 사용자 역할
	selectUser: 'comm/auth/UserRoleMngCtr/selectUser', // 사용자 리스트
	saveUser: 'comm/auth/UserRoleMngCtr/saveUser', // 사용자 정보 저장
	selectRoleUser: 'comm/auth/UserRoleMngCtr/selectRoleUser', // 사용자 정보 > 역할리스트
	selectUnAsgnRoleByUser: 'comm/auth/UserRoleMngCtr/selectUnAsgnRoleByUser', // 사용자 정보 > 역할수정 > 역할리스트
	selectAsgnRoleByUser: 'comm/auth/UserRoleMngCtr/selectAsgnRoleByUser', // 사용자 정보 > 역할수정 > 사용자 역할
	saveRoleUser: 'comm/auth/UserRoleMngCtr/saveRoleUser', // 역할수정 저장
	selectAsgnMenuByUser: 'comm/auth/UserRoleMngCtr/selectAsgnMenuByUser', // 사용자 정보 > 사용자별 메뉴리스트
	// 비밃번호 수정

	// prgmId: "TMP0027" 시스템접속기록
	selectUserPop: 'comm/auth/UserRoleMngCtr/selectUserPop', // 모달: 사용자
	selectLoginLog: 'comm/base/SystemLogReadCtr/selectLoginLog', // 로그인 이력
	selectMenuCnctLog: 'comm/base/SystemLogReadCtr/selectMenuCnctLog', // 메뉴 접근 이력

	// prgmId: "TMP0028" 프로그램
	selectPrgm: 'comm/base/PrgmMngCtr/selectPrgm', // 프로그램 리스트
	savePrgm: 'comm/base/PrgmMngCtr/savePrgm', // 프로그램 상세 저장
	selectPrgmPage: 'comm/base/PrgmMngCtr/selectPrgmPage', // 프로그램 페이지 리스트
	selectPrgmTotal: 'comm/base/PrgmMngCtr/selectPrgmTotal', // 프로그램 리스트 토탈

	// prgmId: "PRG0019" 배치관리
	selectBatchMng: 'comm/base/BatchMngCtr/selectBatchMng', // 배치 리스트
	saveBatchMng: 'comm/base/BatchMngCtr/saveBatchMng', // 배치 상세 저장
	selectFllwBatchList: 'comm/base/BatchMngCtr/selectFllwBatchList', // 후속 배치 리스트

	// prgmId: "PRG0020" 배치로그
	selectBatchLog: 'comm/base/BatchLogCtr/selectBatchLog', // 배치 로그

	// prgmId: "PRG0017" 검침개소 기간별 비교
	selectSameReadPlcTime: 'ems/base/sameReadPlcCtr/selectSameReadPlcTime',
	selectSameReadPlcWeek: 'ems/base/sameReadPlcCtr/selectSameReadPlcWeek',
	selectSameReadPlcDay: 'ems/base/sameReadPlcCtr/selectSameReadPlcDay',
	selectSameReadPlcMonth: 'ems/base/sameReadPlcCtr/selectSameReadPlcMonth',
	selectReadPlcTree: 'ems/base/outSideWeatherPlcPopCtr/selectReadPlcTree',

	// prgmId: "TMP0059" 월간 Report
	selectMonthReportFactory:
		'ems/base/monthlyReportRead/selectMonthReportFactory',
	selectMonthReportEnergy: 'ems/base/monthlyReportRead/selectMonthReportEnergy',
	selectMonthReportDept: 'ems/base/monthlyReportRead/selectMonthReportDept',

	// prgmId: "TMP0036" 수요현황
	selectElecPeakEffectHour: 'ems/base/elecPeakRead/selectElecPeakEffectHour',

	// prgmId: "TMP0045" 검침개소간 비교
	selectSameTermReadPlcYear:
		'ems/base/SameTermReadPlcCtr/selectSameTermReadPlcYear', //검침개소간 비교: 연별
	selectSameTermReadPlcMonth:
		'ems/base/SameTermReadPlcCtr/selectSameTermReadPlcMonth', //검침개소간 비교: 월별
	selectSameTermReadPlcDay:
		'ems/base/SameTermReadPlcCtr/selectSameTermReadPlcDay', //검침개소간 비교: 일별
	selectSameTermReadPlcHour:
		'ems/base/SameTermReadPlcCtr/selectSameTermReadPlcHour', //검침개소간 비교: 시간

	// prgmId: "TMP0037" 최대수요전력조회
	peakSelectEnergyUseReadYear: 'ems/base/PeakReadCtr/selectEnergyUseReadYear', //최대수요전력조회: 연별
	peakSelectEnergyUseReadMonth: 'ems/base/PeakReadCtr/selectEnergyUseReadMonth', //최대수요전력조회: 월별
	peakSelectEnergyUseReadDay: 'ems/base/PeakReadCtr/selectEnergyUseReadDay', //최대수요전력조회: 일별
	peakSelectEnergyUseReadHour: 'ems/base/PeakReadCtr/selectEnergyUseReadHour', //최대수요전력조회: 시간

	selectElecPeakRead: 'ems/base/PeakReadCtr/selectElecPeakRead', //위젯: 현재 피크전력, 예상 피크전력
	selectElecPowChrg: 'ems/base/PeakReadCtr/selectElecPowChrgInfo', //위젯: 현재 피크전력, 예상 피크전력

	// prgmId: "TMP0044" 요일별 비교
	selectFtnPlcTree: 'ems/base/FtnPlcMultiPopCtr/selectFtnPlcTree', //모달: 공정설비
	selectWeekdayReadHour: 'ems/base/WeekdayReadCtr/selectWeekdayReadHour', //요일별 비교: 사용량 조회
	selectWeekdayReadCost: 'ems/base/WeekdayReadCtr/selectWeekdayReadCost', //요일별 비교: 비용 조회

	// prgmId: "TMP0041" 공정간 비교
	selectSameTermReadYear: 'ems/base/SameTermReadCtr/selectSameTermReadYear', //연도별 조회
	selectSameTermReadYearCost:
		'ems/base/SameTermReadCtr/selectSameTermReadYearCost',
	selectSameTermReadMonth: 'ems/base/SameTermReadCtr/selectSameTermReadMonth', //월별 조회
	selectSameTermReadMonthCost:
		'ems/base/SameTermReadCtr/selectSameTermReadMonthCost',
	selectSameTermReadDay: 'ems/base/SameTermReadCtr/selectSameTermReadDay', //일별 조회
	selectSameTermReadDayCost:
		'ems/base/SameTermReadCtr/selectSameTermReadDayCost',
	selectSameTermReadHour: 'ems/base/SameTermReadCtr/selectSameTermReadHour', // 시간별 조회
	selectSameTermReadHourCost:
		'ems/base/SameTermReadCtr/selectSameTermReadHourCost',

	// prgmId: "TMP0042" 기간별 비교
	selectCompareSameECCReadMonth:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadMonth', //월별 조회(공정)
	selectCompareSameECCReadMonthCost:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadMonthCost',
	selectCompareSameECCReadWeek:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadWeek', //주별 조회(공정)
	selectCompareSameECCReadWeekCost:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadWeekCost',
	selectCompareSameECCReadDay:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadDay', //일별 조회(공정)
	selectCompareSameECCReadDayCost:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadDayCost',
	selectCompareSameECCReadTime:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadTime', // 시간별 조회(공정)
	selectCompareSameECCReadTimeCost:
		'ems/base/sameECCReadCtr/selectCompareSameECCReadTimeCost',

	selectCompareSameEqpmReadMonth:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadMonth', //월별 조회(설비)
	selectCompareSameEqpmReadMonthCost:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadMonthCost',
	selectCompareSameEqpmReadWeek:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadWeek', //주별 조회(설비)
	selectCompareSameEqpmReadWeekCost:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadWeekCost',
	selectCompareSameEqpmReadDay:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadDay', //일별 조회(설비)
	selectCompareSameEqpmReadDayCost:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadDayCost',
	selectCompareSameEqpmReadTime:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadTime', // 시간별 조회(설비)
	selectCompareSameEqpmReadTimeCost:
		'ems/base/sameECCReadCtr/selectCompareSameEqpmReadTimeCost',

	// prgmId "TMP0035" 검침실적조회
	selectReadResultRet: 'ems/base/ReadResultRetCtr/selectReadResultRet',

	// prgmId "TMP0055" 온실가스 배출 현황
	selectGhgReadData: 'ems/base/GhgReadCtr/selectGhgReadData', // 온실가스 배출 현황 조회

	// prgmId "TMP0048" 원단위 실적
	selectBasicUnitReadYear: 'ems/base/basicUnitReadCtr/selectBasicUnitReadYear',
	selectBasicUnitReadMonth:
		'ems/base/basicUnitReadCtr/selectBasicUnitReadMonth',
	selectBasicUnitReadDay: 'ems/base/basicUnitReadCtr/selectBasicUnitReadDay',
	selectBasicUnitReadTime: 'ems/base/basicUnitReadCtr/selectBasicUnitReadTime',
	selectBasicUnitReadYearCost:
		'ems/base/basicUnitReadCtr/selectBasicUnitReadYearCost',
	selectBasicUnitReadMonthCost:
		'ems/base/basicUnitReadCtr/selectBasicUnitReadMonthCost',
	selectBasicUnitReadDayCost:
		'ems/base/basicUnitReadCtr/selectBasicUnitReadDayCost',
	selectBasicUnitReadTimeCost:
		'ems/base/basicUnitReadCtr/selectBasicUnitReadTimeCost',

	// prgmId: "TMP0049" 원단위 실적 비교
	selectBasicUnitAnalysisMonth:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisMonth',
	selectBasicUnitAnalysisDay:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisDay',
	selectBasicUnitAnalysisTime:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisTime',
	selectBasicUnitAnalysisYear:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisYear',
	selectBasicUnitAnalysisMonthCost:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisMonthCost',
	selectBasicUnitAnalysisDayCost:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisDayCost',
	selectBasicUnitAnalysisTimeCost:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisTimeCost',
	selectBasicUnitAnalysisYearCost:
		'ems/base/basicUnitCompareReadCtr/selectBasicUnitAnalysisYearCost',

	// prgmId: "TMP0033" 온/습도 현황
	selectOutsideWeather: 'ems/base/WeatherPopCtr/selectOutsideWeather',
	selectWeatherReadMonth: 'ems/base/WeatherReadCtr/selectWeatherReadMonth',
	selectWeatherReadYear: 'ems/base/WeatherReadCtr/selectWeatherReadYear',
	selectWeatherReadDay: 'ems/base/WeatherReadCtr/selectWeatherReadDay',
	selectWeatherReadHour: 'ems/base/WeatherReadCtr/selectWeatherReadHour',

	// prgmId: "PRG0009" 측정 대상 관리
	selectReadObjBaseInfo: 'ems/base/ReadObjMngCtr/selectReadObjBaseInfo',
	saveReadObjBaseInfo: 'ems/base/ReadObjMngCtr/saveReadObjBaseInfo',
	selectReadObjAddInfoList: 'ems/base/ReadObjMngCtr/selectReadObjAddInfoList',
	saveReadObjAddInfoList: 'ems/base/ReadObjMngCtr/saveReadObjAddInfoList',

	// prgmId: "PRG0051" TAG 관리
	selectTagBaseInfo: 'ems/base/TagMngCtr/selectTagBaseInfo',
	saveTagBaseInfo: 'ems/base/TagMngCtr/saveTagBaseInfo',
	selectTagAddInfo: 'ems/base/TagMngCtr/selectTagAddInfo',
	saveTagAddInfo: 'ems/base/TagMngCtr/saveTagAddInfo',
	selectTagAddInfoList: 'ems/base/TagMngCtr/selectTagAddInfoList',
	saveTagAddInfoList: 'ems/base/TagMngCtr/saveTagAddInfoList',
	selectTagBaseInfoPage: 'ems/base/TagMngCtr/selectTagBaseInfoPage',
	selectTagBaseInfoPageTotal: 'ems/base/TagMngCtr/selectTagBaseInfoPageTotal',

	// prgmId: "PRG0060" 모니터링 > 에너지 계통
	selectEnrgSystemMonitoringInfo:
		'ems/base/EnrgSystemMonitoringMngCtr/selectEnrgSystemMonitoringInfo',

	// prgmId: "PRG0061" 모니터링 > 에너지 사용량
	selectEnrgUseMonitoringInfo:
		'ems/base/EnrgUseMonitoringMngCtr/selectEnrgUseMonitoringInfo',
	selectEnrgUseInfo: 'ems/base/EnrgUseMonitoringMngCtr/selectEnrgUseInfo',
	selectEnrgEccUseInfo: 'ems/base/EnrgUseMonitoringMngCtr/selectEnrgEccUseInfo',

	// prgmId: "PRG0062" 모니터링 > 공정별 현황
	selectEnrgPlantStatusMonitoringInfo:
		'ems/base/EnrgPlantStatusMonitoringMngCtr/selectEnrgPlantStatusMonitoringInfo',

	// prgmId: "PRG0067" 설정 > 마감관리 > 검침개소 마감 보정
	selectReadPlcUseData:
		'/ems/base/ReadResultRetouchMngCtr/selectReadPlcUseData',
	saveReadPlcUseData: '/ems/base/ReadResultRetouchMngCtr/saveReadPlcUseData',
	deleteReadPlcUseData:
		'/ems/base/ReadResultRetouchMngCtr/deleteReadPlcUseData',

	// prgmId: "PRG0010" 에너지원 관리
	selectErcInfo: 'ems/base/EnrgResourceCenterMngCtr/selectErcInfo',
	saveErcInfo: 'ems/base/EnrgResourceCenterMngCtr/saveErcInfo',
	selectEnrgChrgPrcInfo:
		'ems/base/EnrgResourceCenterMngCtr/selectEnrgChrgPrcInfo',
	saveEnrgChrgPrcInfo: 'ems/base/EnrgResourceCenterMngCtr/saveEnrgChrgPrcInfo',
	selectElecPowChrgInfo:
		'ems/base/EnrgResourceCenterMngCtr/selectElecPowChrgInfo',

	// prgmId: "PRG0011" 측정 대상 관리
	selectReadPlcBaseInfo: 'ems/base/EnrgReadPlaceMngCtr/selectReadPlcBaseInfo',
	saveReadPlcBaseInfo: 'ems/base/EnrgReadPlaceMngCtr/saveReadPlcBaseInfo',
	selectReadPlcAddInfo: 'ems/base/EnrgReadPlaceMngCtr/selectReadPlcAddInfo',
	selectReadPlcAddInfoList:
		'ems/base/EnrgReadPlaceMngCtr/selectReadPlcAddInfoList',
	saveReadPlcAddInfo: 'ems/base/EnrgReadPlaceMngCtr/saveReadPlcAddInfo',
	saveReadPlcAddInfoList: 'ems/base/EnrgReadPlaceMngCtr/saveReadPlcAddInfoList',
	selectReadPlcImgInfo: 'ems/base/EnrgReadPlaceMngCtr/selectReadPlcImgInfo',
	saveReadPlcImgInfo: 'ems/base/EnrgReadPlaceMngCtr/saveReadPlcImgInfo',
	selectReadPlcTagRel: 'ems/base/EnrgReadPlaceMngCtr/selectReadPlcTagRel',
	saveReadPlcTagRel: 'ems/base/EnrgReadPlaceMngCtr/saveReadPlcTagRel',

	// prgmId: "PRG0012" 공정 관리
	selectEccBaseInfo: 'ems/base/EnrgCostCenterMngCtr/selectEccBaseInfo',
	saveEccBaseInfo: 'ems/base/EnrgCostCenterMngCtr/saveEccBaseInfo',
	selectEccAddInfo: 'ems/base/EnrgCostCenterMngCtr/selectEccAddInfo',
	selectEccAddInfoList: 'ems/base/EnrgCostCenterMngCtr/selectEccAddInfoList',
	saveEccAddInfo: 'ems/base/EnrgCostCenterMngCtr/saveEccAddInfo',
	saveEccAddInfoList: 'ems/base/EnrgCostCenterMngCtr/saveEccAddInfoList',
	selectEccIao: 'ems/base/EnrgCostCenterMngCtr/selectEccIao',
	saveEccIao: 'ems/base/EnrgCostCenterMngCtr/saveEccIao',

	// prgmId: "PRG0013" 설비 그룹 관리
	selectEqpmGrp: 'ems/base/EqpmGrpMngCtr/selectEqpmGrp',
	saveEqpmGrp: 'ems/base/EqpmGrpMngCtr/saveEqpmGrp',
	deleteCheckEqpmGrp: 'ems/base/EqpmGrpMngCtr/deleteCheckEqpmGrp', // 설비그룹 하위 설비 존재여부 체크

	// prgmId: "PRG0014" 설비 관리
	selectEqpmBaseInfo: 'ems/base/EqpmMngCtr/selectEqpmBaseInfo',
	saveEqpmBaseInfo: 'ems/base/EqpmMngCtr/saveEqpmBaseInfo',
	selectEqpmAddInfo: 'ems/base/EqpmMngCtr/selectEqpmAddInfo',
	saveEqpmAddInfo: 'ems/base/EqpmMngCtr/saveEqpmAddInfo',
	selectEqpmAddInfoList: 'ems/base/EqpmMngCtr/selectEqpmAddInfoList',
	saveEqpmAddInfoList: 'ems/base/EqpmMngCtr/saveEqpmAddInfoList',
	selectEqpmIao: 'ems/base/EqpmMngCtr/selectEqpmIao',
	saveEqpmIao: 'ems/base/EqpmMngCtr/saveEqpmIao',

	// prgmId: "PRG0059" 추가 정보 관리
	selectAddGrpInfo: 'ems/base/AddInfoMngCtr/selectAddGrpInfo',
	saveAddGrpInfo: 'ems/base/AddInfoMngCtr/saveAddGrpInfo',
	selectAddInfo: 'ems/base/AddInfoMngCtr/selectAddInfo',
	saveAddInfo: 'ems/base/AddInfoMngCtr/saveAddInfo',

	// prgmId: "TMP0043" 계절별 분석
	selectSeasonRead: 'ems/base/seasonReadCtr/selectSeasonRead', // 계절별 데이터 조회
	selectTemperMonth: 'ems/base/seasonReadCtr/selectTemperMonth', // 평균온도 데이터 조회

	// prgmId: "PRG0003" 공지사항
	selectPostList: 'comm/base/NoticeMngCtr/selectPostList',
	deletePostList: 'comm/base/NoticeMngCtr/deletePost',

	//prgmId: "PRG0121" 공지사항 게시물 상세조회
	selectApndFile: 'comm/base/ApndFileCtr/selectApndFile',
	selectPost: 'comm/base/NoticeMngCtr/selectPost',
	deletePost: 'comm/base/NoticeMngCtr/deletePost',
	updatePost: 'comm/base/NoticeMngCtr/updatePost',
	saveFile: 'comm/base/ApndFileCtr/saveFile',
	deleteApndFile: 'comm/base/ApndFileCtr/deleteApndFile',
	insertRplPost: 'comm/base/NoticeMngCtr/insertRplPost',
	insertPost: 'comm/base/NoticeMngCtr/insertPost',

	//prgmId : "TMP0012" 자동검침결과 조회
	selectReadPlc: 'ems/base/EmsCommCtr/selectReadPlc',
	selectAutoRsltMng: 'ems/base/AutoReadRsltMngCtr/selectAutoRsltMng',
	saveAutoRsltMng: 'ems/base/AutoReadRsltMngCtr/saveAutoRsltMng',
	selectTagNmList: 'ems/base/AutoReadRsltMngCtr/selectTagNmList',
	selectBlocMstrCodeList: 'comm/base/CommCtr/selectBlocMstrCodeList', // 사업장 목록

	// prgmId: "TMP0034" 전력품질
	selectElecQualityReadPlcTree: 'ems/base/elecQualityReadCtr/selectReadPlcTree', // 검침개소 목록
	selectOffcTmData: 'ems/base/elecQualityReadCtr/selectOffcTmData', // 선택된 검침개소 데이타 (row, chart)

	// prgmId: "PRG0015" 목표관리
	selectEccTree: 'ems/base/EnrgPlanMngCtr/selectEccTree', // ECC리스트 조회
	selectEccMonthPlanData: 'ems/base/EnrgPlanMngCtr/selectEccMonthPlanData', // ECC 월별 계획 값 조회
	saveEccMonthPlanData: 'ems/base/EnrgPlanMngCtr/saveEccMonthPlanData', // ECC 월별 계획 값 저장
	selectEccDayPlanData: 'ems/base/EnrgPlanMngCtr/selectEccDayPlanData', // ECC 일별 계획 값 조회
	saveEccDayPlanData: 'ems/base/EnrgPlanMngCtr/saveEccDayPlanData', // ECC 일별 계획 값 저장

	// prgmId: "PRG0032" 이벤트관리
	// selectEvtMstr:"ems/base/AlarmMngCtr/selectEvtMstr",
	// saveEvtMstr:"ems/base/AlarmMngCtr/saveEvtMstr",
	// selectEvtAlrmCond:"ems/base/AlarmMngCtr/selectEvtAlrmCond",
	// saveEvtAlrmCond:"ems/base/AlarmMngCtr/saveEvtAlrmCond",
	// selectEvtAlrmInfo:"ems/base/AlarmMngCtr/selectEvtAlrmInfo",
	// saveEvtAlrmInfo:"ems/base/AlarmMngCtr/saveEvtAlrmInfo",
	// prgmId: "PRG0033" 이벤트 이력
	// selectEvtHist: "ems/base/AlarmHistReadCtr/selectEvtHist", // 이벤트 이력 조회
	// saveEvtHist: "ems/base/AlarmHistReadCtr/saveEvtHist", // 이벤트 이력 수정
	// selectEvtAlrmHist: "ems/base/AlarmHistReadCtr/selectEvtAlrmHist", // 알람 이력 조회

	// prgmId : "PRG0031" 목표대비 실적조회
	selectPlanRsltReadYear: 'ems/base/PlanRsltReadCtr/selectPlanRsltReadYear',
	selectPlanRsltReadMonth: 'ems/base/PlanRsltReadCtr/selectPlanRsltReadMonth',
	selectPlanRsltReadDay: 'ems/base/PlanRsltReadCtr/selectPlanRsltReadDay',
	selectPlanRsltReadEcc: 'ems/base/PlanRsltReadCtr/selectPlanRsltReadEcc',

	// prgmId : "PRG0021" 대시보드
	selectUseWithPeak: 'ems/base/DashboardHfemsCtr/selectUseWithPeak', // 요금 적용전력, peak 전력
	selectAccumUsage: 'ems/base/DashboardHfemsCtr/selectAccumUsage', // 누적사용량(전력)
	selectAccumGreengasExhaust:
		'ems/base/DashboardHfemsCtr/selectAccumGreengasExhaust', // 온실가스 누적 배출량
	selectReadplcStatus: 'ems/base/DashboardHfemsCtr/selectReadplcStatus', // 검침개소상태 (통신/사용 현황)
	selectUseCostDay: 'ems/base/DashboardHfemsCtr/selectUseCostDay', // 금일 전기사용량, 비용
	selectUseCostPast: 'ems/base/DashboardHfemsCtr/selectUseCostPast', // 지난주 평일 사용량/비용 평균
	selectOutside: 'ems/base/DashboardHfemsCtr/selectOutside', // 외기온도
	selectEnrgUsageHour: 'ems/base/DashboardHfemsCtr/selectEnrgUsageHour', // 에너지사용현황-금일
	selectEnrgUsageMonth: 'ems/base/DashboardHfemsCtr/selectEnrgUsageMonth', // 에너지사용현황-금월
	selectElecQuality: 'ems/base/DashboardHfemsCtr/selectElecQuality', // 전력품질
	selectMainReadPlcStat: 'ems/base/DashboardHfemsCtr/selectMainReadPlcStat', // 주요 검침현황
	selectLogList: 'ems/base/DashboardHfemsCtr/selectLogList', // 로그
	selectUnusedReadPlc: 'ems/base/DashboardHfemsCtr/selectUnusedReadPlc', // 미사용개소 리스트 팝업
	selectEtcReadPlc: 'ems/base/DashboardHfemsCtr/selectEtcReadPlc', // 통신이상 리스트 팝업
	selectEnergy: 'ems/base/EmsCommCtr/selectEnergy', //에너지리스트

	// prgmId : PRG0016 생산량 입력
	selectReadObjInfo: 'ems/base/ReadObjMngCtr/selectReadObjInfo', // 대상 리스트 조회
	selectEccYearInfo: 'ems/base/ProdQtyMngCtr/selectEccYearInfo', // 년별 공정 생산량 조회
	saveEccYearInfo: 'ems/base/ProdQtyMngCtr/saveEccYearInfo', // 년별 공정 생산량 저장
	selectEccMonthInfo: 'ems/base/ProdQtyMngCtr/selectEccMonthInfo', // 월별 공정 생산량 조회
	saveEccMonthInfo: 'ems/base/ProdQtyMngCtr/saveEccMonthInfo', // 월별 공정 생산량 저장

	// prgmId : PRG0104 전기 안전 점검
	selectElecSafeChk: 'fopm/ElecSafeChkCtr/selectElecSafeChk',
	saveElecSafeChk: 'fopm/ElecSafeChkCtr/saveElecSafeChk',
	saveFileElecSafeChk: 'fopm/ElecSafeChkCtr/saveFileElecSafeChk',

	// prgmId : PRG0105 전기 안전 점검 내역
	selectElecSafeChkDesc: 'fopm/ElecSafeChkDescCtr/selectElecSafeChkDesc',
	selectElecSafeChkDescYear:
		'fopm/ElecSafeChkDescCtr/selectElecSafeChkDescYear',
	selectElecSafeChkDescMonth:
		'fopm/ElecSafeChkDescCtr/selectElecSafeChkDescMonth',

	// prgmId : PRG1101 전력량 예측
	selectElecPowQtyFcst: 'fopm/ElecPowQtyFcstCtr/selectElecPowQtyFcst',

	// prgmId: PRG1102 VOC 질의등록
	selectVocRqstList: 'fopm/VocRqstCtr/selectVocRqstList', // VOC 질의 리스트 조회
	selectComNm: 'fopm/VocRqstCtr/selectComNm',
	saveVocRqst: 'fopm/VocRqstCtr/saveVocRqst',
	saveFileVocRqst: 'fopm/VocRqstCtr/saveFileVocRqst',
	// deleteApndFile: 'fopm/VocRqstCtr/deleteApndFile',
	deleteVocRqstRow: 'fopm/VocRqstCtr/deleteVocRqstRow',

	// prgmId: PRG3102 요금 정보 조회(FEMS)
	selectCustInfoReadList: 'fopm/CustInfoReadCtr/selectCustInfoReadList', // 고객 정보 조회
	selectCustData: 'fopm/ChrgInfoReadCtr/selectCustData', // 요금 정보 조회
	selectCustSumData: 'fopm/ChrgInfoReadCtr/selectCustSumData', // 요금 합계 정보 조회

	// prgmId: PRG3103 일단위 전력 소비(FEMS)
	selectDalyElecPowCnsmYear:
		'fopm/DalyElecPowCnsmCtr/selectDalyElecPowCnsmYear',
	selectDalyElecPowCnsmMonth:
		'fopm/DalyElecPowCnsmCtr/selectDalyElecPowCnsmMonth',
	selectDalyElecPowCnsmDay: 'fopm/DalyElecPowCnsmCtr/selectDalyElecPowCnsmDay',

	// prgmId: PRG3105 누적부하량조회
	selectTotLoadReadData: 'fopm/TotLoadReadCtr/selectTotLoadReadData',

	//prgmId: PRG3106 CBL
	selectCbl: 'fopm/CblCtr/selectCbl',

	// prgmId : PRG3109 부하별 전력사용 비교
	selectLoadElecPowCmpr: 'ems/base/LoadElecPowCmprCtr/selectLoadElecPowCmpr',

	// prgmId : PRG3110 생산 에너지 상관도(부하관리도도 함께 사용)
	selectProdEnrgRelGrapDay:
		'ems/base/ProdEnrgRelGrapCtr/selectProdEnrgRelGrapDay',
	selectProdEnrgRelGrapMonth:
		'ems/base/ProdEnrgRelGrapCtr/selectProdEnrgRelGrapMonth',

	// prgmId : PRG0053
	selectOnInDataReadPop: 'ems/base/OnInDataReadPopCtr/selectOnInDataReadPop', // OnInDataRead 팝업 데이터 조회

	// prgmId : PRG0025 최대수요전력 조회
	selectPeakPowAndChargedPower:
		'ems/base/PeakReadCtr/selectPeakPowAndChargedPower',
	selectTemperatureAndHumidityHour:
		'ems/base/PeakReadCtr/selectTemperatureAndHumidityHour',
	selectTemperatureAndHumidityDay:
		'ems/base/PeakReadCtr/selectTemperatureAndHumidityDay',
	selectTemperatureAndHumidityMonth:
		'ems/base/PeakReadCtr/selectTemperatureAndHumidityMonth',
	selectTemperatureAndHumidityYear:
		'ems/base/PeakReadCtr/selectTemperatureAndHumidityYear',
	selectPeakKine: 'ems/base/PeakReadCtr/selectPeakKine',
	selectEnergyUseReadDayTop: 'ems/base/PeakReadCtr/selectEnergyUseReadDayTop',
	selectEnergyUseReadMonthTop:
		'ems/base/PeakReadCtr/selectEnergyUseReadMonthTop',
	selectEnergyUseReadYearTop: 'ems/base/PeakReadCtr/selectEnergyUseReadYearTop',

	// prgmId : PRG0055 고지서 등록
	selectEnrgChrgInfo: 'ems/base/ErcChrgInfoMngCtr/selectEnrgChrgInfo',
	saveEnrgChrgInfo: 'ems/base/ErcChrgInfoMngCtr/saveEnrgChrgInfo',
	selectErcInfoWithUnitCd: 'ems/base/ErcChrgInfoMngCtr/selectErcInfo',

	// prgmId : PRG0054 기준정보 매핑 조회
	selectStndInfoReadTag: 'ems/base/StndInfoReadCtr/selectStndInfoReadTag',
	selectStndInfoReadReadPlc:
		'ems/base/StndInfoReadCtr/selectStndInfoReadReadPlc',
	selectStndInfoReadEcc: 'ems/base/StndInfoReadCtr/selectStndInfoReadEcc',
	selectStndInfoReadEqpm: 'ems/base/StndInfoReadCtr/selectStndInfoReadEqpm',

	// prgmId : PRG0052 과거 검침 데이터 조회
	selectTagRawDataByQuarter:
		'ems/base/PastRsltDataReadCtr/selectTagRawDataByQuarter',

	// prgmId : PRG4107 개인화 대시보드
	selectIndvWidgetList: 'ems/base/DashboardHfemsCtr/selectIndvWidgetList',
	selectEnergyUseReadHourAddup:
		'ems/base/DashboardHfemsCtr/selectEnergyUseReadHourAddup',
	selectEnergyUseReadHourCostAddup:
		'ems/base/DashboardHfemsCtr/selectEnergyUseReadHourCostAddup',
	selectEnergyUseReadLastWeekAddup:
		'ems/base/DashboardHfemsCtr/selectEnergyUseReadLastWeekAddup',
	selectPeakTrnd: 'ems/base/PeakReadCtr/selectPeakTrnd',

	//prgmId : PRG4109 대시보드 위젯 관리
	selectWidget: 'comm/base/WidgetMngCtr/selectWidget',
	saveWidget: 'comm/base/WidgetMngCtr/saveWidget',
	selectWidgetPrgmUrl: 'comm/base/WidgetMngCtr/selectWidgetPrgmUrl',
	selectMyWidget: 'comm/base/WidgetMngCtr/selectMyWidget',
	selectNotMyWidget: 'comm/base/WidgetMngCtr/selectNotMyWidget',
	saveMyWidget: 'comm/base/WidgetMngCtr/saveMyWidget',

	selectFileToBase64: 'comm/base/WidgetMngCtr/selectFileToBase64',

	selectWidgetElecQuality: 'ems/base/DashboardHfemsCtr/selectWidgetElecQuality',

	//prgmId : PRG0032 이벤트 정보 관리
	selectEvtInfo: 'ems/base/EvtInfoMngCtr/selectEvtInfo',
	saveEvtInfo: 'ems/base/EvtInfoMngCtr/saveEvtInfo',

	//prgmId : PRG0033 이벤트 이력 관리
	selectEvtHist: 'ems/base/EvtHistMngCtr/selectEvtHist',
	saveEvtHist: 'ems/base/EvtHistMngCtr/saveEvtHist',
	selectEvtHistDetl: 'ems/base/EvtHistMngCtr/selectEvtHistDetl',

	selectWeekWorkCald: 'comm/base/CalendarMngCtr/selectWeekWorkCald',
	selectWeekWorkCaldDetl: 'comm/base/CalendarMngCtr/selectWeekWorkCaldDetl',

	//prgmId : PRG0065 메시지 발행 이력
	selectEvtIssuHist: 'ems/base/MsgIssuHistReadCtr/selectEvtIssuHist',

	//prgmId : PRG0065 메시지 구독 이력
	selectEvtSubsHist: 'ems/base/MsgSubsHistReadCtr/selectEvtSubsHist',

	//prgmId : PRG0063 알람 정보 관리
	selectAlarmInfo: 'ems/base/AlarmInfoMngCtr/selectAlarmInfo',
	saveAlarmInfo: 'ems/base/AlarmInfoMngCtr/saveAlarmInfo',

	//prgmId: "PRG4101" 프로그램
	selectSnarPrgm: 'ems/drp/DrSnarCtr/selectSnarPrgm', // 시나리오 리스트
	saveSnarPrgm: 'ems/drp/DrSnarCtr/saveSnarPrgm', // 시나리오 프로그램 저장
	saveSnarExecPop: 'ems/drp/DrSnarCtr/saveSnarExecPop', // 시나리오 시뮬레이션 저장
	selectErcInfoList: 'ems/drp/DrSnarCtr/selectSnarEnergy', // 시나리오 에너지 목록

	//prgmId: "PRG4102" 프로그램
	selectSimulList: 'ems/drp/DrSnarCtr/selectSimulList', // 시뮬레이션 목록 조회
	selectSimulRsltList: 'ems/drp/DrSnarCtr/selectSimulRsltList', // 시뮬레이션 결과 조회

	//prgmId: "PRG4108" 프로그램
	selectSimulCmprList: 'ems/drp/DrSnarCtr/selectSimulCmprList', // 시뮬레이션 비교 조회
	selectSimulSlctList: 'ems/drp/DrSnarCtr/selectSimulSlctList', // 시나리오 결과 비교 리스트 조회

	//prgmId : PRG0064 알람 이력
	selectAlrmHist: 'ems/base/AlarmHistReadCtr/selectAlrmHist',
	selectAlrmHistDetl: 'ems/base/AlarmHistReadCtr/selectAlrmHistDetl',

	selectComparePswd: 'comm/auth/UserRoleMngCtr/selectComparePswd',
	updatePswd: 'comm/auth/UserRoleMngCtr/updatePswd',

	saveBookmark: 'comm/base/MenuMngCtr/saveBookmark',
	deleteBookmark: 'comm/base/MenuMngCtr/deleteBookmark',
	selectMyMenu: 'comm/base/MenuMngCtr/selectMyMenu',

	//prgmId : PRG5004 생산1팀 대시보드
	selectEccUseReadMonth:
		'ems/dsbio/Prod1TeamDashBoardCtr/selectEccUseReadMonth',
	selectEccUseReadDay: 'ems/dsbio/Prod1TeamDashBoardCtr/selectEccUseReadDay',

	//prgmId : PRG5007 보전팀 대시보드
	selectCovrEccDailyEnrgUseRead:
		'ems/dsbio/CovrTeamDashboardCtr/selectEccDailyEnrgUseRead',
	selectCovrEccMonthlyEnrgUseRead:
		'ems/dsbio/CovrTeamDashboardCtr/selectEccMonthlyEnrgUseRead',
	selectCovrEccDailyEnrgCostRead:
		'ems/dsbio/CovrTeamDashboardCtr/selectEccDailyEnrgCostRead',
	selectCovrEccMonthlyEnrgCostRead:
		'ems/dsbio/CovrTeamDashboardCtr/selectEccMonthlyEnrgCostRead',
	selectDailyElecUsageProportion:
		'ems/dsbio/CovrTeamDashboardCtr/selectDailyElecUsageProportion',
	selectMonthlyElecUsageProportion:
		'ems/dsbio/CovrTeamDashboardCtr/selectMonthlyElecUsageProportion',

	//prgmId : PRG5009 SHE팀 대시보드
	selectEccDailyWaterUseRead:
		'ems/dsbio/SheTeamDashboardCtr/selectEccDailyWaterUseRead',
	selectEccMonthlyWaterUseRead:
		'ems/dsbio/SheTeamDashboardCtr/selectEccMonthlyWaterUseRead',
	selectTeamDailyWaterUseRead:
		'ems/dsbio/SheTeamDashboardCtr/selectTeamDailyWaterUseRead',
	selectTeamMonthlyWaterUseRead:
		'ems/dsbio/SheTeamDashboardCtr/selectTeamMonthlyWaterUseRead',

	//prgmId : PRG4124 공압기 운전현황
	selectTagReadRawLast: '/ems/dsbio/AircpWrkcMntrCtr/selectTagReadRawLast',

	//prgmId : PRG4125 냉동기 효율
	selectFrezStatusInfo:
		'ems/dsbio/FrezEfficiencyStatusCtr/selectFrezStatusInfo',
	selectFrezElecEfficiencyData:
		'ems/dsbio/FrezEfficiencyStatusCtr/selectFrezElecEfficiencyData',
	selectFrezHeatData: 'ems/dsbio/FrezEfficiencyStatusCtr/selectFrezHeatData',
	selectFrezDateData: 'ems/dsbio/FrezEfficiencyStatusCtr/selectFrezDateData',

	//prgmId : PRG4118 공압기 모니터링
	selectAircpMntr: 'ems/dsbio/AricpMntrCtr/selectAircpMntr',

	//prgmId : PRG4121 연간 목표관리
	selectYearlyGoal: 'ems/dsbio/YearGoalMngCtr/selectYearlyGoal',
	saveYearlyGoal: 'ems/dsbio/YearGoalMngCtr/saveYearlyGoal',

	//prgmId : PRG4123 온실가스/에너지 목표
	selectTeamList: '/ems/dsbio/GhgEnrgGoalMngCtr/selectTeamList',
	selectGhgWaterData: '/ems/dsbio/GhgEnrgGoalMngCtr/selectGhgWaterData',
	selectGoalMngGhgEnrg: '/ems/dsbio/GhgEnrgGoalMngCtr/selectGoalMngGhgEnrg',
	saveGoalMngGhgEnrg: '/ems/dsbio/GhgEnrgGoalMngCtr/saveGoalMngGhgEnrg',

	//prgmId : PRG4117 다소비 설비 모니터링
	selectDailyEqpmUseRead: '/ems/dsbio/EqpmMntrCtr/selectDailyEqpmUseRead',

	//prgmId : PRG5201 실시간 원단위 이력조회
	selectOnlnBaseEcc: '/ems/base/OnlnBaseEccCtr/selectOnlnBaseEcc',
	selectOnlnBaseUnitInfo: '/ems/base/OnlnBaseEccCtr/selectOnlnBaseUnitInfo',

	//prgmId : PRG0068 실시간 원단위 기준관리
	selectOnlnBasicUnitMng: 'ems/base/OnlnBasicUnitMngCtr/selectOnlnBasicUnitMng',
	selectOnlnBasicUnitTagInfoMng:
		'ems/base/OnlnBasicUnitMngCtr/selectOnlnBasicUnitTagInfoMng',
	saveOnlnBasicUnitMng: 'ems/base/OnlnBasicUnitMngCtr/saveOnlnBasicUnitMng',
	saveOnlnBasicUnitTagInfoMng:
		'ems/base/OnlnBasicUnitMngCtr/saveOnlnBasicUnitTagInfoMng',

	//prgmId : PRG5107 실시간/원단위
	selectFtnPlcListTreeOnlnBasicUnitRead:
		'ems/base/OnlnBasicUnitReadCtr/selectFtnPlcListTreeOnlnBasicUnitRead',
	selectOnlnBasicUnitRead:
		'ems/base/OnlnBasicUnitReadCtr/selectOnlnBasicUnitRead',
	selectFixedValueModiPop:
		'ems/base/OnlnBasicUnitReadCtr/selectFixedValueModiPop',
	savefixedValModiPopDatas:
		'ems/base/OnlnBasicUnitReadCtr/savefixedValModiPopDatas',

	//prgmId : PRG4113 누기분석
	selectAirLossAnalysis: 'ems/bala/AirLossAnalysisCtr/selectAirLossAnalysis',

	//prgmId : PRG4115 에너지발란스 추이분석
	selectDailyEnrgBalTmdAnalysis:
		'ems/bala/EnrgBalTmdAnalysisCtr/selectDailyEnrgBalTmdAnalysis',
	selectMonthlyEnrgBalTmdAnalysis:
		'ems/bala/EnrgBalTmdAnalysisCtr/selectMonthlyEnrgBalTmdAnalysis',

	//prgmId : PRG4111 계통손실 조회
	selectEnrgLoss: 'ems/bala/EnrgLossReadCtr/selectEnrgLoss',
	selectLossByTime: 'ems/bala/EnrgLossReadCtr/selectLossByTime',
	selectInstant: 'ems/bala/EnrgLossReadCtr/selectInstant',

	//prgmId : PRG 4114 에너지발란스 분석
	selectEnrgBalDayTotal: 'ems/bala/EnrgBalAnalysisCtr/selectEnrgBalDayTotal',
	selectEnrgBalUseTransitionMonth:
		'ems/bala/EnrgBalAnalysisCtr/selectEnrgBalUseTransitionMonth',
	selectEnrgBalUseTransitionDay:
		'ems/bala/EnrgBalAnalysisCtr/selectEnrgBalUseTransitionDay',
	selectEnrgBalDayAvg: 'ems/bala/EnrgBalAnalysisCtr/selectEnrgBalDayAvg',
	selectEnrgBalMonthTotal:
		'ems/bala/EnrgBalAnalysisCtr/selectEnrgBalMonthTotal',
	selectEnrgBalMonthAvg: 'ems/bala/EnrgBalAnalysisCtr/selectEnrgBalMonthAvg',

	//prgmId : PRG4112 계통손실 분석
	selectReadPlcDataForEnrgLossAnalysis:
		'ems/bala/EnrgLossAnalysisCtr/selectReadPlcDataForEnrgLossAnalysis',
	selectEnrgLossAnalysisDatas:
		'ems/bala/EnrgLossAnalysisCtr/selectEnrgLossAnalysisDatas',

	//공통팝업 - 팝업
	selectEqpmCalcPop: 'ems/base/EqpmCalcPopCtr/selectEqpmCalcPop',
	selectEgrpPysclQtyPop: 'ems/base/EgrpPysclQtyPopCtr/selectEgrpPysclQtyPop',
	selectEqpmBaseInfoPop: 'ems/base/EqpmBaseInfoPopCtr/selectEqpmBaseInfoPop',

	//prgmId : PRG0075 설비그룹물리량관리
	selectEmsEqpmKindList: 'ems/base/eqpmGrpPysclQtyMngCtr/selectEmsEqpmKindList',
	selectEmsEqpmGrpList: 'ems/base/eqpmGrpPysclQtyMngCtr/selectEmsEqpmGrpList',
	selectEmsEgrpPysclQtyDefList:
		'ems/base/eqpmGrpPysclQtyMngCtr/selectEmsEgrpPysclQtyDefList',
	selectEmsEgrpPysclArgList:
		'ems/base/eqpmGrpPysclQtyMngCtr/selectEmsEgrpPysclArgList',
	selectEmsEqpmCalcProcList:
		'ems/base/eqpmGrpPysclQtyMngCtr/selectEmsEqpmCalcProcList',
	saveEmsEgrpPysclQtyDef:
		'ems/base/eqpmGrpPysclQtyMngCtr/saveEmsEgrpPysclQtyDef',
	saveEmsEgrpPysclArg: 'ems/base/eqpmGrpPysclQtyMngCtr/saveEmsEgrpPysclArg',

	//prgmId : PRG0078 효율지표 관리
	selectEqpmEffcIdx: 'ems/base/EffcIdxMngCtr/selectEqpmEffcIdx',
	saveEffcIdx: 'ems/base/EffcIdxMngCtr/saveEffcIdx',
	selectGdiList: 'ems/base/EffcIdxMngCtr/selectGdiList',
	selectPysclList: 'ems/base/EffcIdxMngCtr/selectPysclList',
	saveArgList: 'ems/base/EffcIdxMngCtr/saveArgList',

	//prmgId : PRG0077 설비가이드기준관리
	selectEqpmKindCodeList: 'ems/base/GdStndMngCtr/selectEqpmKindCodeList',
	selectEqpmGrpCodeList: 'ems/base/GdStndMngCtr/selectEqpmGrpCodeList',
	selectEqpmGdIdxCodeList: 'ems/base/GdStndMngCtr/selectEqpmGdIdxCodeList',
	selectEqpmGdIdxData: 'ems/base/GdStndMngCtr/selectEqpmGdIdxData',
	selectEqpmGdDetl: 'ems/base/GdStndMngCtr/selectEqpmGdDetl',
	saveEqpmGdDetl: 'ems/base/GdStndMngCtr/saveEqpmGdDetl',

	//prmgId : PRG0076 설비가이드지표관리
	selectEqpmGdIdxDataList: 'ems/base/GdIdxMngCtr/selectEqpmGdIdxDataList',
	saveGdIdxMngInfo: 'ems/base/GdIdxMngCtr/saveGdIdxMngInfo',

	//가이드지표선택 팝업
	selectGdIdxPop: 'ems/base/GdIdxPopCtr/selectGdIdxPop',

	//설비종류
	selectEqpmKind: 'ems/base/EqpmKindCtr/selectEqpmKind',
	saveEqpmKind: 'ems/base/EqpmKindCtr/saveEqpmKind',

	//에너지 효율안전 - Total Summary
	selectEnrgEffcTotSumm: 'ems/effc/EnrgEffcTotSummCtr/selectEnrgEffcTotSumm',

	//prgmId: PRG0079 에너지사용량계획
	selectFabCodeList: 'ems/effc/EnrgUsePlanCtr/selectFabCodeList',
	selectEnrgUsePlanData: 'ems/effc/EnrgUsePlanCtr/selectEnrgUsePlanData',
	saveEmsEqpmMmPlanDatas: 'ems/effc/EnrgUsePlanCtr/saveEmsEqpmMmPlanDatas',

	//prgmId : PRG0080 에너지 사용량 - Total Summary
	selectEnrgUseTotSumm: 'ems/effc/enrgUseTotSummCtr/selectEnrgUseTotSumm',

	//prgmId : PRG0081 에너지 사용량 - 설비별 모니터링
	selectEnrgUseMainIdxDesc: 'ems/effc/eqpmIndMntrCtr/selectEnrgUseMainIdxDesc',
	selectDailyEnrgUseMainIdx:
		'ems/effc/eqpmIndMntrCtr/selectDailyEnrgUseMainIdx',
	selectMonthlyEnrgUseMainIdx:
		'ems/effc/eqpmIndMntrCtr/selectMonthlyEnrgUseMainIdx',

	//prgmId : PRG0082 에너지 사용량 - 설비상세 모니터링
	selectDailyEnrgUseMainGuideIdx:
		'ems/effc/enrgUseEqpmDetlMntrCtr/selectDailyEnrgUseMainGuideIdx',
	selectMonthlyEnrgUseMainGuideIdx:
		'ems/effc/enrgUseEqpmDetlMntrCtr/selectMonthlyEnrgUseMainGuideIdx',
	selectEnrgUseGuideAlarmInfo:
		'ems/effc/enrgUseEqpmDetlMntrCtr/selectEnrgUseGuideAlarmInfo',
	selectEnrgUseEqpmDescInfo:
		'ems/effc/enrgUseEqpmDetlMntrCtr/selectEnrgUseEqpmDescInfo',
	selectEnrgUseHourlyTrendInfo:
		'ems/effc/enrgUseEqpmDetlMntrCtr/selectEnrgUseHourlyTrendInfo',
	selectFabEqpmList: 'ems/effc/enrgUseEqpmDetlMntrCtr/selectFabEqpmList',

	//prgmId : PRG0088 Data Set 관리
	selectDataSetInfo: 'ems/effc/MdlDataSetCtr/selectDataSetInfo',
	selectMdlDataSetTagRelInfo:
		'ems/effc/MdlDataSetCtr/selectMdlDataSetTagRelInfo',
	saveMdlDataSetInfo: 'ems/effc/MdlDataSetCtr/saveMdlDataSetInfo',
	saveMdlDataSetTagRel: 'ems/effc/MdlDataSetCtr/saveMdlDataSetTagRel',
	selectJamoviOpen: '/ems/effc/MdlDataSetCtr/selectJamoviOpen',

	//prgmId : PRG0084 설비별 운전가이드
	selectEqpmCodeList: 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEqpmCodeList',
	selectEnrgEffcEqpmDetlMntr:'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEnrgEffcEqpmDetlMntr',
	selectEqpmDetailPop: 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEqpmDetailPop',
	selectEnrgEffcGdIdxDetPop : 'ems/effc/EnrgEffcEqpmDetlMntrCtr/selectEnrgEffcGdIdxDetPop',

	//prgmId : PRG0085 에너지보고서
	selectEffcIdxCodeList: 'ems/effc/EnrgReptMngCtr/selectEffcIdxCodeList',
	selectEffcIdxEgrpTrend: 'ems/effc/EnrgReptMngCtr/selectEffcIdxEgrpTrend',
	selectEffcIdxEqpmTrend: 'ems/effc/EnrgReptMngCtr/selectEffcIdxEqpmTrend',
	selectEqpmPop: 'ems/effc/EnrgReptMngCtr/selectEqpmPop',

	//prgmId : PRG0086 에너지맵
	selectEnrgMapChartList: 'ems/effc/EnrgMapCtr/selectEnrgMapChartList',
	selectChartNode: 'ems/effc/EnrgMapCtr/selectChartNode',
	selectSankeyTag: 'ems/effc/EnrgMapCtr/selectSankeyTag',
	selectEnrgMapInfo: 'ems/effc/EnrgMapCtr/selectEnrgMapInfo',

	//prgmId : PRG0087 TAG Trend
	selectTagAndEqpmList: 'ems/effc/TagTrndCtr/selectTagAndEqpmList',
	selectTagTrndData: 'ems/effc/TagTrndCtr/selectTagTrndData',

	//prgmId : PRG0001 대시보드
	selectEnrgAndCO2Data: 'ems/base/DashboardCtr/selectEnrgAndCO2Data',
	selectCompareEqpmTotData: 'ems/base/DashboardCtr/selectCompareEqpmTotData',
	selectTodayEfficiencyStatus:
		'ems/base/DashboardCtr/selectTodayEfficiencyStatus',
	selectTodayNgTopTen: 'ems/base/DashboardCtr/selectTodayNgTopTen',
	selectCompareEqpmTGdChart: 'ems/base/DashboardCtr/selectCompareEqpmTGdChart',
	selectIssueGdIdxData: 'ems/base/DashboardCtr/selectIssueGdIdxData',
};
