File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33/*
44 * A process that watches for raw data updates from protocols using a MongoDB change stream.
55 * Convert raw values and update realtime values and statuses.
6- * {json:scada} - Copyright (c) 2020-2021 - Ricardo L. Olsen
6+ * {json:scada} - Copyright (c) 2020-2022 - Ricardo L. Olsen
77 * This file is part of the JSON-SCADA distribution (https://github.com/riclolsen/json-scada).
88 *
99 * This program is free software: you can redistribute it and/or modify
2121
2222const APP_NAME = 'CS_DATA_PROCESSOR'
2323const APP_MSG = '{json:scada} - Change Stream Data Processor'
24- const VERSION = '0.1.2 '
24+ const VERSION = '0.1.3 '
2525const Log = require ( './simple-logger' )
2626let ProcessActive = false // for redundancy control
2727var jsConfigFile = '../../conf/json-scada.json'
@@ -438,7 +438,7 @@ const pipeline = [
438438 $expr : {
439439 $and : [
440440 { $eq : [ '$origin' , 'supervised' ] } ,
441- { $eq : [ '$substituted' , false ] } ,
441+ { $ne : [ '$substituted' , true ] } ,
442442 { $eq : [ '$invalid' , false ] } ,
443443 {
444444 $lt : [
You can’t perform that action at this time.
0 commit comments