fix(Tray): 托盘传感器显示修改
This commit is contained in:
@@ -11,6 +11,7 @@ class QLabel;
|
||||
class QButtonGroup;
|
||||
class QResizeEvent;
|
||||
class SquareTrayButton;
|
||||
struct DeviceStatus;
|
||||
|
||||
namespace Ui { class RackPage; }
|
||||
|
||||
@@ -24,6 +25,7 @@ public:
|
||||
|
||||
public slots:
|
||||
void refresh();
|
||||
void updateDeviceStatus(const DeviceStatus &status);
|
||||
|
||||
signals:
|
||||
void logRequested(const QString &type, const QString &module, const QString &action,
|
||||
@@ -48,6 +50,8 @@ private:
|
||||
QList<Tray> trays;
|
||||
int selectedTrayId;
|
||||
int selectedTrayIndex;
|
||||
bool trayPresenceAvailable = false;
|
||||
bool trayPresent[6] = {};
|
||||
};
|
||||
|
||||
#endif // RACKPAGE_H
|
||||
|
||||
Reference in New Issue
Block a user