Hello, we have implemented a subscription based on the example below. However we have noticed after some time, the nodes being monitored stop triggering the update event. Our PublishingInterval is 200ms and our KeepAliveCount is 10. The other issue is that when this happens the State of the underlying session does not seem to be getting updated as the PropertyChanged is not firing.
Example:
[Subscription(endpointUrl: SubscriptionConfig.PlcEndpoint,
publishingInterval: SubscriptionConfig.PublishingInterval,
keepAliveCount: SubscriptionConfig.KeepAliveCount)]
public class GroundPlatformModel : PlcBaseModel
{
[MonitoredItem(nodeId: MlcNodePaths.PlatformHeading)]
public double? PlatformHeading
{
get { return platformHeading; }
private set { SetProperty(ref platformHeading, value); }
}
}