Esempio n. 1
0
        public void write(DeviceValue value)
        {
            lock (this.events)
            {
                this.events.Add(value.ToJSON());
            }
            if (!timer.Enabled)
            {
                timer.Start();
            }

            if (this.influx != null)
            {
                influx.writeLine(value.ToInfluxLine());
            }
        }