internal static void CreateDevice(IProducerViewModel viewModel, Action <IDisposable> toDispose, Action <string> trace) { Current = new OPCUAServerProducerSimulator(); toDispose(Current); Current.m_Trace = trace; Current.m_ViewModel = viewModel; Current.Setup(); }
internal static void CreateDevice(IProducerViewModel viewModel, Action<IDisposable> toDispose, Action<string> trace) { Current = new OPCUAServerProducerSimulator(); toDispose(Current); Current.m_Trace = trace; Current.m_ViewModel = viewModel; Current.Setup(); }