Example #1
0
        public void Activate(SensorRegistry registry)
        {
            CoreSensor s;

            // InjectorLitersPerHour
            s = new hobd.elm.injector.LitersPerHourSensor()
            {
                ID   = "Injector.LitersPerHour",
                Name = "LitersPerHour",
            };

            s.Units = "lphour";

            registry.Add(s);
        }
Example #2
0
        public void Activate(SensorRegistry registry)
        {
            CoreSensor s;

            // InjectorLitersPerHour
            s = new hobd.elm.injector.LitersPerHourSensor()
            {
                ID = "Injector.LitersPerHour",
                Name = "LitersPerHour",

            };

            s.Units = "lphour";

            registry.Add(s);
        }