mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +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()
|
public CenRfgwControllerFactory()
|
||||||
{
|
{
|
||||||
TypeNames = new List<string>() {"cenrfgwex", "cenerfgwpoe"};
|
TypeNames = new List<string> {"cenrfgwex", "cenerfgwpoe"};
|
||||||
}
|
}
|
||||||
|
|
||||||
public override EssentialsDevice BuildDevice(DeviceConfig dc)
|
public override EssentialsDevice BuildDevice(DeviceConfig dc)
|
||||||
@@ -187,9 +187,11 @@ namespace PepperDash.Essentials.Core
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ namespace PepperDash.Essentials.Core
|
|||||||
{
|
{
|
||||||
_partitionSensor = preActivationFunc(config);
|
_partitionSensor = preActivationFunc(config);
|
||||||
|
|
||||||
|
RegisterCrestronGenericBase(_partitionSensor);
|
||||||
|
|
||||||
NameFeedback = new StringFeedback(() => Name);
|
NameFeedback = new StringFeedback(() => Name);
|
||||||
EnableFeedback = new BoolFeedback(() => _partitionSensor.EnableFeedback.BoolValue);
|
EnableFeedback = new BoolFeedback(() => _partitionSensor.EnableFeedback.BoolValue);
|
||||||
PartitionSensedFeedback = new BoolFeedback(() => _partitionSensor.PartitionSensedFeedback.BoolValue);
|
PartitionSensedFeedback = new BoolFeedback(() => _partitionSensor.PartitionSensedFeedback.BoolValue);
|
||||||
|
|||||||
Reference in New Issue
Block a user