Esempio n. 1
0
 public byte[] FrameToBytes(MSBandFrame frame)
 {
     lock (myLock)
     {
         return(Utils.Serialization.SerializeXML(frame));
     }
 }
Esempio n. 2
0
                public MSBandSenseLib(IBandClient vBandClient, BandSelection vBandSelection, string vBandName)
                {
                    bandClient    = vBandClient;
                    bandSelection = vBandSelection;
                    bandName      = vBandName;

                    IsIdle = false;

                    myLock    = new object();
                    bandFrame = new MSBandFrame();

                    bandFrame.SensorID = vBandName;

                    sendTime = new DateTime[2];
                }