Ejemplo n.º 1
0
 /// <summary>
 /// Initialize values.
 /// </summary>
 public AdcpConfiguration()
 {
     // Initialize values
     SubsystemConfigDict = new Dictionary<string, AdcpSubsystemConfig>();
     Commands = new AdcpCommands();
     _serialNumber = new SerialNumber();
     DeploymentOptions = new DeploymentOptions();
     AdcpSerialOptions = new AdcpSerialPort.AdcpSerialOptions();
     Gps1SerialOptions = new SerialOptions();
     Gps2SerialOptions = new SerialOptions();
     Nmea1SerialOptions = new SerialOptions();
     Nmea2SerialOptions = new SerialOptions();
     HardwareOptions = new EngConf();
     EthernetOptions = new AdcpEthernetOptions();
     VesselMountOptions = new VesselMountOptions();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialize values.
 /// </summary>
 public AdcpConfiguration(SerialNumber serial)
 {
     // Initialize values
     SubsystemConfigDict = new Dictionary<string, AdcpSubsystemConfig>();
     Commands = new AdcpCommands();
     _serialNumber = serial;
     SetCepo(_serialNumber.SubsystemsString(), _serialNumber);       // Must go after Commands is created
     DeploymentOptions = new DeploymentOptions();
     AdcpSerialOptions = new AdcpSerialPort.AdcpSerialOptions();
     Gps1SerialOptions = new SerialOptions();
     Gps2SerialOptions = new SerialOptions();
     Nmea1SerialOptions = new SerialOptions();
     Nmea2SerialOptions = new SerialOptions();
     HardwareOptions = new EngConf();
     EthernetOptions = new AdcpEthernetOptions();
     VesselMountOptions = new VesselMountOptions();
 }