mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-06 08:16:11 +00:00
Added missing RegisterCrestronGenericBase() call into GlsPartitionSensorController
resolves #292
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user