mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Added missing RegisterCrestronGenericBase() call into GlsPartitionSensorController
resolves #292
This commit is contained in:
parent
0d802bdeed
commit
6a3d11dee1
2 changed files with 6 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ namespace PepperDash.Essentials.Core
|
|||
{
|
||||
public CenRfgwControllerFactory()
|
||||
{
|
||||
TypeNames = new List<string>() {"cenrfgwex", "cenerfgwpoe"};
|
||||
TypeNames = new List<string> {"cenrfgwex", "cenerfgwpoe"};
|
||||
}
|
||||
|
||||
public override EssentialsDevice BuildDevice(DeviceConfig dc)
|
||||
|
|
@ -187,9 +187,11 @@ namespace PepperDash.Essentials.Core
|
|||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,8 @@ namespace PepperDash.Essentials.Core
|
|||
{
|
||||
_partitionSensor = preActivationFunc(config);
|
||||
|
||||
RegisterCrestronGenericBase(_partitionSensor);
|
||||
|
||||
NameFeedback = new StringFeedback(() => Name);
|
||||
EnableFeedback = new BoolFeedback(() => _partitionSensor.EnableFeedback.BoolValue);
|
||||
PartitionSensedFeedback = new BoolFeedback(() => _partitionSensor.PartitionSensedFeedback.BoolValue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue