DeviceConnectionState.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Com/DeviceConnectionState.cs $
  4. *
  5. * 2 07-01-05 9:00 roger.månsson
  6. */
  7. #endregion
  8. using System.Runtime.InteropServices;
  9. namespace Wayne.ForecourtControl.Com
  10. {
  11. /// <summary>
  12. /// The state of the connection to a device.
  13. /// </summary>
  14. [ComVisible(true)]
  15. public enum DeviceConnectionState
  16. {
  17. #region Fields
  18. /// <summary>
  19. /// Unknown state of the connection.
  20. /// </summary>
  21. Unknown,
  22. /// <summary>
  23. /// Device is not connected.
  24. /// </summary>
  25. Disconnected,
  26. /// <summary>
  27. /// Trying to connect to device.
  28. /// </summary>
  29. Connecting,
  30. /// <summary>
  31. /// Connected to device.
  32. /// </summary>
  33. Connected,
  34. /// <summary>
  35. /// Disconnecting from device
  36. /// </summary>
  37. Disconnecting
  38. #endregion
  39. }
  40. }