/// <summary> /// Ctor of the action configuration model. /// </summary> public OpcActionConfigurationModel(ReadActionModel action, string endpointUrl = null, bool useSecurity = true) { Init(); EndpointUrl = new Uri(endpointUrl ?? DefaultEndpointUrl); UseSecurity = useSecurity; Read.Add(new ReadActionModel(action)); }
/// <summary> /// Ctor of a read action model. /// </summary> public ReadActionModel(ReadActionModel action) { Id = action.Id; Interval = action.Interval; }
/// <summary> /// Ctor for the read action. /// </summary> public OpcReadAction(Uri endpointUrl, ReadActionModel action) : base(endpointUrl, action.Id, action.Interval) { }