From 6e0a9dd083fae3138418444eb783e99509bb522b Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 금, 09 7월 2021 12:02:49 +0900 Subject: [PATCH] Merge branch 'feature/#3486_CF_AOI_Review_Review_History_프로그램_테스트_및_적용' 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