|
@@ -170,6 +170,14 @@ namespace MECF.Framework.Common.Device.Festo
|
|
|
if (result)
|
|
|
{
|
|
|
_nameDatasDictionary[festName][festoDO.DataIndex] = festoValue;
|
|
|
+ if (festoDO.Invert)
|
|
|
+ {
|
|
|
+ IOModuleManager.Instance.UpdateIoValue(festoDO.Name, !value);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ IOModuleManager.Instance.UpdateIoValue(festoDO.Name, value);
|
|
|
+ }
|
|
|
LOG.WriteLog(eEvent.INFO_FESTO, "Festo", $"{doName} write {value} success");
|
|
|
}
|
|
|
else
|