Changed default SamplingInterval to reduce load on embedded servers
Some OPC UA Servers (e.g. PLCs) have to poll data in order to report changes of values. If a sampling rate of 0 is provided, the server is forced to poll as fast as possible.
This commit is contained in:
Родитель
cfbc8fc7ae
Коммит
812d67902a
|
@ -369,7 +369,7 @@ namespace Opc.Ua.Publisher
|
|||
monitoredItem.AttributeId = Attributes.Value;
|
||||
monitoredItem.DisplayName = nodeDisplayName;
|
||||
monitoredItem.MonitoringMode = MonitoringMode.Reporting;
|
||||
monitoredItem.SamplingInterval = 0;
|
||||
monitoredItem.SamplingInterval = 1000;
|
||||
monitoredItem.QueueSize = 0;
|
||||
monitoredItem.DiscardOldest = true;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче