mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
fix: cleanup debug statements
This commit is contained in:
parent
1c5aca03d2
commit
67e0378806
3 changed files with 8 additions and 12 deletions
|
|
@ -45,7 +45,6 @@ namespace PepperDash_Essentials_DM.Chassis
|
|||
set
|
||||
{
|
||||
var level = value;
|
||||
Debug.Console(1, this, "VolumeLevel: value-'{0}', level-'{1}'", value, level);
|
||||
|
||||
// ScaleWithLimits(inputValue, InputUpperBound, InputLowerBound, OutputUpperBound, OutputLowerBound)
|
||||
_volumeLevel = CrestronEnvironment.ScaleWithLimits(level, DeviceLevelMax, DeviceLevelMin, CrestronLevelMax, CrestronLevelMin);
|
||||
|
|
@ -61,9 +60,7 @@ namespace PepperDash_Essentials_DM.Chassis
|
|||
public void SetVolume(ushort level)
|
||||
{
|
||||
// ScaleWithLimits(inputValue, InputUpperBound, InputLowerBound, OutputUpperBound, OutputLowerBound)
|
||||
var scaled = CrestronEnvironment.ScaleWithLimits(level,
|
||||
CrestronLevelMax, CrestronLevelMin,
|
||||
DeviceLevelMax, DeviceLevelMin);
|
||||
var scaled = CrestronEnvironment.ScaleWithLimits(level, CrestronLevelMax, CrestronLevelMin, DeviceLevelMax, DeviceLevelMin);
|
||||
|
||||
Debug.Console(1, this, "SetVolume: level-'{0}', scaled-'{1}'", level, scaled);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue