273 lines
8.3 KiB
TypeScript
273 lines
8.3 KiB
TypeScript
import type { ApiResponse } from "./statistics-interface";
|
|
|
|
/**
|
|
* 02. 하수관로 tab1.지역별 시설현황 아이템 인터페이스 (Tab1)
|
|
*/
|
|
export interface SewagePipeReviewrRegionalItem {
|
|
ctpvNm: string; // 시도명
|
|
sggNm: string; // 시군구명
|
|
admdstNm: string; // 행정구역명
|
|
admdstCd: string; // 행정구역코드
|
|
statsYr: string; // 통계 연도
|
|
displayYear: string; // 화면 표시용 연도
|
|
rowType: 'OLD' | 'CURR'; // 데이터 구분
|
|
|
|
/* --- 하수정비 기본계획 및 총계 --- */
|
|
goalYr: string; // 하수정비 기본계획 목표연도
|
|
wholPplMtncPlanPrlg: number; // 총관로정비계획연장
|
|
wholPlanPrlg: number; // 전체계획연장
|
|
wholFcltPrlg: number; // 전체시설연장
|
|
swagePplPsplyRt: number; // 하수관로보급비율
|
|
|
|
/* --- 합류식 (Combined) --- */
|
|
cbsysPplMtncPlanArea: number; // 합류식관로정비계획면적
|
|
cbsysPplMtncPlanPrlg: number; // 합류식관로정비계획연장
|
|
cbsysPlanPrlg: number; // 합류식계획연장
|
|
cbsysFcltPrlg: number; // 합류식시설연장
|
|
cbsysShpPrlg: number; // 합류식사각연장
|
|
cbsysElpsdPrlg: number; // 합류식원형연장
|
|
cbsysOpnPrlg: number; // 합류식개방연장
|
|
cbsysLaditPrlg: number; // 합류식측구연장
|
|
|
|
/* --- 분류식 - 오수관로 (Foul Water) --- */
|
|
drtwPplMtncPlanArea: number; // 오수관로정비계획면적
|
|
drtwPplMtncPlanPrlg: number; // 오수관로정비계획연장
|
|
drtwPplPlanPrlg: number; // 오수관로계획연장
|
|
drtwPplFcltPrlg: number; // 오수관로시설연장
|
|
drtwPplShpPrlg: number; // 오수관로사각연장
|
|
drtwPplElpsdPrlg: number; // 오수관로원형연장
|
|
|
|
/* --- 분류식 - 우수관로 (Rain Water) --- */
|
|
exlnPplMtncPlanArea: number; // 우수관로정비계획면적
|
|
exlnPplMtncPlanPrlg: number; // 우수관로정비계획연장
|
|
exlnPplPlanPrlg: number; // 우수관로계획연장
|
|
exlnPplFcltPrlg: number; // 우수관로시설연장
|
|
exlnPplShpPrlg: number; // 우수관로사각연장
|
|
exlnPplElpsdPrlg: number; // 우수관로원형연장
|
|
exlnPplOpnPrlg: number; // 우수관로개방연장
|
|
exlnPplLaditPrlg: number; // 우수관로측구연장
|
|
|
|
/* --- 부속시설 --- */
|
|
cbsysMnhlCnt: number; // 합류식맨홀수
|
|
sprsysDrtwMnhlCnt: number; // 분류식오수맨홀수
|
|
sprsysExlnMnhlCnt: number; // 분류식우수맨홀수
|
|
drtwDrgCnt: number; // 오수받이수
|
|
exlnDrgCnt: number; // 우수받이수
|
|
stofcbrCnt: number | null; // 우수토실수
|
|
exlnOtflCnt: number; // 우수토구수
|
|
|
|
/* --- 대장 및 기타 --- */
|
|
sewerLdgrEdpPrlg: number; // 하수도대장전산화연장
|
|
sewerLdgrEdpRt: number; // 하수도대장전산화비율
|
|
rmrk: string | null; // 비고
|
|
}
|
|
|
|
export interface SewagePipeReviewResponseData {
|
|
regionalStatusList: SewagePipeReviewrRegionalItem[];
|
|
statsStatusInfo: StatsStatusInfo;
|
|
}
|
|
|
|
export interface SewagePipeReviewRequestParams {
|
|
ctpvNm?: string;
|
|
sggNm?: string;
|
|
statsYr?: string;
|
|
sewerBzmnCd?: string;
|
|
}
|
|
|
|
export type SewagePipeReviewRegionalApiResponse = ApiResponse<SewagePipeReviewResponseData> & {
|
|
message: string;
|
|
};
|
|
|
|
export interface SewagePipeReviewService {
|
|
getSewagePipeReviewRegionalList(params: SewagePipeReviewRequestParams): Promise<SewagePipeReviewRegionalApiResponse>;
|
|
}
|
|
|
|
/**
|
|
* 02. 하수관로 시설별 설치현황 데이터 항목 (Tab 2)
|
|
*/
|
|
export interface SewagePipeReviewFacilityItem {
|
|
// 1. 행정구역 및 기본 정보
|
|
ctpvNm: string;
|
|
sggNm: string;
|
|
admdstCd: string;
|
|
admdstNm: string;
|
|
statsYr: string;
|
|
rowType: 'OLD' | 'CURR';
|
|
displayYear: string;
|
|
|
|
// 2. 시설 정보
|
|
swtrmtFcltNm: string;
|
|
prcsFcltCpct: number;
|
|
|
|
// 3. 처리구역 면적(㎢)
|
|
prcsZoneArea: number;
|
|
cbsysTrtznArea: number;
|
|
sprsysTrtznArea: number;
|
|
|
|
sprsysVartnRt: number; //분류식
|
|
|
|
// 4. 계획처리구역 면적(㎢)
|
|
planTrtznArea: number;
|
|
cbsysPlanTrtznArea: number;
|
|
sprsysPlanTrtznArea: number;
|
|
|
|
// 5. 배수설비(개소)
|
|
wholDrgCnt: number;
|
|
cbsysDrgCnt: number;
|
|
sprsysDrgCnt: number;
|
|
sprsysDrgLnkgCnt: number;
|
|
sprsysDrgNoinsLnkgCnt: number;
|
|
|
|
// 6. 하수관로 (m)
|
|
wholFcltPrlg: number;
|
|
wholIcptgAtlfcPrlg: number;
|
|
icptgPrlg: number;
|
|
atlfcsPrlg: number;
|
|
|
|
// 7. 우수토실/토구 (개소)
|
|
cbsysStofcbrCnt: number;
|
|
sprsysStofcbrCnt: number;
|
|
sprsysExlnOtflCnt: number;
|
|
|
|
// 8. 지선 (m)
|
|
wholPplPrlg: number;
|
|
cbsysPplPrlg: number;
|
|
exlnPplPrlg: number;
|
|
drtwPplPrlg: number;
|
|
|
|
rmrk: string | null;
|
|
}
|
|
|
|
|
|
export interface SewagePipeFacilityResponseData {
|
|
facilityStatusList: SewagePipeReviewFacilityItem[];
|
|
statsStatusInfo: StatsStatusInfo;
|
|
}
|
|
|
|
export type SewagePipeFacilityApiResponse = ApiResponse<SewagePipeFacilityResponseData> & {
|
|
message: string;
|
|
};
|
|
|
|
|
|
export interface SewagePipeFacilityService {
|
|
getSewagePipeFacilityList(params: SewagePipeReviewRequestParams): Promise<SewagePipeFacilityApiResponse>;
|
|
}
|
|
|
|
/**
|
|
* 02. 하수관로 관종별 시설현황 (Tab 3)
|
|
*
|
|
*/
|
|
export interface SewerPipeTypeItem {
|
|
ctpvNm: string;
|
|
sggNm: string;
|
|
admdstCd: string;
|
|
admdstNm: string;
|
|
swrgPipeNm: string;
|
|
statsYr: string;
|
|
displayYear: string;
|
|
rowType: 'OLD' | 'CURR';
|
|
rmrk: string | null;
|
|
|
|
// 총합 필드
|
|
pipeByPrstWhol: number;
|
|
lyngPrlg: number;
|
|
dmltnPrlg: number;
|
|
|
|
[key: string]: string | number | null | undefined;
|
|
}
|
|
|
|
|
|
export interface SewerPipeTypeResponseData {
|
|
pipeTypeList: SewerPipeTypeItem[];
|
|
statsStatusInfo: StatsStatusInfo;
|
|
}
|
|
|
|
export type SewerPipeTypeApiResponse = ApiResponse<SewerPipeTypeResponseData>;
|
|
|
|
export interface SewagePipeTypeService {
|
|
|
|
getSewagePipeTypeList(params: SewagePipeReviewRequestParams): Promise<SewerPipeTypeApiResponse>;
|
|
}
|
|
|
|
/**
|
|
* 02. 하수관로 관경별 시설현황 아이템 (Tab 4)
|
|
*/
|
|
export interface SewerPipeDiamItem {
|
|
ctpvNm: string;
|
|
sggNm: string;
|
|
admdstNm: string;
|
|
admdstCd: string;
|
|
statsYr: string;
|
|
rowType: 'OLD' | 'CURR';
|
|
displayYear: string;
|
|
swrgPipeNm: string;
|
|
|
|
pdmtSeWholPrlg: number;
|
|
frlvlPdmtPrlg: number;
|
|
sclvlPdmtPrlg: number;
|
|
thlvlPdmtPrlg: number;
|
|
folvlPdmtPrlg: number;
|
|
filvlPdmtPrlg: number;
|
|
shpPdmtPrlg: number;
|
|
etcPdmtPrlg: number;
|
|
|
|
rmrk: string | null;
|
|
}
|
|
|
|
|
|
export interface SewerPipeDiamResponseData {
|
|
pipeDiamList: SewerPipeDiamItem[];
|
|
statsStatusInfo: StatsStatusInfo;
|
|
}
|
|
|
|
export type SewerPipeDiamApiResponse = ApiResponse<SewerPipeDiamResponseData>;
|
|
|
|
|
|
export interface SewagePipeDiamService {
|
|
getSewagePipeDiamList(params: SewagePipeReviewRequestParams): Promise<SewerPipeDiamApiResponse>;
|
|
}
|
|
|
|
/**
|
|
* 02. 하수관로 맨홀 현황 아이템 (Tab 5)
|
|
*/
|
|
export interface SewagePipeReviewManholeItem {
|
|
ctpvNm: string;
|
|
sggNm: string;
|
|
admdstNm: string;
|
|
admdstCd: string;
|
|
statsYr: string;
|
|
displayYear: string;
|
|
rowType: 'OLD' | 'CURR';
|
|
emphsMngSeCd: string;
|
|
emphsMngSeNm?: string | null;
|
|
wholMnhlCnt: number;
|
|
frlvlMnhlCnt: number;
|
|
sclvlMnhlCnt: number;
|
|
thlvlMnhlCnt: number;
|
|
folvlMnhlCnt: number;
|
|
filvlMnhlCnt: number;
|
|
rmrk: string | null;
|
|
wholMnhlCntSum: number;
|
|
frlvlMnhlCntSum: number;
|
|
thlvlMnhlCntSum: number;
|
|
picNm: string | null;
|
|
}
|
|
|
|
export interface SewagePipeManholeResponseData {
|
|
manholeList: SewagePipeReviewManholeItem[];
|
|
statsStatusInfo: StatsStatusInfo;
|
|
}
|
|
|
|
export type SewagePipeManholeApiResponse = ApiResponse<SewagePipeManholeResponseData>;
|
|
|
|
export interface SewagePipeManholeService {
|
|
getSewagePipeManholeList(params: SewagePipeReviewRequestParams): Promise<SewagePipeManholeApiResponse>;
|
|
}
|
|
|
|
export interface StatsStatusInfo {
|
|
statsCd?: string;
|
|
lclgvSbmsnSttsCd?: string;
|
|
mctpvPicSbmsnSttsCd?: string;
|
|
rjctOpnnCn?: string;
|
|
splmntOpnnCn?: string;
|
|
} |