From c08fcb0ca69c8893d64504e082608ad8fb82eb40 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 25 10월 2021 08:58:31 +0900 Subject: [PATCH] 프로그램 시작시 백업 기능 삭제(네트워크 딜레이로 인한 프로그램 지연) --- ReviewHistory/include/akGraph/akDataVector2.h | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akGraph/akDataVector2.h b/ReviewHistory/include/akGraph/akDataVector2.h new file mode 100644 index 0000000..1f61337 --- /dev/null +++ b/ReviewHistory/include/akGraph/akDataVector2.h @@ -0,0 +1,57 @@ +#pragma once + +#include <vector> +#include "akGraphStruct.h" + +struct _DataVector2 +{ + _DataVector2(double x1, double y1) + { + x = x1; + y = y1; + hidden = false; + } + _DataVector2() + { + x=y=0; + hidden = false; + } + void set(double x1, double y1) + { + x = x1; + y = y1; + } + double x; + double y; + bool hidden; +}; + +class AFX_EXT_CLASS CakDataVector2 +{ +public: + CakDataVector2(void); + ~CakDataVector2(void); + +public: + CakDataVector2& operator=(CakDataVector2& data); + +public: + + + int GetDataNum(){return int(m_vecData.size());}; + + virtual void Clear(); + //지정 인덱스가 존재하지 않는다면 데이터변경을 하지 않는다. + virtual bool SetData(int index, double x, double y); + //인덱스가 현제 존재하는 데이터 범위를 벗어나면 젤끝에 추가한다. + virtual void AddData(double x, double y, int index = -1); + + virtual void SetHidden(bool enable, int startIndex, int endIndex); + +protected: + +public: + std::vector<_DataVector2> m_vecData; + CSeries m_SeriesOption; + +}; -- Gitblit v1.9.3