From ff6e448a675de210bb39ef68a7e021a9d62e0473 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Wed, 22 May 2024 17:05:24 +0300 Subject: Power Saving Mode. --- .../Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs') diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs index 870541394..85bea26bb 100644 --- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs +++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs @@ -4712,7 +4712,11 @@ namespace Tango.Integration.Operation try { LogManager.Log($"Settings machine power saving mode to {timeToIdleMinutes},{timeToPowerDownMinutes} minutes..."); - var r = await SendRequest(new SetPowerDownTimeRequest() { TimeToPowerOffMinutes = timeToPowerDownMinutes }); + var r = await SendRequest(new SetPowerDownTimeRequest() + { + TimeToIdleMinutes = timeToIdleMinutes, + TimeToPowerOffMinutes = timeToPowerDownMinutes + }); } catch (Exception ex) { -- cgit v1.3.1