* Refactored NC_ERRORS
+ Added client configuration api * Refactored serverconfig
This commit is contained in:
@@ -31,7 +31,8 @@ namespace Step.Config
|
||||
.Descendants(NC_CONFIG_KEY)
|
||||
.Select(x => new NcConfigModel()
|
||||
{
|
||||
NcVendor = Convert.ToUInt16(x.Element("ncVendor").Value),
|
||||
NcVendor = x.Element("ncVendor").Value,
|
||||
showNcHMI = Convert.ToBoolean(x.Element("showNcHMI").Value),
|
||||
NcIpAddress = x.Element("ncIpAddress").Value,
|
||||
NcPort = Convert.ToUInt16(x.Element("ncPort").Value)
|
||||
}).FirstOrDefault();
|
||||
|
||||
Reference in New Issue
Block a user