Commit 18f3b280 authored by David Kline's avatar David Kline
Browse files

add comments, fix style warnings

parent 826aa7fb
Loading
Loading
Loading
Loading
+21 −8
Original line number Diff line number Diff line
@@ -14,12 +14,6 @@ namespace Microsoft.Tools.WindowsDevicePortal
    /// </content>
    public partial class DevicePortal
    {
        public enum ProcessStatus
        {
            Running = 0,
            Stopped
        }

        /// <summary>
        /// API for getting or setting Interpupilary distance
        /// </summary>
@@ -35,6 +29,22 @@ namespace Microsoft.Tools.WindowsDevicePortal
        /// </summary>
        public static readonly string HolographicWebManagementHttpSettingsApi = "api/holographic/os/webmanagement/settings/https";

        /// <summary>
        /// Enumeration describing the status of a process
        /// </summary>
        public enum ProcessStatus
        {
            /// <summary>
            /// The process is running
            /// </summary>
            Running = 0,
            
            /// <summary>
            /// The process is stopped
            /// </summary>
            Stopped
        }

        /// <summary>
        /// Gets the status of the Holographic Services on this HoloLens.
        /// </summary>
@@ -129,6 +139,9 @@ namespace Microsoft.Tools.WindowsDevicePortal
        [DataContract]
        public class HolographicServices
        {
            /// <summary>
            /// Gets the status for the collection of holographic services
            /// </summary>
            [DataMember(Name = "SoftwareStatus")]
            public HolographicSoftwareStatus Status { get; private set; }
        }
@@ -223,7 +236,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
            {
                get
                {
                    return (ExpectedRaw == "Running") ? ProcessStatus.Running : ProcessStatus.Stopped;
                    return (this.ExpectedRaw == "Running") ? ProcessStatus.Running : ProcessStatus.Stopped;
                }
            }

@@ -234,7 +247,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
            {
                get
                {
                    return (ObservedRaw == "Running") ? ProcessStatus.Running : ProcessStatus.Stopped;
                    return (this.ObservedRaw == "Running") ? ProcessStatus.Running : ProcessStatus.Stopped;
                }
            }
        }