-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to move to new plugin mechanism
and new joinMap mechanism
- Loading branch information
1 parent
54fb41c
commit 7230679
Showing
20 changed files
with
3,794 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
[submodule "submodules"] | ||
path = submodules | ||
url=https://github.com/PepperDash-Engineering/essentials-builds.git | ||
branch = release | ||
[submodule "submodule/essentials-builds"] | ||
path = submodule/essentials-builds | ||
url = https://github.com/PepperDash-Engineering/essentials-builds |
This file was deleted.
Oops, something went wrong.
65 changes: 38 additions & 27 deletions
65
...eneric-colorlightZ6-epi/pepperdash-generic-colorlightZ6-epi/Bridge/ColorlightZ6JoinMap.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 2 additions & 7 deletions
9
...sh-generic-colorlightZ6-epi/pepperdash-generic-colorlightZ6-epi/ColorlightZ6Properties.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
pepperdash-generic-colorlightZ6-epi/pepperdash-generic-colorlightZ6-epi/PluginFactory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System.Collections.Generic; | ||
using PepperDash.Core; | ||
using Pepperdash.Essentials.Generic.ColorlightZ6; | ||
using PepperDash.Essentials.Core; | ||
using PepperDash.Essentials.Core.Config; | ||
|
||
namespace PepperDash.Essentials.Generic.ColorlightZ6 | ||
{ | ||
public class PluginFactory: EssentialsPluginDeviceFactory<ColorlightZ6Controller> | ||
{ | ||
public PluginFactory() | ||
{ | ||
MinimumEssentialsFrameworkVersion = "1.5.5"; | ||
|
||
TypeNames = new List<string>{"colorlightz6"}; | ||
} | ||
|
||
#region Overrides of EssentialsDeviceFactory<ColorlightZ6Controller> | ||
|
||
public override EssentialsDevice BuildDevice(DeviceConfig dc) | ||
{ | ||
Debug.Console(0, "Creating Colorlight Z6 controller..."); | ||
var comm = CommFactory.CreateCommForDevice(dc); | ||
|
||
var config = dc.Properties.ToObject<ColorlightZ6Properties>(); | ||
|
||
var device = new ColorlightZ6Controller(dc.Key, dc.Name, comm, config); | ||
|
||
return device; | ||
} | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-358 Bytes
(81%)
...6-epi/pepperdash-generic-colorlightZ6-epi/pepperdash-generic-colorlightZ6-epi.projectinfo
Binary file not shown.
Submodule essentials-builds
added at
39b4d0
Submodule submodules
deleted from
2f4769
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.