예제 #1
0
        public static int getActiveEntityParameterInt(string entity, string parameter, string m_token, PowerMILL.PluginServices m_services)
        {
            string str = Gets.getActiveEntityParameterString(entity, parameter, m_token, m_services);

            return(int.Parse(str.Trim()));
        }
예제 #2
0
        public static double getActiveEntityParameterDouble(string entity, string parameter, string m_token, PowerMILL.PluginServices m_services)
        {
            string str = Gets.getActiveEntityParameterString(entity, parameter, m_token, m_services);

            return(getCultureInvariantDouble(str));
        }
예제 #3
0
        public static bool getActiveEntityParameterBool(string entity, string parameter, string m_token, PowerMILL.PluginServices m_services)
        {
            string str = Gets.getActiveEntityParameterString(entity, parameter, m_token, m_services);

            return(str.Trim() == "1");
        }