コード例 #1
0
 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();
 }
コード例 #2
0
 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();
 }