private void AddNewAnalyticsDataToDeviceMemory(Control changedControl) { if (changedControl.ShouldKeepAnalytics()) { List <byte> analyticsBuffer = HeepDeviceAnalytics.GetDeviceAnalyticsByteArray(changedControl, myID); HeepLanguage.AddBufferToBuffer(deviceMemory, analyticsBuffer); HeepCommunications.SendAnalytics(myID, deviceMemory); } }
private void AddNewAnalyticsDataToDeviceMemory(Control changedControl) { if (changedControl.ShouldKeepAnalytics()) { Console.WriteLine("Hello"); List <byte> analyticsBuffer = HeepDeviceAnalytics.GetDeviceAnalyticsByteArray(changedControl, myID); HeepLanguage.AddBufferToBuffer(deviceMemory, analyticsBuffer); NonVolatileData.WriteMemoryToFile(deviceMemory); HeepCommunications.SendAnalytics(myID, deviceMemory); } }