mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
Updates CameraControllerJoinMap to use new constructor for base class
This commit is contained in:
parent
42fbd813a2
commit
c8f095f0a3
3 changed files with 4 additions and 4 deletions
|
|
@ -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))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue