IDataRefreshService Interface |
Connections created through the IO browser will always try to refresh cached data on model connection or reset. This is essential for PLC protocol implementations, as it ensures that there are no data discrepancies between the PLC and the model.
This causes issues for protocols that don't always need this functionality, such as stateless protocols where data exchanges are processed in isolation. This service allows protocol implementations to have control over this functionality.
Namespace: Demo3D.PLC.Comms
public interface IDataRefreshService
The IDataRefreshService type exposes the following members.
| Name | Description | |
|---|---|---|
| RefreshOnConnection |
True if the protocol should refresh data on model connection.
| |
| RefreshOnReset |
True if the protocol should refresh data on model reset.
|