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