Ejemplo n.º 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()));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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");
        }