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