Fix gestione conf mitsubishi x aree memoria

This commit is contained in:
Samuele Locatelli
2025-02-27 12:10:33 +01:00
parent f30108d2bc
commit bdd2b7a247
+6 -6
View File
@@ -32,8 +32,8 @@ namespace IOB_WIN_MITSUBISHI.Iob
if (IobConfFull.DeviceConf.MemoryConf.AreaConf.ContainsKey(aName))
{
currArea = IobConfFull.DeviceConf.MemoryConf.AreaConf[aName];
MemVarStart = currArea.AddressStart;
MemVarSize = currArea.AddressSize;
MemVarStart = currArea.Start;
MemVarSize = currArea.Size;
}
else
{
@@ -44,8 +44,8 @@ namespace IOB_WIN_MITSUBISHI.Iob
if (IobConfFull.DeviceConf.MemoryConf.AreaConf.ContainsKey(aName))
{
currArea = IobConfFull.DeviceConf.MemoryConf.AreaConf[aName];
ParamStart = currArea.AddressStart;
ParamSize = currArea.AddressSize;
ParamStart = currArea.Start;
ParamSize = currArea.Size;
}
else
{
@@ -56,8 +56,8 @@ namespace IOB_WIN_MITSUBISHI.Iob
if (IobConfFull.DeviceConf.MemoryConf.AreaConf.ContainsKey(aName))
{
currArea = IobConfFull.DeviceConf.MemoryConf.AreaConf[aName];
SignStart = currArea.AddressStart;
SignSize = currArea.AddressSize;
SignStart = currArea.Start;
SignSize = currArea.Size;
}
else
{