LAPTOP-SNT8I5JK\Boounion
2025-07-28 bfe14e41fa5b07771d78af4511ba18d706bc23cc
SourceCode/Bond/Servo/CMaster.h
@@ -70,6 +70,9 @@
        void setPortType(unsigned int index, BOOL enable, int type, int mode,
            int cassetteType, int transferMode, BOOL autoChangeEnable);
        void datetimeSync(SYSTEMTIME& time);
        void enableEventReport(bool bEnable);
        void enableAlarmReport(bool bEnable);
        bool isAlarmReportEnable();
    private:
        inline void lock() { EnterCriticalSection(&m_criticalSection); }
@@ -131,6 +134,10 @@
        // 错误代码
        int m_nLastError;
        std::string m_strLastError;
    private:
        bool m_bEnableEventReport;
        bool m_bEnableAlarmReport;
    };
}