| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #pragma once
- #include "Element.h"
- namespace OTSINTERFACE {
- using namespace System;
- using namespace System::Drawing;
- using namespace OTSDATA;
- using namespace OTSMODEL;
- public ref class CElementChemistryClr
- {
- public:
- CElementChemistryClr(); // constructor
- CElementChemistryClr(String^ a_strName, double a_dPercentage); // constructor
-
- CElementChemistryClr(CElementChemistryPtr); // copy constructor
-
- CElementChemistryClr(CElementChemistry*);
- ~CElementChemistryClr();
- !CElementChemistryClr();
- CElementChemistryPtr GetElementChemistryPtr();
-
- // name
- String^ GetName();
- void SetName(String^ a_strName);
- // percentage
- double GetPercentage();
- void SetPercentage(double a_dPercentage);
- //ťńČĄÄŚśűąČ
- double GetMolar();
- //ťńČĄÔ×ÓĘý
- int GetAtomNum(String^ a_strElementName);
- private:
-
- CElementChemistryPtr* m_LpElementChemistry;
- };
- typedef System::Collections::Generic::List<CElementChemistryClr^> CElementChemistryListClr;
- }
|