mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-01 13:55:05 +00:00
feat: remove DisplayBase from Core
This commit is contained in:
@@ -500,19 +500,19 @@ namespace PepperDash.Essentials
|
||||
messengerAdded = true;
|
||||
}
|
||||
|
||||
if (device is Core.DisplayBase)
|
||||
{
|
||||
Debug.Console(2, this, "Adding actions for device: {0}", device.Key);
|
||||
//if (device is Core.DisplayBase)
|
||||
//{
|
||||
// Debug.Console(2, this, "Adding actions for device: {0}", device.Key);
|
||||
|
||||
var dbMessenger = new CoreDisplayBaseMessenger(
|
||||
$"{device.Key}-displayBase-{Key}",
|
||||
$"/device/{device.Key}",
|
||||
device as Core.DisplayBase
|
||||
);
|
||||
AddDefaultDeviceMessenger(dbMessenger);
|
||||
// var dbMessenger = new CoreDisplayBaseMessenger(
|
||||
// $"{device.Key}-displayBase-{Key}",
|
||||
// $"/device/{device.Key}",
|
||||
// device as Core.DisplayBase
|
||||
// );
|
||||
// AddDefaultDeviceMessenger(dbMessenger);
|
||||
|
||||
messengerAdded = true;
|
||||
}
|
||||
// messengerAdded = true;
|
||||
//}
|
||||
|
||||
if (device is TwoWayDisplayBase)
|
||||
{
|
||||
@@ -533,25 +533,6 @@ namespace PepperDash.Essentials
|
||||
messengerAdded = true;
|
||||
}
|
||||
|
||||
if (device is Core.TwoWayDisplayBase)
|
||||
{
|
||||
var display = device as Core.TwoWayDisplayBase;
|
||||
Debug.Console(
|
||||
2,
|
||||
this,
|
||||
"Adding TwoWayDisplayBase for device: {0}",
|
||||
device.Key
|
||||
);
|
||||
var twoWayDisplayMessenger = new CoreTwoWayDisplayBaseMessenger(
|
||||
$"{device.Key}-twoWayDisplay-{Key}",
|
||||
string.Format("/device/{0}", device.Key),
|
||||
display
|
||||
);
|
||||
AddDefaultDeviceMessenger(twoWayDisplayMessenger);
|
||||
|
||||
messengerAdded = true;
|
||||
}
|
||||
|
||||
if (device is IBasicVolumeWithFeedback)
|
||||
{
|
||||
var deviceKey = device.Key;
|
||||
|
||||
@@ -8,12 +8,14 @@
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
<Deterministic>false</Deterministic>
|
||||
<AssemblyTitle>epi-essentials-mobile-control</AssemblyTitle>
|
||||
<AssemblyName>epi-essentials-mobile-control</AssemblyName>
|
||||
<Company>PepperDash Technologies</Company>
|
||||
<Product>epi-essentials-mobile-control</Product>
|
||||
<Description>This software is a plugin designed to work as a part of PepperDash Essentials for Crestron control processors. This plugin allows for connection to a PepperDash Mobile Control server.</Description>
|
||||
<Copyright>Copyright 2020</Copyright>
|
||||
<Version>4.0.0-local</Version>
|
||||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<InformationalVersion>$(Version)</InformationalVersion>
|
||||
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
|
||||
Reference in New Issue
Block a user