Updates CameraControllerJoinMap to use new constructor for base class

This commit is contained in:
Neil Dorin
2020-04-05 09:07:05 -06:00
parent 42fbd813a2
commit c8f095f0a3
3 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ namespace PepperDash.Essentials.Bridges
public JoinDataComplete SupportsPresets = new JoinDataComplete(new JoinData() { JoinNumber = 57, JoinSpan = 1 }, new JoinMetadata() { Label = "Supports Presets", JoinCapabilities = eJoinCapabilities.FromSIMPL, JoinType = eJoinType.Digital }); public JoinDataComplete SupportsPresets = new JoinDataComplete(new JoinData() { JoinNumber = 57, JoinSpan = 1 }, new JoinMetadata() { Label = "Supports Presets", JoinCapabilities = eJoinCapabilities.FromSIMPL, JoinType = eJoinType.Digital });
public CameraControllerJoinMap(uint joinStart) public CameraControllerJoinMap(uint joinStart)
:base(joinStart) : base(joinStart, typeof(CameraControllerJoinMap))
{ {
} }
} }

View File

@@ -177,7 +177,7 @@ namespace PepperDash.Essentials.Core
// return join; // return join;
// }); // });
//type = this.GetType(); <- this wasn'memberInfo working because 'this' was always the base class, never the derived class //type = this.GetType(); <- this wasn't working because 'this' was always the base class, never the derived class
var fields = var fields =
type.GetCType() type.GetCType()
.GetFields(BindingFlags.Public | BindingFlags.Instance) .GetFields(BindingFlags.Public | BindingFlags.Instance)
@@ -454,7 +454,7 @@ namespace PepperDash.Essentials.Core
public JoinNameAttribute(string name) public JoinNameAttribute(string name)
{ {
Debug.Console(0, "Setting Attribute Name: {0}", name); Debug.Console(2, "Setting Attribute Name: {0}", name);
_Name = name; _Name = name;
} }