All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.mdb.ContainerProcessingResult Maven / Gradle / Ivy

There is a newer version: 5.10.7
Show newest version
package org.yamcs.mdb;

import java.util.ArrayList;
import java.util.List;

import org.yamcs.ContainerExtractionResult;
import org.yamcs.parameter.LastValueCache;
import org.yamcs.parameter.ParameterValueList;

/**
 * the container result is built during a container processing
 * 

* It is an super class of the {@link ProcessingData} and passed to the ParameteRequestManager to compute algorithms, * trigger alarms, etc. * */ public class ContainerProcessingResult extends ProcessingData { List containers = new ArrayList<>(); long acquisitionTime; long generationTime; final int seqCount; long expireMillis = -1; // -1 means not defined XtceProcessingException exception; public ContainerProcessingResult(long aquisitionTime, long generationTime, int seqCount, LastValueCache procLastValueCache) { super(procLastValueCache, new ParameterValueList(), null, null, null); this.acquisitionTime = aquisitionTime; this.generationTime = generationTime; this.seqCount = seqCount; } public ParameterValueList getParameterResult() { return getTmParams(); } public List getContainerResult() { return containers; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy