mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
fix: resolves issue with incorrect partition state feedback in test mode
This commit is contained in:
parent
a3351812cd
commit
f3b4c0aa02
1 changed files with 8 additions and 3 deletions
|
|
@ -77,7 +77,14 @@ namespace PepperDash.Essentials.Core
|
|||
{
|
||||
if (IsInAutoMode)
|
||||
{
|
||||
PartitionPresentFeedback.FireUpdate();
|
||||
if(e.BoolValue)
|
||||
{
|
||||
PartitionPresent = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
PartitionPresent = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +139,6 @@ namespace PepperDash.Essentials.Core
|
|||
if (!IsInAutoMode)
|
||||
{
|
||||
PartitionPresent = true;
|
||||
PartitionPresentFeedback.FireUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +147,6 @@ namespace PepperDash.Essentials.Core
|
|||
if (!IsInAutoMode)
|
||||
{
|
||||
PartitionPresent = false;
|
||||
PartitionPresentFeedback.FireUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue