mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
fixes format exception in debug statement
This commit is contained in:
parent
43e57ab6d1
commit
6474bfa136
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ namespace PepperDash.Essentials.Bridges
|
||||||
|
|
||||||
if (device != null)
|
if (device != null)
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "Linking Device: '{0}'", d.DeviceKey);
|
Debug.Console(1, this, "Linking Device: '{0}'", device.Key);
|
||||||
|
|
||||||
|
|
||||||
if (device is IBridge) // Check for this first to allow bridges in plugins to override existing bridges that apply to the same type.
|
if (device is IBridge) // Check for this first to allow bridges in plugins to override existing bridges that apply to the same type.
|
||||||
|
|
@ -131,7 +131,7 @@ namespace PepperDash.Essentials.Bridges
|
||||||
}
|
}
|
||||||
else if (device is IBridgeAdvanced)
|
else if (device is IBridgeAdvanced)
|
||||||
{
|
{
|
||||||
Debug.Console(2, this, "'{0}' is IBridgeAdvanced");
|
Debug.Console(2, this, "'{0}' is IBridgeAdvanced", device.Key);
|
||||||
(device as IBridgeAdvanced).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey, this);
|
(device as IBridgeAdvanced).LinkToApi(Eisc, d.JoinStart, d.JoinMapKey, this);
|
||||||
}
|
}
|
||||||
else if (device is PepperDash.Essentials.Core.Monitoring.SystemMonitorController)
|
else if (device is PepperDash.Essentials.Core.Monitoring.SystemMonitorController)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue