#if !SIMPLSHARP using System; using ICD.Common.Properties; namespace ICD.Common.Utils { public static partial class ProcessorUtils { #region Properties /// /// Gets the model name of the processor. /// [PublicAPI] public static string ModelName { get { return Environment.MachineName; } } /// /// Gets the processor firmware version. /// [PublicAPI] public static Version ModelVersion { get { // TODO return new Version("1.0.0.0"); } } /// /// Gets the ram usage in the range 0 - 1. /// public static float RamUsagePercent { get { // TODO return 0.0f; } } /// /// Gets the total number of bytes of physical memory. /// public static ulong RamTotalBytes { get { // TODO return 0; } } /// /// Gets the total number of bytes of physical memory being used by the control system. /// public static ulong RamUsedBytes { get { // TODO return 0; } } /// /// Gets the total number of bytes of physical memory not being used by the control system. /// public static ulong RamBytesFree { get { // TODO return 0; } } /// /// Gets the total number of bytes that can be reclaimed. /// public static ulong RamBytesReclaimable { get { // TODO return 0; } } #endregion #region Methods /// /// Restarts this program. /// [PublicAPI] public static void RestartProgram() { // TODO throw new NotImplementedException(); } /// /// Reboots the processor. /// [PublicAPI] public static void Reboot() { // TODO throw new NotImplementedException(); } #endregion } } #endif