diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-05-22 17:05:24 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-05-22 17:05:24 +0300 |
| commit | ff6e448a675de210bb39ef68a7e021a9d62e0473 (patch) | |
| tree | fc69edfbd6e470f3544e9b36d0cb2c9168dad9a7 /Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | |
| parent | b9858454b21aa53f818a5a148e8ad1e75d13a83d (diff) | |
| download | Tango-ff6e448a675de210bb39ef68a7e021a9d62e0473.tar.gz Tango-ff6e448a675de210bb39ef68a7e021a9d62e0473.zip | |
Power Saving Mode.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 6 |
1 files changed, 5 insertions, 1 deletions
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<SetPowerDownTimeRequest, SetPowerDownTimeResponse>(new SetPowerDownTimeRequest() { TimeToPowerOffMinutes = timeToPowerDownMinutes }); + var r = await SendRequest<SetPowerDownTimeRequest, SetPowerDownTimeResponse>(new SetPowerDownTimeRequest() + { + TimeToIdleMinutes = timeToIdleMinutes, + TimeToPowerOffMinutes = timeToPowerDownMinutes + }); } catch (Exception ex) { |
