ci: update network module based on commit 2687434

Change-Id: I653f7e05ea11155fb906610d1549827e38f2de8b
(cherry picked from commit 4672e15697dd012a915f5e7bb17b378cff4249b6)
This commit is contained in:
gerrit 2022-09-16 16:56:48 +08:00 committed by Lane.Wei
parent 54377760b9
commit 54046b750b

View file

@ -36,7 +36,7 @@ namespace BBL {
#define BAMBU_NETWORK_LIBRARY "bambu_networking" #define BAMBU_NETWORK_LIBRARY "bambu_networking"
#define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent" #define BAMBU_NETWORK_AGENT_NAME "bambu_network_agent"
#define BAMBU_NETWORK_AGENT_VERSION "01.02.00.02" #define BAMBU_NETWORK_AGENT_VERSION "01.02.01.01"
//iot preset type strings //iot preset type strings
@ -84,6 +84,13 @@ enum SendingPrintJobStage {
PrintingStageFinished = 5, PrintingStageFinished = 5,
}; };
enum PublishingStage {
PublishingCreate = 0,
PublishingUpload = 1,
PublishingWaiting = 2,
PublishingJumpUrl = 3,
};
enum BindJobStage { enum BindJobStage {
LoginStageConnect = 0, LoginStageConnect = 0,
LoginStageLogin = 1, LoginStageLogin = 1,
@ -112,6 +119,7 @@ struct PrintParams {
std::string ftp_file; std::string ftp_file;
std::string ftp_file_md5; std::string ftp_file_md5;
std::string ams_mapping; std::string ams_mapping;
std::string ams_mapping_info;
std::string connection_type; std::string connection_type;
std::string comments; std::string comments;
@ -129,6 +137,15 @@ struct PrintParams {
bool task_use_ams; bool task_use_ams;
}; };
struct PublishParams {
std::string project_name;
std::string project_3mf_file;
std::string preset_name;
std::string project_model_id;
std::string design_id;
std::string config_filename;
};
} }
#endif #endif