From 54046b750b24def40a12f04b301914e7124b8373 Mon Sep 17 00:00:00 2001 From: gerrit Date: Fri, 16 Sep 2022 16:56:48 +0800 Subject: [PATCH] ci: update network module based on commit 2687434 Change-Id: I653f7e05ea11155fb906610d1549827e38f2de8b (cherry picked from commit 4672e15697dd012a915f5e7bb17b378cff4249b6) --- src/slic3r/Utils/bambu_networking.hpp | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/slic3r/Utils/bambu_networking.hpp b/src/slic3r/Utils/bambu_networking.hpp index dc1461f77..3092688dd 100644 --- a/src/slic3r/Utils/bambu_networking.hpp +++ b/src/slic3r/Utils/bambu_networking.hpp @@ -36,7 +36,7 @@ namespace BBL { #define BAMBU_NETWORK_LIBRARY "bambu_networking" #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 @@ -84,6 +84,13 @@ enum SendingPrintJobStage { PrintingStageFinished = 5, }; +enum PublishingStage { + PublishingCreate = 0, + PublishingUpload = 1, + PublishingWaiting = 2, + PublishingJumpUrl = 3, +}; + enum BindJobStage { LoginStageConnect = 0, LoginStageLogin = 1, @@ -112,6 +119,7 @@ struct PrintParams { std::string ftp_file; std::string ftp_file_md5; std::string ams_mapping; + std::string ams_mapping_info; std::string connection_type; std::string comments; @@ -129,6 +137,15 @@ struct PrintParams { 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