mirror of
https://github.com/PepperDash/EssentialsPluginTemplate.git
synced 2026-01-11 19:44:38 +00:00
fix: use correct null check
This commit is contained in:
@@ -69,7 +69,7 @@ namespace PepperDash.Essentials.Plugin
|
|||||||
|
|
||||||
var controlConfig = CommFactory.GetControlPropertiesConfig(dc);
|
var controlConfig = CommFactory.GetControlPropertiesConfig(dc);
|
||||||
|
|
||||||
if (controlConfig == null)
|
if (controlConfig != null)
|
||||||
{
|
{
|
||||||
var myTouchpanel = new Tsw760(controlConfig.IpIdInt, Global.ControlSystem);
|
var myTouchpanel = new Tsw760(controlConfig.IpIdInt, Global.ControlSystem);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user