fix(Tray): 托盘传感器显示修改
This commit is contained in:
@@ -9,7 +9,8 @@ public:
|
||||
explicit SquareTrayButton(int trayIndex, int loadedCount, QWidget *parent = nullptr);
|
||||
|
||||
void setTrayInfo(int trayId, const QString &code, int loadedCount,
|
||||
const QString &status, bool present);
|
||||
const QString &status, bool databasePresent,
|
||||
bool sensorPresent);
|
||||
void setPlanned(bool planned);
|
||||
|
||||
QSize sizeHint() const override;
|
||||
@@ -21,6 +22,7 @@ protected:
|
||||
private:
|
||||
int m_trayId;
|
||||
bool m_planned;
|
||||
bool m_sensorPresent;
|
||||
};
|
||||
|
||||
#endif // SQUARETRAYBUTTON_H
|
||||
|
||||
Reference in New Issue
Block a user