public static int __callBase_FlushSurvey(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent surveyComponent = (SurveyComponent)LuaObject.checkSelf(l);
            surveyComponent.m_luaExportHelper.__callBase_FlushSurvey();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int DeInit(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent surveyComponent = (SurveyComponent)LuaObject.checkSelf(l);
            surveyComponent.DeInit();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent o = new SurveyComponent();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_GetCurrentSurveyStatus(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent surveyComponent = (SurveyComponent)LuaObject.checkSelf(l);
            SurveyStatus    e = surveyComponent.m_luaExportHelper.__callBase_GetCurrentSurveyStatus();
            LuaObject.pushValue(l, true);
            LuaObject.pushEnum(l, (int)e);
            result = 2;
        }
        catch (Exception e2)
        {
            result = LuaObject.error(l, e2);
        }
        return(result);
    }
    public static int GetDSVersion(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent surveyComponent = (SurveyComponent)LuaObject.checkSelf(l);
            ushort          dsversion       = surveyComponent.GetDSVersion();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, dsversion);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int DeSerialize(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent surveyComponent = (SurveyComponent)LuaObject.checkSelf(l);
            DSSurveyNtf     msg;
            LuaObject.checkType <DSSurveyNtf>(l, 2, out msg);
            surveyComponent.DeSerialize(msg);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_SetSurveyStatus(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent surveyComponent = (SurveyComponent)LuaObject.checkSelf(l);
            SurveyStatus    status;
            LuaObject.checkEnum <SurveyStatus>(l, 2, out status);
            surveyComponent.m_luaExportHelper.__callBase_SetSurveyStatus(status);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_Tick(IntPtr l)
    {
        int result;

        try
        {
            SurveyComponent surveyComponent = (SurveyComponent)LuaObject.checkSelf(l);
            uint            deltaMillisecond;
            LuaObject.checkType(l, 2, out deltaMillisecond);
            surveyComponent.m_luaExportHelper.__callBase_Tick(deltaMillisecond);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }