public void WindParamSet(string param, float value) { if (m_activeWindPlugin != null) { m_activeWindPlugin.WindParamSet(param, value); m_log.InfoFormat("[WIND] {0} set to {1}", param, value); } }
public void WindParamSet(string plugin, string param, float value) { if (m_availableWindPlugins.ContainsKey(plugin)) { IWindModelPlugin windPlugin = m_availableWindPlugins[plugin]; windPlugin.WindParamSet(param, value); } else { throw new Exception(String.Format("Could not find plugin {0}", plugin)); } }