Example #1
0
        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);
            }
        }
Example #2
0
        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);
        }
Example #3
0
        public void SendTestBad5(string code, long timestamp, string codeAgr)
        {
            IAMIAgregator agregator = new Agregator();

            agregator.Send(code, timestamp, measurements, codeAgr);
        }