Fix fileManager

Added filePath config
This commit is contained in:
Lucio Maranta
2018-09-04 17:06:54 +02:00
parent 757884ebb7
commit 3a0e1bc2a4
12 changed files with 85 additions and 31 deletions
+4 -2
View File
@@ -172,10 +172,12 @@ namespace Step.Config
.Select(x => new NcConfigModel()
{
NcVendor = x.Element("ncVendor").Value,
showNcHMI = Convert.ToBoolean(x.Element("showNcHMI").Value),
ShowNcHMI = Convert.ToBoolean(x.Element("showNcHMI").Value),
NcIpAddress = x.Element("ncIpAddress").Value,
NcPort = Convert.ToUInt16(x.Element("ncPort").Value),
NcName = x.Element("machineModel").Value
NcName = x.Element("machineModel").Value,
SharedPath = x.Element("sharedPath").Value,
SharedName = x.Element("sharedName").Value,
}).FirstOrDefault();
// Read server config with LINQ and save into static config