static int _g_get_NumericType(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCET.Model.NumericWatcherAttribute gen_to_be_invoked = (DCET.Model.NumericWatcherAttribute)translator.FastGetCSObj(L, 1);
                translator.PushDCETModelNumericType(L, gen_to_be_invoked.NumericType);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 2 && translator.Assignable <DCET.Model.NumericType>(L, 2))
                {
                    DCET.Model.NumericType _type; translator.Get(L, 2, out _type);

                    DCET.Model.NumericWatcherAttribute gen_ret = new DCET.Model.NumericWatcherAttribute(_type);
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to DCET.Model.NumericWatcherAttribute constructor!"));
        }