public OpcActionConfigurationModel(string endpointUrl, bool useSecurity, ReadActionModel readAction) { EndpointUrl = new Uri(endpointUrl); UseSecurity = useSecurity; Read = new List <ReadActionModel>(); Read.Add(new ReadActionModel(readAction)); }
public ReadActionModel(ReadActionModel action) { Id = action.Id; Interval = action.Interval; }
/// <summary> /// Ctor for the read action. /// </summary> public OpcReadAction(ReadActionModel action) : base(action.Id, action.Interval) { }