DAP.BasicMoulds.cpp 871 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. #include "stdafx.h"
  3. #include "DAP.BasicMoulds.hpp"
  4. ////-----------------------------------------------------------------------------
  5. //// FloatMould
  6. ////-----------------------------------------------------------------------------
  7. //string FloatMould::GetDescription ()
  8. //{
  9. // ResDataObject temp, result;
  10. //// temp.add (DIMENSION, Dimension.c_str ());
  11. // temp.add (ValKey::UPPERLIMIT, m_LimitMax);
  12. // temp.add (ValKey::LOWERLIMIT, m_LimitMin);
  13. // temp.add (ValKey::ACCURACY, m_Accuracy);
  14. // result.add(Key.c_str(), temp);
  15. // return result.encode();
  16. //}
  17. //
  18. //string FloatMould::GetAttribute ()
  19. //{
  20. // ResDataObject temp;
  21. // temp.add (Key.c_str (), (float)m_Value);
  22. // return temp.encode();
  23. //}
  24. //
  25. //std::string FloatMould::JSGet()
  26. //{
  27. // return std::to_string(m_Value);
  28. //}
  29. //std::string FloatMould::GetKey()
  30. //{
  31. // return Key;
  32. //}