public void SendTestBad1(string code, long timestamp, string codeAgr) { IAMIAgregator agregator = new Agregator(); if (timestamp == 1546300803) { agregator.Send(code, timestamp, measurements1, codeAgr); } if (timestamp == 1528236930) { agregator.Send(code, timestamp, measurements3, codeAgr); } }
public void SendTestBad3(string code, long timestamp, string codeAgr) { measurements1.Add(Enums.MeasureType.activePower, 300); IAMIAgregator agregator = new Agregator(); agregator.Send(code, timestamp, measurements, codeAgr); }
public void SendTestBad5(string code, long timestamp, string codeAgr) { IAMIAgregator agregator = new Agregator(); agregator.Send(code, timestamp, measurements, codeAgr); }