Explorar el Código

Fix profile translation when loading from batch log

Neal Wilson hace 6 años
padre
commit
59e0bb17d4
Firmado por: neal <neal@typica.us> GPG Key ID: D6F25C90DD5819DF
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1
    0
      config/Windows/batchdetailsnew.xml
  2. 1
    0
      config/Windows/productionroaster.xml

+ 1
- 0
config/Windows/batchdetailsnew.xml Ver fichero

177
                 input.newAnnotationColumn.connect(log.setHeaderData);
177
                 input.newAnnotationColumn.connect(log.setHeaderData);
178
                 input.measure.connect(graph.newMeasurement);
178
                 input.measure.connect(graph.newMeasurement);
179
                 input.measure.connect(log.newMeasurement);
179
                 input.measure.connect(log.newMeasurement);
180
+				var targetDetector = Windows.loggingWindow.targetDetector;
180
                 input.measure.connect(function(data, series) {
181
                 input.measure.connect(function(data, series) {
181
                     if(series == targetseries) {
182
                     if(series == targetseries) {
182
                         targetDetector.newMeasurement(data);
183
                         targetDetector.newMeasurement(data);

+ 1
- 0
config/Windows/productionroaster.xml Ver fichero

56
 		translationdelay.interval = 0;
56
 		translationdelay.interval = 0;
57
 		translationdelay.singleShot = true;
57
 		translationdelay.singleShot = true;
58
         var targetDetector = new ThresholdDetector;
58
         var targetDetector = new ThresholdDetector;
59
+		window.targetDetector = targetDetector;
59
         window.targetcolumnname = "";
60
         window.targetcolumnname = "";
60
         var currentDetector = new ThresholdDetector;
61
         var currentDetector = new ThresholdDetector;
61
         var translationChannel = -1;
62
         var translationChannel = -1;

Loading…
Cancelar
Guardar