RaspberryIO/Unosquare.Swan.Lite/Enums.cs

61 lines
1.2 KiB
C#
Raw Permalink Normal View History

2019-02-17 14:08:57 +01:00
namespace Unosquare.Swan
{
/// <summary>
/// Enumeration of Operating Systems.
/// </summary>
public enum OperatingSystem
{
/// <summary>
/// Unknown OS
/// </summary>
Unknown,
/// <summary>
/// Windows
/// </summary>
Windows,
/// <summary>
/// UNIX/Linux
/// </summary>
Unix,
/// <summary>
/// macOS (OSX)
/// </summary>
Osx,
}
/// <summary>
/// Enumerates the different Application Worker States.
/// </summary>
public enum AppWorkerState
{
/// <summary>
/// The stopped
/// </summary>
Stopped,
/// <summary>
/// The running
/// </summary>
Running,
}
/// <summary>
/// Defines Endianness, big or little.
/// </summary>
public enum Endianness
{
/// <summary>
/// In big endian, you store the most significant byte in the smallest address.
/// </summary>
Big,
/// <summary>
/// In little endian, you store the least significant byte in the smallest address.
/// </summary>
Little,
}
}