37 lines
974 B
TypeScript
37 lines
974 B
TypeScript
export const MANUAL_LABEL_POS = {
|
|
han: { x: 0.52, y: 0.14 },
|
|
geum: { x: 0.28, y: 0.47 },
|
|
nakdong: { x: 0.64, y: 0.47 },
|
|
yeongsan: { x: 0.18, y: 0.77 },
|
|
} as const;
|
|
|
|
export const BASIN_DATA = {
|
|
han: { name: "한강" },
|
|
geum: { name: "금강" },
|
|
nakdong: { name: "낙동강" },
|
|
yeongsan: { name: "영산강" },
|
|
} as const;
|
|
|
|
export const BASIN_IDS = [
|
|
{ key: "han", labels: ["한강", "han"] },
|
|
{ key: "geum", labels: ["금강", "geum"] },
|
|
{ key: "nakdong", labels: ["낙동강", "nakdong"] },
|
|
{ key: "yeongsan", labels: ["영산강", "yeongsan"] },
|
|
] as const;
|
|
|
|
export const BASIN_DOC_SE_SLOTS = [
|
|
{ docSeComCd: "FNRS", label: "재원협의" },
|
|
{ docSeComCd: "INSTL", label: "설치인가" },
|
|
{ docSeComCd: "CNFM", label: "설계자문" },
|
|
{ docSeComCd: "SEWER", label: "기본계획" },
|
|
] as const;
|
|
|
|
export type BasinKey = keyof typeof BASIN_DATA;
|
|
|
|
export interface ManualLabelPos {
|
|
x?: number;
|
|
y?: number;
|
|
px?: number;
|
|
py?: number;
|
|
}
|