mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-30 04:44:49 +00:00
fix: resolves issue with incorrect partition state feedback in test mode
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user