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; } }
public void SetAcidBase(AcidBase acidBase) { m_AcidBase = acidBase; }