Example #1
0
 public void BuildRouterModuleRegistersMap(ref DeviceRouterModule routerModule)
 {
     if (_configuration.HeaderFields.ModuleRouter && routerModule == null)
         routerModule = new DeviceRouterModule();
     if (_configuration.HeaderFields.ModuleRouter == false && routerModule != null)
         routerModule = null;
 }
Example #2
0
 public Device()
 {
     Configuration = new DeviceConfiguration();
     UserRegisters = new List<DeviceUserRegister>();
     Statuses = new DeviceStatuses();
     DIModule = null;
     DOModule = null;
     AIModule = null;
     RouterModule = null;
 }