feat: implement MTR Next Train Handler with arrival and line info parsing

This commit is contained in:
GW_MC
2026-01-24 16:45:53 +08:00
parent 694ead2b42
commit d01167fd77
8 changed files with 359 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
#include "assets/mtr_line_station_json.h"
#pragma once
#include "assets/MTR_LINE_STATION.h"
#include "cJSON.h"
#include <string>
#include "esp_log.h"
@@ -45,8 +47,8 @@ public:
NetworkHandler* network_handler,
std::string& line_code,
std::string& station_code,
Language lang = Language::TC,
StationArrivalInfo*& out_info
StationArrivalInfo*& out_info,
Language lang = Language::TC
);
private: