| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #pragma once
- #include "../pch/pch.h"
- /**
- * 桌位的ITEM,都用这个
- */
- class CZhengcanTableItemUI : public CVerticalLayoutUI
- {
- public:
- CZhengcanTableItemUI();
- ~CZhengcanTableItemUI();
- void DoEvent(TEventUI& event);
- void SetInfo(std::string table_id, std::string table_name, std::string type_id, std::string status, std::string order_init_time, std::string from_type, std::string order_status, std::string order_id, std::string limit_number);
- //刷新显示
- void UpdateShow();
- std::string GetTableId()
- {
- return m_table_id;
- }
- std::string GetStatus()
- {
- return m_status;
- }
- std::string GetOrderId()
- {
- return m_order_id;
- }
- std::string GetOrderStatus()
- {
- return m_order_status;
- }
- std::string GetTableName()
- {
- return m_table_name;
- }
- //是否展示转出标志
- void ShowZhuanchu(bool is_show);
- //是否展示转入标志
- void ShowZhuanru(bool is_show);
- private:
- std::string m_table_id;
- std::string m_table_name;
- std::string m_type_id;
- std::string m_status;
- std::string m_order_init_time;
- std::string m_from_type;
- std::string m_order_status;
- std::string m_order_id;
- std::string m_limit_number;
- };
|