Ejemplo n.º 1
0
        /// <summary>
        /// transform datas to a JSON object
        /// </summary>
        /// <returns>the datas as a JSON object</returns>
        internal JSONKinectInfos ToJson()
        {
            JSONKinectInfos ki = new JSONKinectInfos();

            ki.isKinectConnected = this.isKinectConnected;
            ki.isKinectMoving = this.isKinectMoving;

            return ki;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// transform datas to a JSON object
        /// </summary>
        /// <returns>the datas as a JSON object</returns>
        internal JSONKinectInfos ToJson()
        {
            JSONKinectInfos ki = new JSONKinectInfos();

            ki.isKinectConnected = this.isKinectConnected;
            ki.isKinectMoving    = this.isKinectMoving;


            return(ki);
        }