FIX: access the ext

jira: [STUDIO-10970]
Change-Id: I65889835a4ced2d0d3547cacc505d6e1d874497e
(cherry picked from commit 7bc1108a2ecd8f00ba057034e74f9d1b8eac135f)
This commit is contained in:
xin.zhang
2025-03-24 10:00:00 +08:00
committed by Noisyfox
parent 1aee0189d4
commit 890fe61af2
3 changed files with 46 additions and 8 deletions

View File

@@ -53,6 +53,9 @@
#define VIRTUAL_TRAY_MAIN_ID 255
#define VIRTUAL_TRAY_DEPUTY_ID 254
#define VIRTUAL_AMS_MAIN_ID_STR "255"
#define VIRTUAL_AMS_DEPUTY_ID_STR "254"
#define START_SEQ_ID 20000
#define END_SEQ_ID 30000
@@ -1315,6 +1318,11 @@ public:
/*vi slot data*/
std::vector<AmsTray> vt_slot;
AmsTray parse_vt_tray(json vtray);
/*get ams slot info*/
bool contains_tray(const std::string &ams_id, const std::string &tray_id) const;
AmsTray get_tray(const std::string &ams_id, const std::string &tray_id) const;/*use contains_tray() check first*/
/*for parse new info*/
bool check_enable_np(const json& print) const;
void parse_new_info(json print);