FIX: support save remote file to storage

jira: [STUDIO-9095]
Change-Id: I675d942b52e723908a5be1861efe7917cdcc599d
(cherry picked from commit 5850bc8fbd0dd6e757e48e54275c1788e15ff93e)
This commit is contained in:
xin.zhang
2025-02-25 10:11:42 +08:00
committed by Noisyfox
parent 8ccd7b0cc6
commit 0099823501
7 changed files with 82 additions and 6 deletions

View File

@@ -1274,12 +1274,22 @@ public:
DoorOpenCheckState get_door_open_check_state() const { return xcam_door_open_check;};
void command_set_door_open_check(DoorOpenCheckState state);
/* xcam save remove print file to local*/
bool support_save_remote_print_file_to_storage() const { return is_support_save_remote_print_file_to_storage; };
bool get_save_remote_print_file_to_storage() const { return xcam__save_remote_print_file_to_storage; };
void command_set_save_remote_print_file_to_storage(bool save);
private:
/* xcam door open check*/
bool is_support_door_open_check = false;
DoorOpenCheckState xcam_door_open_check = DoorOpenCheckState::DOOR_OPEN_CHECK_DISABLE;
time_t xcam_door_open_check_start_time = 0;
/* xcam save remove print file to local*/
bool is_support_save_remote_print_file_to_storage = false;
bool xcam__save_remote_print_file_to_storage = false;
time_t xcam__save_remote_print_file_to_storage_start_time = 0;
};
class DeviceManager