Exemplo n.º 1
0
 public void SetAcidBase(string acidBase)
 {
     m_AcidBase = ChemInfo.AcidBase.NONE;
     if (acidBase.ToLower() == "acid")
     {
         m_AcidBase = ChemInfo.AcidBase.ACID;
     }
     if (acidBase.ToLower() == "base")
     {
         m_AcidBase = ChemInfo.AcidBase.BASE;
     }
     if (acidBase.ToLower() == "base/heat")
     {
         m_AcidBase = ChemInfo.AcidBase.BASE;
     }
     if (acidBase.ToLower() == "base/acid")
     {
         m_AcidBase = ChemInfo.AcidBase.ACID_BASE;
     }
 }
Exemplo n.º 2
0
 public void SetAcidBase(AcidBase acidBase)
 {
     m_AcidBase = acidBase;
 }