public OpcActionConfigurationModel(string endpointUrl, bool useSecurity, WriteActionModel writeAction) { EndpointUrl = new Uri(endpointUrl); UseSecurity = useSecurity; Write = new List <WriteActionModel>(); Write.Add(new WriteActionModel(writeAction)); }
public WriteActionModel(WriteActionModel action) { Id = action.Id; Interval = action.Interval; Value = action.Value; }
/// <summary> /// Ctor for the write action. /// </summary> public OpcWriteAction(WriteActionModel action) : base(action.Id, action.Interval) { Value = action.Value; }