파일에서 임의의 vo 생성 로직 추가

hhsung_work
hhsung 10 months ago
parent 8a9310397b
commit 14a46fbf90

@ -59,9 +59,14 @@ namespace SmartAquaViewer.DataAnalisys
processedBytes += Encoding.UTF8.GetByteCount(line + Environment.NewLine); processedBytes += Encoding.UTF8.GetByteCount(line + Environment.NewLine);
double percent = (double)processedBytes / totalBytes * 100.0; double percent = (double)processedBytes / totalBytes * 100.0;
iwaterQuality.OnProgress(percent);
// TODO: 라인 파싱 로직 // TODO: 라인 파싱 로직
WaterQualityVO vo = new();
vo.PH = 10.5;
vo.Timestamp = DateTime.Now;
iwaterQuality.OnParsed(vo);
iwaterQuality.OnProgress(percent);
} }
} }

Loading…
Cancel
Save