mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Adds some debug statements to help with NoRouteText property on DmChassisController config
This commit is contained in:
parent
1017464980
commit
b72f55228a
1 changed files with 5 additions and 0 deletions
|
|
@ -135,7 +135,12 @@ namespace PepperDash.Essentials.DM
|
||||||
controller.OutputNames = properties.OutputNames;
|
controller.OutputNames = properties.OutputNames;
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(properties.NoRouteText))
|
if (!string.IsNullOrEmpty(properties.NoRouteText))
|
||||||
|
{
|
||||||
controller.NoRouteText = properties.NoRouteText;
|
controller.NoRouteText = properties.NoRouteText;
|
||||||
|
Debug.Console(1, controller, "Setting No Route Text value to: {0}", controller.NoRouteText);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
Debug.Console(1, controller, "NoRouteText not specified. Defaulting to blank string.", controller.NoRouteText);
|
||||||
|
|
||||||
controller.PropertiesConfig = properties;
|
controller.PropertiesConfig = properties;
|
||||||
return controller;
|
return controller;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue