Преглед изворни кода

delete ytDeviceDataInfluxdbWriter model

James пре 2 година
родитељ
комит
b2b1c21768
2 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 1
      ytDataCollector/ytDataCollector.pro
  2. 0 3
      ytDataCollector/ytDataCollectorDog/dogcore.cpp

+ 0 - 1
ytDataCollector/ytDataCollector.pro

@@ -3,5 +3,4 @@ TEMPLATE = subdirs
 SUBDIRS += \
 SUBDIRS += \
     ytDataCollectorDog \
     ytDataCollectorDog \
     ytDataCollectorCore \
     ytDataCollectorCore \
-    ytDeviceDataInfluxdbWriter \
     ytDeviceTypeInfluxdbWriter
     ytDeviceTypeInfluxdbWriter

+ 0 - 3
ytDataCollector/ytDataCollectorDog/dogcore.cpp

@@ -23,9 +23,6 @@ void DogCore::time_out()
         }
         }
     }
     }
     if((chkTime - dataColShm->influtime)>30){
     if((chkTime - dataColShm->influtime)>30){
-        if((system("killall ytDeviceDataInfluxdbWriter")) != -1){
-            system("/root/bin/ytDeviceDataInfluxdbWriter &");
-        }
         if((system("killall ytDeviceTypeInfluxdbWriter")) != -1){
         if((system("killall ytDeviceTypeInfluxdbWriter")) != -1){
             system("/root/bin/ytDeviceTypeInfluxdbWriter &");
             system("/root/bin/ytDeviceTypeInfluxdbWriter &");
         }
         }