From 834d74bdfcb93f94069137128242ec282b8fec37 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 금, 09 7월 2021 12:19:42 +0900 Subject: [PATCH] Merge branch 'feature/#3495_CF_AOI_Review(QD,_Blue)_GlassLoading_시_다운_현상_조치' of http://github.okdit.co.kr:8080/r/2020_SDC/C_PJT_CF_REVIEW into feature/#3495_CF_AOI_Review(QD,_Blue)_GlassLoading_시_다운_현상_조치 --- ReviewHistory/include/akGraph/akUnit.h | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akGraph/akUnit.h b/ReviewHistory/include/akGraph/akUnit.h new file mode 100644 index 0000000..4ad7abc --- /dev/null +++ b/ReviewHistory/include/akGraph/akUnit.h @@ -0,0 +1,37 @@ +#pragma once + + +// enum khUnitType +// { +// Distance, +// Velocity, +// Temp, +// Weight +// }; + +enum akUnit +{ + km,m,kyd,ft +}; + +class CakUnit +{ +public: + CakUnit(void); + virtual ~CakUnit(void); + + +public: + //void SetUnitType(khUnitType type); + void SetDefaultUnit(int index, akUnit unit); + bool SetChangeUnit(int index, akUnit unit); + +public: + char* GetCurrentUnitString(int index); + char* GetUnitString(int index, akUnit unit); + +protected: + akUnit m_DefaultUnit[10];//기준 단위 + akUnit m_ChangeUnit[10];//변경되는 단위 + +}; -- Gitblit v1.9.3