public byte[] FrameToBytes(MSBandFrame frame) { lock (myLock) { return(Utils.Serialization.SerializeXML(frame)); } }
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]; }