Exemple #1
0
 /// <summary>
 /// Start the specified services.
 /// </summary>
 /// <param name="services">Services to start.</param>
 /// <remarks>The serial port and power services are joined at the hip and rather inseparable at this point.</remarks>
 public void StartServices(IOServices services)
 {
     Services = services;
     if (services.HasFlag(IOServices.SerialPort) || services.HasFlag(IOServices.SystemPower))
     {
         StartSerialPortMonitor();
     }
 }