source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Microsoft.Samples.Kinect.Webserver/Sensor/Serialization/SensorStatusEventMessage.cs@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 1.1 KB
Line 
1// -----------------------------------------------------------------------
2// <copyright file="SensorStatusEventMessage.cs" company="Microsoft">
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// </copyright>
5// -----------------------------------------------------------------------
6
7namespace Microsoft.Samples.Kinect.Webserver.Sensor.Serialization
8{
9 using System.Diagnostics.CodeAnalysis;
10
11 /// <summary>
12 /// Serializable representation of an sensor status event message to send to client.
13 /// </summary>
14 [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter",
15 Justification = "Lower case names allowed for JSON serialization.")]
16 internal class SensorStatusEventMessage : EventMessage
17 {
18 /// <summary>
19 /// status of sensor.
20 /// </summary>
21 [SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "connected", Justification = "Lower case names allowed for JSON serialization.")]
22 public bool connected { get; set; }
23 }
24}
Note: See TracBrowser for help on using the repository browser.