Fix sofkey config and name
Added refresh alarm
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Step.Config
|
||||
ReadServerConfig();
|
||||
ReadAreaConfig();
|
||||
ReadMaintenancesConfig();
|
||||
ReadSoftkeysConfig();
|
||||
ReadSoftKeysConfig();
|
||||
ReadAlarmsConfig();
|
||||
ReadHeadsConfig();
|
||||
}
|
||||
@@ -208,7 +208,7 @@ namespace Step.Config
|
||||
.ToList();
|
||||
}
|
||||
|
||||
private static void ReadSoftkeysConfig()
|
||||
private static void ReadSoftKeysConfig()
|
||||
{
|
||||
// Get Softkeys
|
||||
XDocument xmlConfigFile = GetXmlHandlerWithValidator(SOFTKEYS_CONFIG_SCHEMA_PATH, SOFTKEYS_CONFIG_PATH);
|
||||
@@ -228,7 +228,7 @@ namespace Step.Config
|
||||
y => y.Attribute("langKey").Value, y => y.Value
|
||||
),
|
||||
|
||||
SubKeys = x.Element("plcKeys")?.Elements().Select(y => new SubKeysModel() // Populate subkeys if exist
|
||||
SubKeys = x.Element("subKeys")?.Elements().Select(y => new SubKeysModel() // Populate subkeys if exist
|
||||
{
|
||||
Id = id++,
|
||||
PlcId = Convert.ToInt32(y.Attribute("plcId").Value),
|
||||
|
||||
Reference in New Issue
Block a user