CalcRainEffect 수정(weather 수정)

This commit is contained in:
2025-08-21 09:32:05 +09:00
parent cc4e3ea0cf
commit fc70b9c4be
@@ -9,8 +9,9 @@
* @author jsyang
*/
export default function CalcRainEffect(data : any, weather? : string | 'ALL') {
export default function CalcRainEffect(data : any, weather='ALL') {
console.log("%c Calculate RainEffect !" , "background:blue;color:white");
console.log("%c Data Length :"+data.length+" Weather : "+weather , "background:yellow;color:blue");
// 강우영향일 계산 (강우량이 3 초과이면 무조건 강우영향일)
for(let idx = 0; idx < data.length; idx++) {
const item = data[idx];