Data for each satellite consists of three lines in the following format: + * + *
+ * AAAAAAAAAAAAAAAAAAAAAAAA + * 1 NNNNNU NNNNNAAA NNNNN.NNNNNNNN +.NNNNNNNN +NNNNN-N +NNNNN-N N NNNNN + * 2 NNNNN NNN.NNNN NNN.NNNN NNNNNNN NNN.NNNN NNN.NNNN NN.NNNNNNNNNNNNNN + *+ * + *
Line 0 is a twenty-four character name (to be consistent with the name length in the NORAD + * SATCAT). + * + *
Lines 1 and 2 are the standard Two-Line Orbital Element Set Format identical to that used by + * NORAD and NASA. The format description is:
Line 1 | + *|
---|---|
Column | + *Description | + *
01 | + *Line Number of Element Data | + *
03-07 | + *Satellite Number | + * + *
08 | + *Classification (U=Unclassified) | + *
10-11 | + * + *International Designator (Last two digits of launch year) | + *
12-14 | + *International Designator (Launch number of the year) | + *
15-17 | + *International Designator (Piece of the launch) | + *
19-20 | + *Epoch Year (Last two digits of year) | + *
21-32 | + *Epoch (Day of the year and fractional portion of the day) | + *
34-43 | + *First Time Derivative of the Mean Motion | + * + *
45-52 | + *Second Time Derivative of Mean Motion (decimal point assumed) | + *
54-61 | + * + *BSTAR drag term (decimal point assumed) | + *
63 | + *Ephemeris type | + *
65-68 | + *Element number | + *
69 | + *Checksum (Modulo 10) + * (Letters, blanks, periods, plus signs = 0; minus signs = 1) |
+ *
+ *
Line 2 | + *|
---|---|
Column | + * + *Description | + *
01 | + *Line Number of Element Data | + *
03-07 | + *Satellite Number | + *
09-16 | + *Inclination [Degrees] | + *
18-25 | + *Right Ascension of the Ascending Node [Degrees] | + *
27-33 | + *Eccentricity (decimal point assumed) | + * + *
35-42 | + *Argument of Perigee [Degrees] | + *
44-51 | + * + *Mean Anomaly [Degrees] | + *
53-63 | + *Mean Motion [Revs per day] | + *
64-68 | + *Revolution number at epoch [Revs] | + *
69 | + *Checksum (Modulo 10) | + *
All other columns are blank or fixed. + * + *
Example: + * + *
+ * NOAA 14 + * 1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621 + * 2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495 + *+ * + *
For further information, see "Frequently Asked Questions: Two-Line + * Element Set Format" in the Computers & + * + *
Satellites column of Satellite Times, Volume 4 Number 3.
Source Update
+ * Version : date : name : comments
+ * V1 : 27 juil. 2005 : C. Mercier : create file
+ *
+ */
+public interface IkeplerienElement {
+
+ /** @return the satellite name. */
+ public String getName();
+ /** @return the satellite number (NORAD) */
+ public int getSatelliteNumber();
+ /**
+ * Returns the julianDate of the epoch.
+ *
+ * @return double
+ */
+ public double getJulianDate();
+ /**
+ * First Time Derivative of the Mean Motion
+ *
+ * @return Return FirstTimeDerivative.
+ */
+ public double getFirstTimeDerivative();
+ /**
+ * Returns the secondTimeDerivative.
+ *
+ * @return double
+ */
+ public double getSecondTimeDerivative();
+ /**
+ * Returns the bSTAR.
+ *
+ * @return double
+ */
+ public double getBSTAR();
+ /**
+ * Returns the inclinationRadian.
+ *
+ * @return double
+ */
+ public double getInclinationRadian();
+ /**
+ * Returns the rightAccensionRadian.
+ *
+ * @return double
+ */
+ public double getInclinationDegree();
+ /**
+ * Returns the rightAccensionDegree.
+ *
+ * @return double
+ */
+ public double getRightAccensionRadian();
+ /**
+ * Returns the RightAccension.
+ *
+ * @return double
+ */
+ public double getRightAccensionDegree();
+ /**
+ * Returns the eccentricity.
+ *
+ * @return double
+ */
+ public double getEccentricity();
+ /**
+ * Returns the argumentOfPerigeeRadian.
+ *
+ * @return double
+ */
+ public double getArgumentOfPerigeeRadian();
+ /**
+ * Returns the argumentOfPerigeeDegree.
+ *
+ * @return double
+ */
+ public double getArgumentOfPerigeeDegree();
+ /**
+ * Returns the meanAnomaly in Radian.
+ *
+ * @return double
+ */
+ public double getMeanAnomalyRadian();
+ /**
+ * Returns the meanAnomaly in Degree.
+ *
+ * @return double
+ */
+ public double getMeanAnomalyDegree();
+ /**
+ * Returns the meanMotion.
+ *
+ * @return double
+ */
+ public double getMeanMotion();
+
+ public double getEpochOrbit();
+
+ public int getOrbitnum();
+ /** @return */
+ public double getMeanPeriod();
+
+ /** @param FirstTimeDerivative */
+ public void setFirstTimeDerivative(double FirstTimeDerivative);
+ /** @param _EpochOrbit */
+ public void setEpochOrbit(double _EpochOrbit);
+ /**
+ * return true if the satellite is geostationary.
+ *
+ * @return true = satellite is geostationary
+ */
+ public boolean isGeostationary();
+ /**
+ * Surcharge de la methode toString
+ *
+ * @return String
+ */
+ public String toString();
+
+ public void setArgumentOfPerigeeRadian(double argumentOfPerigeeRadian);
+ /**
+ * Sets the bSTAR.
+ *
+ * @param bSTAR The bSTAR to set
+ */
+ public void setBSTAR(double bSTAR);
+ /**
+ * Sets the eccentricity.
+ *
+ * @param eccentricity The eccentricity to set
+ */
+ public void setEccentricity(double eccentricity);
+ /**
+ * Sets the inclinationRadian.
+ *
+ * @param inclinationRadian The inclinationRadian to set
+ */
+ public void setInclinationRadian(double inclinationRadian);
+ /**
+ * Sets the meanAnomalyRadian.
+ *
+ * @param meanAnomalyRadian The meanAnomalyRadian to set
+ */
+ public void setMeanAnomalyRadian(double meanAnomalyRadian);
+ /**
+ * Sets the meanMotion.
+ *
+ * @param meanMotion The meanMotion to set
+ */
+ public void setMeanMotion(double meanMotion);
+ /**
+ * Sets the rightAccensionRadian.
+ *
+ * @param rightAccensionRadian The rightAccensionRadian to set
+ */
+ public void setRightAccensionRadian(double rightAccensionRadian);
+ /**
+ * Sets the secondTimeDerivative.
+ *
+ * @param secondTimeDerivative The secondTimeDerivative to set
+ */
+ public void setSecondTimeDerivative(double secondTimeDerivative);
+
+ /**
+ * Sets the julianDate.
+ *
+ * @param julianDate The julianDate to set
+ */
+ public void setJulianDate(double julianDate);
+ /** @param orbitnum The orbitnum to set. */
+ public void setOrbitnum(int orbitnum);
+
+ public int getEpochYear();
+
+ public double getEpochDay();
+
+ public String[] getTwoline();
+}
diff --git a/ApplicationJMultisat/src/main/java/org/josast/keplerelement/KeplerianElementCollection.java b/ApplicationJMultisat/src/main/java/org/josast/keplerelement/KeplerianElementCollection.java
new file mode 100644
index 0000000000000000000000000000000000000000..796dcfd0075702d85bab45240aff620f7f7243e4
--- /dev/null
+++ b/ApplicationJMultisat/src/main/java/org/josast/keplerelement/KeplerianElementCollection.java
@@ -0,0 +1,23 @@
+package org.josast.keplerelement;
+
+import java.util.HashMap;
+import java.util.Map;
+
+public class KeplerianElementCollection extends HashMap date 9 mai 2004
+ * Source Update
+ */
+import java.util.Enumeration;
+import java.util.Hashtable;
+import java.util.logging.Logger;
+
+import org.josast.keplerelement.IkeplerienElement;
+import org.josast.keplerelement.IKelplerianElementManager;
+import org.josast.keplerelement.KeplerienElement;
+import org.josast.satellite.SatelliteInformation;
+import org.josast.satellite.SatelliteInformationInterface;
+
+public class KeplerianFileManager implements IKelplerianElementManager {
+
+ private static Logger appLogger = Logger.getLogger("AmsatLogger");
+
+ private String listeSatellite[];
+ private SatelliteInformationInterface satelliteInfo[];
+ String _inputFileName = null;
+ Hashtable Projet : JOSAST Source Update
+ */
+public class GenericDate {
+ // ~ Instance fields ---------------------------------------------------
+
+ /** DOCUMENT ME! */
+ private int _year;
+
+ /** DOCUMENT ME! */
+ private int _month;
+
+ /** DOCUMENT ME! */
+ private int _day;
+
+ /** DOCUMENT ME! */
+ private int _hour;
+
+ /** DOCUMENT ME! */
+ private int _minute;
+
+ /** DOCUMENT ME! */
+ private int _seconde;
+
+ // ~ Constructors ------------------------------------------------------
+
+ /**
+ * Creates a new GenericDate object. date 7 ao�t 2003
+ *
+ * Source Update This class is a set of static method to use Julian day.
+ *
+ * Algorithm are based on french version of the Jean Meeus book "Calculs Astronomiques � l'usage
+ * des Amateurs" editor : soci�t� Astronomique de France.
+ *
+ *
+ *
+ * @author XTOPHE josast at avmdti.org
+ * @version 1.1
+ */
+public class JulianDay {
+ // ~ Static fields/initializers ----------------------------------------
+
+ private static final double EPOCH_JAN1_00H_1900 = 2415019.5; // Jan 1.0 1900
+ // = Jan 1 1900
+ // 00h UTC
+
+ // = Jan 1 1900
+ // 12h UTC
+
+ // = Jan 1 2000
+
+ /** DOCUMENT ME! */
+ private static final double EPOCH_JAN1_12H_1900 = 2415020.0; // Jan 1.5 1900 = Jan 1 1900 12h UTC
+ // 12h UTC
+
+ // ~ Constructors ------------------------------------------------------
+
+ // ~ Methods -----------------------------------------------------------
+
+ // static method in the class, the constructor is not needed
+
+ private JulianDay() {}
+
+ /**
+ * Convert epoch from TLE data to julian day this method is valid from 1957 through 2056 epoch is
+ * : yyddd.ddddddd where yy is year ddd.ddddddd is day of the curent year
+ *
+ * @param epoch
+ * @return
+ */
+ public static double convertToJulianDay(double epoch) {
+ double year, day, JDoE;
+ /* Valid 1957 through 2056 */
+ year = Math.floor(epoch * 1.0E-3);
+ if (year < 57) year += 2000;
+ else year += 1900;
+ day = epoch - (Math.floor(epoch * 1.0E-3)) * 1.0E3;
+ JDoE = Julian_Date_of_Year(year) + day;
+
+ return JDoE;
+ }
+
+ /**
+ * Astronomical Formulae for Calculators, Jean Meeus, pages 23-25 Calculate Julian Date of 0.0 Jan
+ * year
+ *
+ * @param year
+ * @return Julian day
+ */
+ public static double Julian_Date_of_Year(double year) {
+ /* Astronomical Formulae for Calculators, Jean Meeus, pages 23-25
+ Calculate Julian Date of 0.0 Jan year */
+ double A, B, JDoY;
+ year = year - 1.0;
+ A = Math.floor(year / 100.0);
+ B = 2.0 - A + Math.floor(A / 4.0);
+ JDoY = Math.floor(365.25 * year) + Math.floor(30.6001 * 14.0) + 1720994.5 + B;
+
+ return JDoY;
+ }
+
+ /**
+ * Method diffdate
+ *
+ * This method realise the difference between 2 date. The folowing treatement is made : -
+ * convert the 2 date in Julian Day - return the difference between the 2 Julian Day .
+ *
+ * @param d1
+ * @param d2
+ * @return double
+ */
+ public static double diffdate(GregorianCalendar d1, GregorianCalendar d2) {
+ return convertToJulianDay(d1) - convertToJulianDay(d2);
+ }
+
+ /**
+ * Method addJours.
+ *
+ * This method allows to add a number of day to a date. The folowing treatement is made : -
+ * convert the date to Julian Day - add the number of day - convert the date to GregorianCalendar
+ *
+ * @param d1 date
+ * @param jour number of day to add
+ * @return GregorianCalendar
+ */
+ public static GregorianCalendar addDays(GregorianCalendar d1, long jour) {
+ double JDd1 = convertToJulianDay(d1);
+ JDd1 += jour;
+ return convertToGregorianCalendar(JDd1);
+ }
+
+ /**
+ * Method convertToJourJulien.
+ *
+ * This method convert a date in Julian Day.
+ *
+ * This method call the convertToJourJulien(int annee,int mois,int jour,int heure,int
+ * minute,int seconde)
+ *
+ * @param date
+ * @return double
+ */
+ public static double convertToJulianDay(GregorianCalendar date) {
+
+ return convertToJulianDay(
+ date.get(GregorianCalendar.YEAR),
+ date.get(GregorianCalendar.MONTH) + 1,
+ date.get(GregorianCalendar.DAY_OF_MONTH),
+ date.get(GregorianCalendar.HOUR_OF_DAY),
+ date.get(GregorianCalendar.MINUTE),
+ date.get(GregorianCalendar.SECOND));
+ }
+ /**
+ * Method convertToJourJulien.
+ *
+ * This method convert a date in Julian Day.
+ *
+ * This method call the convertToJourJulien(int annee,int mois,int jour,int heure,int
+ * minute,int seconde)
+ *
+ * @param date
+ * @return double
+ */
+ public static double convertToJulianDay(GenericDate date) {
+ return convertToJulianDay(
+ date.get_year(),
+ date.get_month(),
+ date.get_day(),
+ date.get_hour(),
+ date.get_minute(),
+ date.get_seconde());
+ }
+
+ /**
+ * Method convertToJourJulien.
+ *
+ * This method concert a date in Julian Date. The algorithm from the Jean Meeus book is used.
+ *
+ * This method as been tested with the exemple of the book. cf Unit test.
+ *
+ * Be carrefull the input are not checked.
+ *
+ * @param annee positive and negative year coold be used
+ * @param mois 1->junary 12->december
+ * @param jour 1 to 31
+ * @param heure 0-24
+ * @param minute 0-59
+ * @param seconde 0-59
+ * @return double julian date.
+ */
+ public static double convertToJulianDay(
+ int annee, int mois, int jour, int heure, int minute, int seconde) {
+ // d�tection si la date est > 1582.1015
+ double A = 0;
+ double B = 0;
+ double date = annee + mois / 100.0 + jour / 10000.0;
+ double JulianDate = 0;
+
+ double y = annee;
+ double m = mois;
+ double j = heure / 24.0 + (minute / (24 * 60.0)) + (seconde / (3600.0 * 24.0));
+ // MCR 15-2-2004 correction suite a un d�faut d�tect� sur le mois de f�vier
+ // remplacement du < par <= puisque les mois de janvier et f�vier sont consid�r� comme
+ // les 13eme et 14eme mois.
+
+ if (mois <= 2) {
+ y = y - 1;
+ m = m + 12;
+ }
+
+ if (date > 1582.1015) {
+ A = ENT(y / 100.0);
+ B = 2 - A + ENT(A / 4.0);
+ } else {
+ A = 0;
+ B = 0;
+ }
+
+ if (y > 0) {
+ JulianDate = ENT(365.25 * y) + ENT(30.6001 * (m + 1)) + jour + j + 1720994.5 + B;
+ } else {
+ JulianDate = ENT(365.25 * y - 0.75) + ENT(30.6001 * (m + 1)) + jour + j + 1720994.5 + B;
+ }
+
+ return JulianDate;
+ }
+
+ /**
+ * This method concert a date in Julian Date Modified with origin 1/1/2000 0H.
+ *
+ * The time scale used here is a "day number" from 2000 Jan 0.0 TDT, which is the same as 1999
+ * Dec 31.0 TDT, i.e. precisely at midnight TDT at the start of the last day of this century. With
+ * the modest accuracy we strive for here, one can usually disregard the difference between TDT
+ * (formerly canned ET) and UT.
+ *
+ * @param annee
+ * @param mois
+ * @param jour
+ * @param heure
+ * @param minute
+ * @param seconde
+ * @return
+ */
+ public static double convertToJulianDay2000(
+ int annee, int mois, int jour, int heure, int minute, int seconde) {
+ return convertToJulianDay(annee, mois, jour, heure, minute, seconde) - 2451543.5d;
+ }
+
+ /**
+ * Method convertToGregorianCalendar.
+ *
+ * This method convert an Julian date to a Gregorian Calendar date.
+ *
+ * @param JulianDate
+ * @return GregorianCalendar
+ */
+ public static GregorianCalendar convertToGregorianCalendar(double JulianDate) {
+ double Z = ENT(JulianDate + 0.5);
+ double A = 0;
+ if (Z < 2299161) {
+ A = Z;
+ } else {
+ double alpha = ENT((Z - 1867216.25) / 36524.35);
+ A = Z + 1 + alpha - ENT(alpha / 4);
+ }
+
+ double F = JulianDate + 0.5 - Z;
+
+ double B = A + 1524;
+ double C = ENT((B - 122.1) / 365.25);
+ double D = ENT(365.25 * C);
+ double E = ENT((B - D) / 30.6001);
+ double tempjour = B - D - ENT(30.6001 * E) + F;
+
+ int jour = (int) ENT(tempjour);
+ double temp = tempjour - jour;
+
+ double ensecondes = 24 * 60 * 60 * temp;
+
+ int heure = (int) ENT(ensecondes / 3600);
+ int minute = (int) ENT((ensecondes - (3600 * heure)) / 60.0);
+ int secondes = (int) ensecondes - ((3600 * heure) + (60 * minute));
+ int mois = (int) E - 1;
+
+ if (E > 13.5) {
+ mois = (int) E - 13;
+ }
+
+ int annee = (int) C - 4716;
+ if (mois < 2.5) {
+ annee = (int) C - 4715;
+ }
+ System.err.println("" + annee + "" + mois + "" + jour);
+ return new GregorianCalendar(annee, mois - 1, jour, heure, minute, secondes);
+ }
+
+ /**
+ * Method ENT.
+ *
+ * @param valeur
+ * @return double
+ */
+ private static double ENT(double valeur) {
+ long l = (long) valeur;
+ return l * 1.0;
+ }
+
+ /**
+ * Method convertToGenericDate.
+ *
+ * @param JulianDate
+ * @return GenericDate
+ */
+ public static GenericDate convertToGenericDate(double JulianDate) {
+ double Z = ENT(JulianDate + 0.5);
+ double A = 0;
+ if (Z < 2299161) {
+ A = Z;
+ } else {
+ double alpha = ENT((Z - 1867216.25) / 36524.35);
+ A = Z + 1 + alpha - ENT(alpha / 4);
+ }
+
+ double F = JulianDate + 0.5 - Z;
+
+ double B = A + 1524;
+ double C = ENT((B - 122.1) / 365.25);
+ double D = ENT(365.25 * C);
+ double E = ENT((B - D) / 30.6001);
+ double tempjour = B - D - ENT(30.6001 * E) + F;
+
+ int jour = (int) ENT(tempjour);
+ double temp = tempjour - jour;
+
+ double ensecondes = 24 * 60 * 60 * temp;
+
+ int heure = (int) ENT(ensecondes / 3600);
+ int minute = (int) ENT((ensecondes - (3600 * heure)) / 60.0);
+ int secondes = (int) ensecondes - ((3600 * heure) + (60 * minute));
+ int mois = (int) E - 1;
+
+ if (E > 13.5) {
+ mois = (int) E - 13;
+ }
+
+ int annee = (int) C - 4716;
+ if (mois < 2.5) {
+ annee = (int) C - 4715;
+ }
+
+ return new GenericDate(annee, mois, jour, heure, minute, secondes);
+ }
+ /**
+ * DOCUMENT ME!
+ *
+ * @param m_Date julian day
+ * @return number of day from 1/1/1900 OH
+ */
+ public static double FromJan1_00h_1900(double m_Date) {
+ return m_Date - EPOCH_JAN1_00H_1900;
+ }
+
+ /**
+ * DOCUMENT ME!
+ *
+ * @param m_Date julian day
+ * @return number of day from 1/1/1900 12H
+ */
+ public static double FromJan1_12h_1900(double m_Date) {
+ return m_Date - EPOCH_JAN1_12H_1900;
+ }
+
+ /**
+ * DOCUMENT ME!
+ *
+ * @param m_Date julian day
+ * @return number of day from 1/1/2000 12H
+ */
+ public static double FromJan1_12h_2000(double m_Date) {
+ return m_Date - EPOCH_JAN1_12H_2000;
+ }
+
+ /** DOCUMENT ME! */
+ private static final double EPOCH_JAN1_12H_2000 = 2451545.0; // Jan 1.5 2000 = Jan 1 2000 12h UTC
+
+ public static double getFromJan1_12h_2000(double date) {
+ return date - EPOCH_JAN1_12H_2000;
+ }
+
+ // ~ Constructors ------------------------------------------------------
+
+ // static method in the class, the constructor is not needed
+
+}
diff --git a/ApplicationJMultisat/src/main/java/org/josast/keplerelement/util/ParseCharArray.java b/ApplicationJMultisat/src/main/java/org/josast/keplerelement/util/ParseCharArray.java
new file mode 100644
index 0000000000000000000000000000000000000000..6fd6911e7bcc1c94907396775a3ca5c813b36d2b
--- /dev/null
+++ b/ApplicationJMultisat/src/main/java/org/josast/keplerelement/util/ParseCharArray.java
@@ -0,0 +1,196 @@
+package org.josast.keplerelement.util;
+
+/*
+ * Created on Jul 22, 2004
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+
+/**
+ * convert an array of char in double or integer
+ *
+ * @author Xtophe
+ * @version 1.0
+ */
+public class ParseCharArray {
+ // ~ Methods -----------------------------------------------------------
+
+ /*
+ * ------------------------------------------------------------------- *
+ * ---------------------------- double_value ------------------------- *
+ * -------------------------------------------------------------------
+ */
+
+ /**
+ * @param c1 Array of char
+ * @param pos First caractere to convert
+ * @param len Lenght of the convertion
+ * @return
+ */
+ public static double double_value(char c1[], int pos, int len) {
+ double d = 0;
+ int i;
+ int j = 0;
+
+ for (i = 0; (i < len); i++) {
+ switch (c1[i + pos]) {
+ case ' ':
+ break;
+
+ case '0':
+ d *= 10;
+
+ break;
+
+ case '1':
+ d *= 10;
+ d++;
+
+ break;
+
+ case '2':
+ d *= 10;
+ d += 2;
+
+ break;
+
+ case '3':
+ d *= 10;
+ d += 3;
+
+ break;
+
+ case '4':
+ d *= 10;
+ d += 4;
+
+ break;
+
+ case '5':
+ d *= 10;
+ d += 5;
+
+ break;
+
+ case '6':
+ d *= 10;
+ d += 6;
+
+ break;
+
+ case '7':
+ d *= 10;
+ d += 7;
+
+ break;
+
+ case '8':
+ d *= 10;
+ d += 8;
+
+ break;
+
+ case '9':
+ d *= 10;
+ d += 9;
+
+ break;
+
+ case '.':
+ j = len - i - 1;
+
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ d /= Math.pow(10.0, j);
+
+ return d;
+ }
+
+ /**
+ * @param c1 Array of char
+ * @param pos First caractere to convert
+ * @param len Lenght of the convertion
+ * @return
+ */
+ public static int integer_value(char c1[], int pos, int len) {
+ int d = 0;
+ int i;
+
+ for (i = 0; (i < len); i++) {
+ switch (c1[i + pos]) {
+ case ' ':
+ break;
+
+ case '0':
+ d *= 10;
+
+ break;
+
+ case '1':
+ d *= 10;
+ d++;
+
+ break;
+
+ case '2':
+ d *= 10;
+ d += 2;
+
+ break;
+
+ case '3':
+ d *= 10;
+ d += 3;
+
+ break;
+
+ case '4':
+ d *= 10;
+ d += 4;
+
+ break;
+
+ case '5':
+ d *= 10;
+ d += 5;
+
+ break;
+
+ case '6':
+ d *= 10;
+ d += 6;
+
+ break;
+
+ case '7':
+ d *= 10;
+ d += 7;
+
+ break;
+
+ case '8':
+ d *= 10;
+ d += 8;
+
+ break;
+
+ case '9':
+ d *= 10;
+ d += 9;
+
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ return d;
+ }
+}
diff --git a/ApplicationJMultisat/src/main/java/org/josast/satellite/ManageSatellites.java b/ApplicationJMultisat/src/main/java/org/josast/satellite/ManageSatellites.java
new file mode 100644
index 0000000000000000000000000000000000000000..7630f75b76cb7b8522b4e7db65ef3882552c0f65
--- /dev/null
+++ b/ApplicationJMultisat/src/main/java/org/josast/satellite/ManageSatellites.java
@@ -0,0 +1,129 @@
+package org.josast.satellite;
+
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.json.Json;
+import javax.json.JsonArray;
+import javax.json.JsonObject;
+import javax.json.JsonReader;
+import javax.json.JsonValue;
+import javax.json.bind.Jsonb;
+import javax.json.bind.JsonbBuilder;
+
+public class ManageSatellites {
+
+ SatelliteInformationInterface[] satellites = null;
+
+ Map
+KISS TOOL helps to decode data from Satellite and send them to databases (SatNogs,AMSAT-F,PICSAT).
+This application is written in java with javaFx library. The application can be executed on all operating system supporting Java.
+The input data for KISS TOOL come from demodulator thanks to TCP KISS protocol.
+
+ Ce logiciel a été créé initialement pour aider à récupérer des trames de télémesures au format AX25 pour permettre de les analyser ou de les envoyer vers des bases de données. Le logiciel permet de : Le logiciel est téléchargeable via les liens suivants : Pour recevoir les trames d'UVSQsat, il est nécessaire d’avoir Pour les satellites UVSQsat & InspireSat7 un modem compatible BPSK GR3UH 1200 bauds ou BPSK GR3UH 9600 bauds avec une interface TCP KISS ( Soundmodem) Une fois le fichier téléchargé, décompressez le fichier dans un répertoire de votre choix. Sélectionner le fichier, clic droit et ensuite extraire le fichier Par ligne de commande : Allez dans le répertoire où vous avez décompressé le fichier téléchargé. cliquez deux fois sur le fichier "launchKISSTOOL.bat " ou lancer le sript lancer le script : Au bout de quelques secondes, l'interface du logiciel s'affiche 5 onglets sont disponibles : Selectionnez l'onglet Configuration 1 : permet d’indiquer son indicatif 2 : permet d’indiquer la latitude de la station au format XX.XXS pour Sud ou XX.XXN pour le Nord. 3 : permet d’indiquer la longitude de la station au format XX.XXE pour East ou XX.XXW pour l’Ouest 4 : si la case est cochée, l’envoie de trame vers la base de données sélectionnée sera activée. Les 3 bases de données peuvent être sélectionnées. 5 : texte utilisé dans le protocole SIDS pour identifier la source 6 : défini le répertoire ou seront stokés les fichiers 7: permet de sélectionner le format du fichier Json ou binaire. Les fichiers ne contiennent qu'une seule trame. 8 : Adresse IP du démodulateur , par défaut localhost (127.0.0.1) 9 : Port , par défaut 8100 pour Soundmodem 10 : Sauvegarde le configuration dans un fichier texte situé dans le répertoire Config. La configuration est prise en compte immédiatement. Au prochain lancement, le logiciel reprendra les données de configuration sauvegardées 4 : si le logiciel a accès à internet, il ira chercher les dernières informations et indiquera si une nouvelle version est disponible. L’affectation du Numéro TLE sera automatiquement mis à jours. 1 : Adresse IP du démodulateur , par défaut localhost 2 : Port , par défaut 8100 pour Soundmodem 3 : Start permet de se connecter à démodulateur . Le démodulateur doit avoir été lancé avant. 5 : il est possible de définir le satellite par défaut. Cette information ne sera utilisé que si le satellite n'est pas reconnu par le logiciel. Il est possible d'ajouter d'autres satellite en configurant le fichier "SatelliteNoradList.json" situé dans le répertoire app/config L’appuie sur le bouton start 3 lance la connexion avec le démodulateur 1 : le résultat de la connexion s’affiche 3 : si la cercle est vert, le modem est connecté. Si un erreur se produit et le modem se déconnecte, le cercle passe en rouge 2 : le bouton Stop permet d’arrêter la connexion avec soundmodem. Ce sera effectif après la réception d’une trame 1 : Le nombre de trames reçues et traitées est affiché 2 : le bouton Stop permet d’arrêter la connexion avec soundmodem. Ce sera effectif après la réception d’une trame 3 : Indique le nombre de trames envoyées vers la base de données concernée. Le cercle est vert si l'envoie est réussi, sinon il est rouge. La raison est donnée dans l'onglet log 4 : N° Norad du satellite décodé 5 : Trame de télémesure décodée. Une rubrique dédié sur le Forum de l'AMSAT-Francophone est à votre disposition : Rubrique Kisstool Decoder GNU Lesser General Public License v2.1 Spino cube = new Spino(new ByteBufferKaitaiStream(data));
+ *
+ * System.out.println( "Source" +
+ * cube.ax25Frame().ax25Header().srcCallsignRaw().srcCallsignRor().srcCallsign());
+ * System.out.println( "Destination" + cube.ax25Frame() .ax25Header() .destCallsignRaw()
+ * .destCallsignRor() .destCallsign());
+ *
+ * switch (cube.ax25Frame().payloadvalue().responseType()) { case 64:
+ * System.out.print(" TELEMETRY "); break; case 128: System.out.print(" CMD RESPONSE ");
+ * break; case 65: System.out.print(" INFORMATION_MSG "); InformationMessage inf =
+ * (InformationMessage) cube.ax25Frame().payloadvalue().responsetype();
+ * System.out.println(inf.messagea()); break; case 32: System.out.print("
+ * RESULT_DROP_MESSAGE "); ResponseLastDrop repdrop = (ResponseLastDrop)
+ * cube.ax25Frame().payloadvalue().responsetype(); break; default: System.out.print( "
+ * RESPONSE TYPE : " + cube.ax25Frame().payloadvalue().responseType()); }
+ *
+ * // System.out.print(" ERROR CODE : "+ cube.ax25Frame().payloadvalue().errorCode());
+ * if (cube.ax25Frame().payloadvalue().errorCode() == 0) { System.out.println(" SUCCESS !
+ * "); } else { System.out.println(" ERROR CODE : " +
+ * cube.ax25Frame().payloadvalue().errorCode()); }
+ *
+ * // System.out.println("CMD ID : "+ cube.ax25Frame().payloadvalue();
+ */
+ }
+
+ } catch (IOException e) {
+ System.err.println("Connection problem");
+ }
+ }
+ }
+}
diff --git a/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/800px-Logo.svg.png b/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/800px-Logo.svg.png
new file mode 100644
index 0000000000000000000000000000000000000000..6529fa61dc604a50947b777c0d117e0fcb523278
Binary files /dev/null and b/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/800px-Logo.svg.png differ
diff --git a/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/logoAmsat.png b/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/logoAmsat.png
new file mode 100644
index 0000000000000000000000000000000000000000..0d040fba4b8e99ac74424b8e65bf4a9b05995fde
Binary files /dev/null and b/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/logoAmsat.png differ
diff --git a/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/primary.fxml b/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/primary.fxml
new file mode 100644
index 0000000000000000000000000000000000000000..eee01ffe292d174779fe9ad2769cc839c5972a33
--- /dev/null
+++ b/ApplicationSpinoControlCenter/src/main/resources/org/josast/ApplicationSpinoControlCenter/primary.fxml
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ For each application according the type of application a process is defined.
+ *
+ * @author Christophe Mercier
+ */
+public class Application {
+
+ private String name = ""; // Application name
+ private String commande = "NOT INSTANTIATED"; // Application executable
+ private String type = "GENERIC"; // Application type
+ private String path = null; // Application Path
+ private String argument = ""; // Application argument
+ private String status = "Not Started";
+ private String scope = "GLOBAL";
+
+ private ProcessBuilderCollection processBuilderCollection = new ProcessBuilderCollection();
+
+ /** Application process has been created. */
+ public static final int RUNNING = 1;
+
+ /** application process is not created */
+ public static final int NOTRUNNING = 0;
+
+ // private static final Logger LOG = Logger.getLogger("AmsatLogger");
+
+ public Application() {}
+
+ // public Application(String name2, String path2, String commande2, String argument2) {
+ // name = name2;
+ // commande = commande2;
+ // path = path2;
+ // argument = argument2;
+ // }
+ public Application(String name, String commande, String scope, String path, String argument) {
+ this.name = name;
+ this.commande = commande;
+ this.scope = scope;
+ this.path = path;
+ this.argument = argument;
+ }
+
+ public Application(
+ String name, String commande, String scope, String path, String argument, String type) {
+ this.name = name;
+ this.commande = commande;
+ this.scope = scope;
+ this.path = path;
+ this.argument = argument;
+ this.type = type;
+ }
+
+ public List : Writing rules should be respected (see JOSAST project) : - for interpreted value, variable
+ * should finish with : _raw if no interpretation is done : _c, _ma _v _dbm _mw according to the
+ * interpreted value : - the name of the interpreted value should be close to the displaed name (to
+ * limit rework) : _c, _ma _v _dbm _mw are automaticaly converted to (C) (mA) (dbm) (mW) : :field
+ * dest_callsign: ax25_frame.ax25_header.dest_callsign_raw.callsign_ror.callsign :field
+ * src_callsign: ax25_frame.ax25_header.src_callsign_raw.callsign_ror.callsign :field src_ssid:
+ * ax25_frame.ax25_header.src_ssid_raw.ssid :field dest_ssid:
+ * ax25_frame.ax25_header.dest_ssid_raw.ssid :field ctl: ax25_frame.ax25_header.ctl :field pid:
+ * ax25_frame.payload.pid
+ */
+public class InspireSat7 extends KaitaiStruct {
+ public static InspireSat7 fromFile(String fileName) throws IOException {
+ return new InspireSat7(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public InspireSat7(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public InspireSat7(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public InspireSat7(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root == null ? this : _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ax25Frame = new Ax25Frame(this._io, this, _root);
+ }
+
+ public static class Ax25Frame extends KaitaiStruct {
+ public static Ax25Frame fromFile(String fileName) throws IOException {
+ return new Ax25Frame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Ax25Frame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Ax25Frame(KaitaiStream _io, InspireSat7 _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Ax25Frame(KaitaiStream _io, InspireSat7 _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ax25Header = new Ax25Header(this._io, this, _root);
+ switch ((ax25Header().ctl() & 19)) {
+ case 0:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 3:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 2:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ }
+ }
+
+ private Ax25Header ax25Header;
+ private KaitaiStruct payload;
+ private InspireSat7 _root;
+ private InspireSat7 _parent;
+
+ public Ax25Header ax25Header() {
+ return ax25Header;
+ }
+
+ public KaitaiStruct payload() {
+ return payload;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7 _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Ax25Header extends KaitaiStruct {
+ public static Ax25Header fromFile(String fileName) throws IOException {
+ return new Ax25Header(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Ax25Header(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.destCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.destSsidRaw = new SsidMask(this._io, this, _root);
+ this.srcCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.srcSsidRaw = new SsidMask(this._io, this, _root);
+ this.ctl = this._io.readU1();
+ }
+
+ private CallsignRaw destCallsignRaw;
+ private SsidMask destSsidRaw;
+ private CallsignRaw srcCallsignRaw;
+ private SsidMask srcSsidRaw;
+ private int ctl;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public CallsignRaw destCallsignRaw() {
+ return destCallsignRaw;
+ }
+
+ public SsidMask destSsidRaw() {
+ return destSsidRaw;
+ }
+
+ public CallsignRaw srcCallsignRaw() {
+ return srcCallsignRaw;
+ }
+
+ public SsidMask srcSsidRaw() {
+ return srcSsidRaw;
+ }
+
+ public int ctl() {
+ return ctl;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class UiFrame extends KaitaiStruct {
+ public static UiFrame fromFile(String fileName) throws IOException {
+ return new UiFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public UiFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public UiFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public UiFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.packetPrimaryHeader = new PacketPrimaryHeader(this._io, this, _root);
+ this.packetSecondaryHeader = new PacketSecondaryHeader(this._io, this, _root);
+ switch (packetSecondaryHeader().sid()) {
+ case 14:
+ {
+ this.tlm = new AmsatAscii(this._io, this, _root);
+ break;
+ }
+ case 17:
+ {
+ this.tlm = new IobcStatus(this._io, this, _root);
+ break;
+ }
+ case 24:
+ {
+ this.tlm = new TrxvutxHk(this._io, this, _root);
+ break;
+ }
+ case 20:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.tlm = new LvStatus(this._io, this, _root);
+ break;
+ }
+ case 23:
+ {
+ this.tlm = new ImtqHk(this._io, this, _root);
+ break;
+ }
+ case 15:
+ {
+ this.tlm = new Beacon(this._io, this, _root);
+ break;
+ }
+ case 21:
+ {
+ this.tlm = new IepsHkStatus(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.tlm = new AntsHk(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.tlm = new IobcHk(this._io, this, _root);
+ break;
+ }
+ case 25:
+ {
+ this.tlm = new AntsStatus(this._io, this, _root);
+ break;
+ }
+ case 22:
+ {
+ this.tlm = new TrxvurxHk(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ }
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private PacketPrimaryHeader packetPrimaryHeader;
+ private PacketSecondaryHeader packetSecondaryHeader;
+ private KaitaiStruct tlm;
+ private byte[] ax25Info;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public PacketPrimaryHeader packetPrimaryHeader() {
+ return packetPrimaryHeader;
+ }
+
+ public PacketSecondaryHeader packetSecondaryHeader() {
+ return packetSecondaryHeader;
+ }
+
+ public KaitaiStruct tlm() {
+ return tlm;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Callsign extends KaitaiStruct {
+ public static Callsign fromFile(String fileName) throws IOException {
+ return new Callsign(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Callsign(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Callsign(KaitaiStream _io, InspireSat7.CallsignRaw _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Callsign(KaitaiStream _io, InspireSat7.CallsignRaw _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.callsign = new String(this._io.readBytes(6), Charset.forName("ASCII"));
+ }
+
+ private String callsign;
+ private InspireSat7 _root;
+ private InspireSat7.CallsignRaw _parent;
+
+ public String callsign() {
+ return callsign;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.CallsignRaw _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketPrimaryHeader extends KaitaiStruct {
+ public static PacketPrimaryHeader fromFile(String fileName) throws IOException {
+ return new PacketPrimaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.packetVersionNumber = this._io.readBitsIntBe(3);
+ this.packetIdPacketType = this._io.readBitsIntBe(1) != 0;
+ this.packetIdSecondaryHeaderFlag = this._io.readBitsIntBe(1) != 0;
+ this.packetIdApplicationProcessId = this._io.readBitsIntBe(11);
+ this.packetSequenceControlSecquenceFlag = this._io.readBitsIntBe(2);
+ this.packetSequenceControlCountOrName = this._io.readBitsIntBe(14);
+ this._io.alignToByte();
+ this.packetDataLength = this._io.readU2be();
+ }
+
+ private long packetVersionNumber;
+ private boolean packetIdPacketType;
+ private boolean packetIdSecondaryHeaderFlag;
+ private long packetIdApplicationProcessId;
+ private long packetSequenceControlSecquenceFlag;
+ private long packetSequenceControlCountOrName;
+ private int packetDataLength;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long packetVersionNumber() {
+ return packetVersionNumber;
+ }
+
+ public boolean packetIdPacketType() {
+ return packetIdPacketType;
+ }
+
+ public boolean packetIdSecondaryHeaderFlag() {
+ return packetIdSecondaryHeaderFlag;
+ }
+
+ public long packetIdApplicationProcessId() {
+ return packetIdApplicationProcessId;
+ }
+
+ public long packetSequenceControlSecquenceFlag() {
+ return packetSequenceControlSecquenceFlag;
+ }
+
+ public long packetSequenceControlCountOrName() {
+ return packetSequenceControlCountOrName;
+ }
+
+ public int packetDataLength() {
+ return packetDataLength;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class TrxvutxHk extends KaitaiStruct {
+ public static TrxvutxHk fromFile(String fileName) throws IOException {
+ return new TrxvutxHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public TrxvutxHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public TrxvutxHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public TrxvutxHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.data = this._io.readBytesFull();
+ }
+
+ private byte[] messageStr;
+
+ public byte[] messageStr() {
+ if (this.messageStr != null) return this.messageStr;
+ this.messageStr = data();
+ return this.messageStr;
+ }
+
+ private byte[] data;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public byte[] data() {
+ return data;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardAllScience extends KaitaiStruct {
+ public static MainboardAllScience fromFile(String fileName) throws IOException {
+ return new MainboardAllScience(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardAllScience(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardScienceTime = this._io.readU4be();
+ this.teachWearOn = this._io.readU1();
+ this.frequenceOfAcquisitions = this._io.readU2be();
+ this.gain = this._io.readU4be();
+ this.numberOfAcquisitionCommanded = this._io.readU2be();
+ this.numberOfRealAcquisition = this._io.readU2be();
+ this.hkPlus5v = this._io.readU4be();
+ this.hkMinus5v = this._io.readU4be();
+ this.hkMinus5vPolar = this._io.readU4be();
+ this.hkTempAdc = this._io.readU4be();
+ this.hkFeePlusXVref = this._io.readU4be();
+ this.hkFeeMinusXVref = this._io.readU4be();
+ this.hkFeePlusYVref = this._io.readU4be();
+ this.hkFeeMinusYVref = this._io.readU4be();
+ this.feePlusXErs1Signal = this._io.readU4be();
+ this.feePlusXErs1Temperature = this._io.readU4be();
+ this.feePlusXErs2Signal = this._io.readU4be();
+ this.feePlusXErs2Temperature = this._io.readU4be();
+ this.feePlusXErs3Signal = this._io.readU4be();
+ this.feePlusXErs3Temperature = this._io.readU4be();
+ this.feePlusXUvsSignal = this._io.readU4be();
+ this.feeMinusXErs1Signal = this._io.readU4be();
+ this.feeMinusXErs1Temperature = this._io.readU4be();
+ this.feeMinusXErs2Signal = this._io.readU4be();
+ this.feeMinusXErs2Temperature = this._io.readU4be();
+ this.feeMinusXErs3Signal = this._io.readU4be();
+ this.feeMinusXErs3Temperature = this._io.readU4be();
+ this.feeMinusXUvsSignal = this._io.readU4be();
+ this.feePlusYErs1Signal = this._io.readU4be();
+ this.feePlusYErs1Temperature = this._io.readU4be();
+ this.feePlusYErs2Signal = this._io.readU4be();
+ this.feePlusYErs2Temperature = this._io.readU4be();
+ this.feePlusYErs3Signal = this._io.readU4be();
+ this.feePlusYErs3Temperature = this._io.readU4be();
+ this.feePlusYUvsSignal = this._io.readU4be();
+ this.feeMinusYErs1Signal = this._io.readU4be();
+ this.feeMinusYErs1Temperature = this._io.readU4be();
+ this.feeMinusYErs2Signal = this._io.readU4be();
+ this.feeMinusYErs2Temperature = this._io.readU4be();
+ this.feeMinusYErs3Signal = this._io.readU4be();
+ this.feeMinusYErs3Temperature = this._io.readU4be();
+ this.feeMinusYUvsSignal = this._io.readU4be();
+ this.teachwearAccX = this._io.readU2be();
+ this.teachwearAccY = this._io.readU2be();
+ this.teachwearAccZ = this._io.readU2be();
+ this.teachwearDegC = this._io.readU2be();
+ this.teachwearGyroX = this._io.readU2be();
+ this.teachwearGyroY = this._io.readU2be();
+ this.teachwearGyroZ = this._io.readU2be();
+ this.teachwearMagnX = this._io.readU2be();
+ this.teachwearMagnY = this._io.readU2be();
+ this.teachwearMagnZ = this._io.readU2be();
+ this.teachwearState = this._io.readU1();
+ this.teachwearResetReason = this._io.readU1();
+ this.teachwearCrc = this._io.readU2be();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ }
+
+ private Long feePlusYErs1SignalRaw;
+
+ public Long feePlusYErs1SignalRaw() {
+ if (this.feePlusYErs1SignalRaw != null) return this.feePlusYErs1SignalRaw;
+ long _tmp = (long) (feePlusYErs1Signal());
+ this.feePlusYErs1SignalRaw = _tmp;
+ return this.feePlusYErs1SignalRaw;
+ }
+
+ private Long feeMinusYErs1TemperatureRaw;
+
+ public Long feeMinusYErs1TemperatureRaw() {
+ if (this.feeMinusYErs1TemperatureRaw != null) return this.feeMinusYErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs1Temperature());
+ this.feeMinusYErs1TemperatureRaw = _tmp;
+ return this.feeMinusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearCRCRaw;
+
+ public Integer teachwearCRCRaw() {
+ if (this.teachwearCRCRaw != null) return this.teachwearCRCRaw;
+ int _tmp = (int) (teachwearCrc());
+ this.teachwearCRCRaw = _tmp;
+ return this.teachwearCRCRaw;
+ }
+
+ private Long feePlusXErs2SignalRaw;
+
+ public Long feePlusXErs2SignalRaw() {
+ if (this.feePlusXErs2SignalRaw != null) return this.feePlusXErs2SignalRaw;
+ long _tmp = (long) (feePlusXErs2Signal());
+ this.feePlusXErs2SignalRaw = _tmp;
+ return this.feePlusXErs2SignalRaw;
+ }
+
+ private Long hkFeePlusXVrefRaw;
+
+ public Long hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ long _tmp = (long) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Long feeMinusYUvsSignalRaw;
+
+ public Long feeMinusYUvsSignalRaw() {
+ if (this.feeMinusYUvsSignalRaw != null) return this.feeMinusYUvsSignalRaw;
+ long _tmp = (long) (feeMinusYUvsSignal());
+ this.feeMinusYUvsSignalRaw = _tmp;
+ return this.feeMinusYUvsSignalRaw;
+ }
+
+ private Integer teachwearMagnYRaw;
+
+ public Integer teachwearMagnYRaw() {
+ if (this.teachwearMagnYRaw != null) return this.teachwearMagnYRaw;
+ int _tmp = (int) (teachwearMagnY());
+ this.teachwearMagnYRaw = _tmp;
+ return this.teachwearMagnYRaw;
+ }
+
+ private Long hkMinus5vPolarRaw;
+
+ public Long hkMinus5vPolarRaw() {
+ if (this.hkMinus5vPolarRaw != null) return this.hkMinus5vPolarRaw;
+ long _tmp = (long) (hkMinus5vPolar());
+ this.hkMinus5vPolarRaw = _tmp;
+ return this.hkMinus5vPolarRaw;
+ }
+
+ private Integer teachwearGyroZRaw;
+
+ public Integer teachwearGyroZRaw() {
+ if (this.teachwearGyroZRaw != null) return this.teachwearGyroZRaw;
+ int _tmp = (int) (teachwearGyroZ());
+ this.teachwearGyroZRaw = _tmp;
+ return this.teachwearGyroZRaw;
+ }
+
+ private Long feePlusXErs2TemperatureRaw;
+
+ public Long feePlusXErs2TemperatureRaw() {
+ if (this.feePlusXErs2TemperatureRaw != null) return this.feePlusXErs2TemperatureRaw;
+ long _tmp = (long) (feePlusXErs2Temperature());
+ this.feePlusXErs2TemperatureRaw = _tmp;
+ return this.feePlusXErs2TemperatureRaw;
+ }
+
+ private Long feeMinusYErs3TemperatureRaw;
+
+ public Long feeMinusYErs3TemperatureRaw() {
+ if (this.feeMinusYErs3TemperatureRaw != null) return this.feeMinusYErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs3Temperature());
+ this.feeMinusYErs3TemperatureRaw = _tmp;
+ return this.feeMinusYErs3TemperatureRaw;
+ }
+
+ private Long feePlusYUvsSignalRaw;
+
+ public Long feePlusYUvsSignalRaw() {
+ if (this.feePlusYUvsSignalRaw != null) return this.feePlusYUvsSignalRaw;
+ long _tmp = (long) (feePlusYUvsSignal());
+ this.feePlusYUvsSignalRaw = _tmp;
+ return this.feePlusYUvsSignalRaw;
+ }
+
+ private Long hkTempAdcRaw;
+
+ public Long hkTempAdcRaw() {
+ if (this.hkTempAdcRaw != null) return this.hkTempAdcRaw;
+ long _tmp = (long) (hkTempAdc());
+ this.hkTempAdcRaw = _tmp;
+ return this.hkTempAdcRaw;
+ }
+
+ private Long feePlusXErs3TemperatureRaw;
+
+ public Long feePlusXErs3TemperatureRaw() {
+ if (this.feePlusXErs3TemperatureRaw != null) return this.feePlusXErs3TemperatureRaw;
+ long _tmp = (long) (feePlusXErs3Temperature());
+ this.feePlusXErs3TemperatureRaw = _tmp;
+ return this.feePlusXErs3TemperatureRaw;
+ }
+
+ private Long hkFeePlusYVrefRaw;
+
+ public Long hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ long _tmp = (long) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Long feeMinusYErs3SignalRaw;
+
+ public Long feeMinusYErs3SignalRaw() {
+ if (this.feeMinusYErs3SignalRaw != null) return this.feeMinusYErs3SignalRaw;
+ long _tmp = (long) (feeMinusYErs3Signal());
+ this.feeMinusYErs3SignalRaw = _tmp;
+ return this.feeMinusYErs3SignalRaw;
+ }
+
+ private Long feeMinusXErs2SignalRaw;
+
+ public Long feeMinusXErs2SignalRaw() {
+ if (this.feeMinusXErs2SignalRaw != null) return this.feeMinusXErs2SignalRaw;
+ long _tmp = (long) (feeMinusXErs2Signal());
+ this.feeMinusXErs2SignalRaw = _tmp;
+ return this.feeMinusXErs2SignalRaw;
+ }
+
+ private Integer numberOfAcquisitionCommandedRaw;
+
+ public Integer numberOfAcquisitionCommandedRaw() {
+ if (this.numberOfAcquisitionCommandedRaw != null) return this.numberOfAcquisitionCommandedRaw;
+ int _tmp = (int) (numberOfAcquisitionCommanded());
+ this.numberOfAcquisitionCommandedRaw = _tmp;
+ return this.numberOfAcquisitionCommandedRaw;
+ }
+
+ private Long gainRaw;
+
+ public Long gainRaw() {
+ if (this.gainRaw != null) return this.gainRaw;
+ long _tmp = (long) (gain());
+ this.gainRaw = _tmp;
+ return this.gainRaw;
+ }
+
+ private Long feeMinusYErs1SignalRaw;
+
+ public Long feeMinusYErs1SignalRaw() {
+ if (this.feeMinusYErs1SignalRaw != null) return this.feeMinusYErs1SignalRaw;
+ long _tmp = (long) (feeMinusYErs1Signal());
+ this.feeMinusYErs1SignalRaw = _tmp;
+ return this.feeMinusYErs1SignalRaw;
+ }
+
+ private Integer teachwearAccZRaw;
+
+ public Integer teachwearAccZRaw() {
+ if (this.teachwearAccZRaw != null) return this.teachwearAccZRaw;
+ int _tmp = (int) (teachwearAccZ());
+ this.teachwearAccZRaw = _tmp;
+ return this.teachwearAccZRaw;
+ }
+
+ private Long mainboardScienceTimeRaw;
+
+ public Long mainboardScienceTimeRaw() {
+ if (this.mainboardScienceTimeRaw != null) return this.mainboardScienceTimeRaw;
+ long _tmp = (long) (mainboardScienceTime());
+ this.mainboardScienceTimeRaw = _tmp;
+ return this.mainboardScienceTimeRaw;
+ }
+
+ private Long feePlusXErs3SignalRaw;
+
+ public Long feePlusXErs3SignalRaw() {
+ if (this.feePlusXErs3SignalRaw != null) return this.feePlusXErs3SignalRaw;
+ long _tmp = (long) (feePlusXErs3Signal());
+ this.feePlusXErs3SignalRaw = _tmp;
+ return this.feePlusXErs3SignalRaw;
+ }
+
+ private Integer teachwearAccXRaw;
+
+ public Integer teachwearAccXRaw() {
+ if (this.teachwearAccXRaw != null) return this.teachwearAccXRaw;
+ int _tmp = (int) (teachwearAccX());
+ this.teachwearAccXRaw = _tmp;
+ return this.teachwearAccXRaw;
+ }
+
+ private Long feeMinusXUvsSignalRaw;
+
+ public Long feeMinusXUvsSignalRaw() {
+ if (this.feeMinusXUvsSignalRaw != null) return this.feeMinusXUvsSignalRaw;
+ long _tmp = (long) (feeMinusXUvsSignal());
+ this.feeMinusXUvsSignalRaw = _tmp;
+ return this.feeMinusXUvsSignalRaw;
+ }
+
+ private Long feePlusYErs3TemperatureRaw;
+
+ public Long feePlusYErs3TemperatureRaw() {
+ if (this.feePlusYErs3TemperatureRaw != null) return this.feePlusYErs3TemperatureRaw;
+ long _tmp = (long) (feePlusYErs3Temperature());
+ this.feePlusYErs3TemperatureRaw = _tmp;
+ return this.feePlusYErs3TemperatureRaw;
+ }
+
+ private Long feeMinusXErs1TemperatureRaw;
+
+ public Long feeMinusXErs1TemperatureRaw() {
+ if (this.feeMinusXErs1TemperatureRaw != null) return this.feeMinusXErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs1Temperature());
+ this.feeMinusXErs1TemperatureRaw = _tmp;
+ return this.feeMinusXErs1TemperatureRaw;
+ }
+
+ private Long hkPlus5vRaw;
+
+ public Long hkPlus5vRaw() {
+ if (this.hkPlus5vRaw != null) return this.hkPlus5vRaw;
+ long _tmp = (long) (hkPlus5v());
+ this.hkPlus5vRaw = _tmp;
+ return this.hkPlus5vRaw;
+ }
+
+ private Integer numberOfRealAcquisitionRaw;
+
+ public Integer numberOfRealAcquisitionRaw() {
+ if (this.numberOfRealAcquisitionRaw != null) return this.numberOfRealAcquisitionRaw;
+ int _tmp = (int) (numberOfRealAcquisition());
+ this.numberOfRealAcquisitionRaw = _tmp;
+ return this.numberOfRealAcquisitionRaw;
+ }
+
+ private Long feePlusYErs2SignalRaw;
+
+ public Long feePlusYErs2SignalRaw() {
+ if (this.feePlusYErs2SignalRaw != null) return this.feePlusYErs2SignalRaw;
+ long _tmp = (long) (feePlusYErs2Signal());
+ this.feePlusYErs2SignalRaw = _tmp;
+ return this.feePlusYErs2SignalRaw;
+ }
+
+ private Integer teachWearOnRaw;
+
+ public Integer teachWearOnRaw() {
+ if (this.teachWearOnRaw != null) return this.teachWearOnRaw;
+ int _tmp = (int) (teachWearOn());
+ this.teachWearOnRaw = _tmp;
+ return this.teachWearOnRaw;
+ }
+
+ private Integer frequenceOfAcquisitionsRaw;
+
+ public Integer frequenceOfAcquisitionsRaw() {
+ if (this.frequenceOfAcquisitionsRaw != null) return this.frequenceOfAcquisitionsRaw;
+ int _tmp = (int) (frequenceOfAcquisitions());
+ this.frequenceOfAcquisitionsRaw = _tmp;
+ return this.frequenceOfAcquisitionsRaw;
+ }
+
+ private Long feePlusYErs2TemperatureRaw;
+
+ public Long feePlusYErs2TemperatureRaw() {
+ if (this.feePlusYErs2TemperatureRaw != null) return this.feePlusYErs2TemperatureRaw;
+ long _tmp = (long) (feePlusYErs2Temperature());
+ this.feePlusYErs2TemperatureRaw = _tmp;
+ return this.feePlusYErs2TemperatureRaw;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer teachwearMagnXRaw;
+
+ public Integer teachwearMagnXRaw() {
+ if (this.teachwearMagnXRaw != null) return this.teachwearMagnXRaw;
+ int _tmp = (int) (teachwearMagnX());
+ this.teachwearMagnXRaw = _tmp;
+ return this.teachwearMagnXRaw;
+ }
+
+ private Long feeMinusXErs1SignalRaw;
+
+ public Long feeMinusXErs1SignalRaw() {
+ if (this.feeMinusXErs1SignalRaw != null) return this.feeMinusXErs1SignalRaw;
+ long _tmp = (long) (feeMinusXErs1Signal());
+ this.feeMinusXErs1SignalRaw = _tmp;
+ return this.feeMinusXErs1SignalRaw;
+ }
+
+ private Long feeMinusXErs3SignalRaw;
+
+ public Long feeMinusXErs3SignalRaw() {
+ if (this.feeMinusXErs3SignalRaw != null) return this.feeMinusXErs3SignalRaw;
+ long _tmp = (long) (feeMinusXErs3Signal());
+ this.feeMinusXErs3SignalRaw = _tmp;
+ return this.feeMinusXErs3SignalRaw;
+ }
+
+ private Long feeMinusYErs2SignalRaw;
+
+ public Long feeMinusYErs2SignalRaw() {
+ if (this.feeMinusYErs2SignalRaw != null) return this.feeMinusYErs2SignalRaw;
+ long _tmp = (long) (feeMinusYErs2Signal());
+ this.feeMinusYErs2SignalRaw = _tmp;
+ return this.feeMinusYErs2SignalRaw;
+ }
+
+ private Long feeMinusYErs2TemperatureRaw;
+
+ public Long feeMinusYErs2TemperatureRaw() {
+ if (this.feeMinusYErs2TemperatureRaw != null) return this.feeMinusYErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs2Temperature());
+ this.feeMinusYErs2TemperatureRaw = _tmp;
+ return this.feeMinusYErs2TemperatureRaw;
+ }
+
+ private Long feeMinusXErs2TemperatureRaw;
+
+ public Long feeMinusXErs2TemperatureRaw() {
+ if (this.feeMinusXErs2TemperatureRaw != null) return this.feeMinusXErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs2Temperature());
+ this.feeMinusXErs2TemperatureRaw = _tmp;
+ return this.feeMinusXErs2TemperatureRaw;
+ }
+
+ private Long feePlusXErs1TemperatureRaw;
+
+ public Long feePlusXErs1TemperatureRaw() {
+ if (this.feePlusXErs1TemperatureRaw != null) return this.feePlusXErs1TemperatureRaw;
+ long _tmp = (long) (feePlusXErs1Temperature());
+ this.feePlusXErs1TemperatureRaw = _tmp;
+ return this.feePlusXErs1TemperatureRaw;
+ }
+
+ private Long hkFeeMinusXVrefRaw;
+
+ public Long hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ long _tmp = (long) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Long feePlusYErs1TemperatureRaw;
+
+ public Long feePlusYErs1TemperatureRaw() {
+ if (this.feePlusYErs1TemperatureRaw != null) return this.feePlusYErs1TemperatureRaw;
+ long _tmp = (long) (feePlusYErs1Temperature());
+ this.feePlusYErs1TemperatureRaw = _tmp;
+ return this.feePlusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearGyroXRaw;
+
+ public Integer teachwearGyroXRaw() {
+ if (this.teachwearGyroXRaw != null) return this.teachwearGyroXRaw;
+ int _tmp = (int) (teachwearGyroX());
+ this.teachwearGyroXRaw = _tmp;
+ return this.teachwearGyroXRaw;
+ }
+
+ private Long feePlusXUvsSignalRaw;
+
+ public Long feePlusXUvsSignalRaw() {
+ if (this.feePlusXUvsSignalRaw != null) return this.feePlusXUvsSignalRaw;
+ long _tmp = (long) (feePlusXUvsSignal());
+ this.feePlusXUvsSignalRaw = _tmp;
+ return this.feePlusXUvsSignalRaw;
+ }
+
+ private Long hkFeeMinusYVrefRaw;
+
+ public Long hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ long _tmp = (long) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private Integer teachwearStateRaw;
+
+ public Integer teachwearStateRaw() {
+ if (this.teachwearStateRaw != null) return this.teachwearStateRaw;
+ int _tmp = (int) (teachwearState());
+ this.teachwearStateRaw = _tmp;
+ return this.teachwearStateRaw;
+ }
+
+ private Long feePlusXErs1SignalRaw;
+
+ public Long feePlusXErs1SignalRaw() {
+ if (this.feePlusXErs1SignalRaw != null) return this.feePlusXErs1SignalRaw;
+ long _tmp = (long) (feePlusXErs1Signal());
+ this.feePlusXErs1SignalRaw = _tmp;
+ return this.feePlusXErs1SignalRaw;
+ }
+
+ private Long hkMinus5vRaw;
+
+ public Long hkMinus5vRaw() {
+ if (this.hkMinus5vRaw != null) return this.hkMinus5vRaw;
+ long _tmp = (long) (hkMinus5v());
+ this.hkMinus5vRaw = _tmp;
+ return this.hkMinus5vRaw;
+ }
+
+ private Long feeMinusXErs3TemperatureRaw;
+
+ public Long feeMinusXErs3TemperatureRaw() {
+ if (this.feeMinusXErs3TemperatureRaw != null) return this.feeMinusXErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs3Temperature());
+ this.feeMinusXErs3TemperatureRaw = _tmp;
+ return this.feeMinusXErs3TemperatureRaw;
+ }
+
+ private Integer teachwearResetReasonRaw;
+
+ public Integer teachwearResetReasonRaw() {
+ if (this.teachwearResetReasonRaw != null) return this.teachwearResetReasonRaw;
+ int _tmp = (int) (teachwearResetReason());
+ this.teachwearResetReasonRaw = _tmp;
+ return this.teachwearResetReasonRaw;
+ }
+
+ private Integer teachwearDegCRaw;
+
+ public Integer teachwearDegCRaw() {
+ if (this.teachwearDegCRaw != null) return this.teachwearDegCRaw;
+ int _tmp = (int) (teachwearDegC());
+ this.teachwearDegCRaw = _tmp;
+ return this.teachwearDegCRaw;
+ }
+
+ private Integer teachwearGyroYRaw;
+
+ public Integer teachwearGyroYRaw() {
+ if (this.teachwearGyroYRaw != null) return this.teachwearGyroYRaw;
+ int _tmp = (int) (teachwearGyroY());
+ this.teachwearGyroYRaw = _tmp;
+ return this.teachwearGyroYRaw;
+ }
+
+ private Integer teachwearMagnZRaw;
+
+ public Integer teachwearMagnZRaw() {
+ if (this.teachwearMagnZRaw != null) return this.teachwearMagnZRaw;
+ int _tmp = (int) (teachwearMagnZ());
+ this.teachwearMagnZRaw = _tmp;
+ return this.teachwearMagnZRaw;
+ }
+
+ private Long feePlusYErs3SignalRaw;
+
+ public Long feePlusYErs3SignalRaw() {
+ if (this.feePlusYErs3SignalRaw != null) return this.feePlusYErs3SignalRaw;
+ long _tmp = (long) (feePlusYErs3Signal());
+ this.feePlusYErs3SignalRaw = _tmp;
+ return this.feePlusYErs3SignalRaw;
+ }
+
+ private Integer teachwearAccYRaw;
+
+ public Integer teachwearAccYRaw() {
+ if (this.teachwearAccYRaw != null) return this.teachwearAccYRaw;
+ int _tmp = (int) (teachwearAccY());
+ this.teachwearAccYRaw = _tmp;
+ return this.teachwearAccYRaw;
+ }
+
+ private long mainboardScienceTime;
+ private int teachWearOn;
+ private int frequenceOfAcquisitions;
+ private long gain;
+ private int numberOfAcquisitionCommanded;
+ private int numberOfRealAcquisition;
+ private long hkPlus5v;
+ private long hkMinus5v;
+ private long hkMinus5vPolar;
+ private long hkTempAdc;
+ private long hkFeePlusXVref;
+ private long hkFeeMinusXVref;
+ private long hkFeePlusYVref;
+ private long hkFeeMinusYVref;
+ private long feePlusXErs1Signal;
+ private long feePlusXErs1Temperature;
+ private long feePlusXErs2Signal;
+ private long feePlusXErs2Temperature;
+ private long feePlusXErs3Signal;
+ private long feePlusXErs3Temperature;
+ private long feePlusXUvsSignal;
+ private long feeMinusXErs1Signal;
+ private long feeMinusXErs1Temperature;
+ private long feeMinusXErs2Signal;
+ private long feeMinusXErs2Temperature;
+ private long feeMinusXErs3Signal;
+ private long feeMinusXErs3Temperature;
+ private long feeMinusXUvsSignal;
+ private long feePlusYErs1Signal;
+ private long feePlusYErs1Temperature;
+ private long feePlusYErs2Signal;
+ private long feePlusYErs2Temperature;
+ private long feePlusYErs3Signal;
+ private long feePlusYErs3Temperature;
+ private long feePlusYUvsSignal;
+ private long feeMinusYErs1Signal;
+ private long feeMinusYErs1Temperature;
+ private long feeMinusYErs2Signal;
+ private long feeMinusYErs2Temperature;
+ private long feeMinusYErs3Signal;
+ private long feeMinusYErs3Temperature;
+ private long feeMinusYUvsSignal;
+ private int teachwearAccX;
+ private int teachwearAccY;
+ private int teachwearAccZ;
+ private int teachwearDegC;
+ private int teachwearGyroX;
+ private int teachwearGyroY;
+ private int teachwearGyroZ;
+ private int teachwearMagnX;
+ private int teachwearMagnY;
+ private int teachwearMagnZ;
+ private int teachwearState;
+ private int teachwearResetReason;
+ private int teachwearCrc;
+ private long nbTmSinceFirstStart;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ public long mainboardScienceTime() {
+ return mainboardScienceTime;
+ }
+
+ public int teachWearOn() {
+ return teachWearOn;
+ }
+
+ public int frequenceOfAcquisitions() {
+ return frequenceOfAcquisitions;
+ }
+
+ public long gain() {
+ return gain;
+ }
+
+ public int numberOfAcquisitionCommanded() {
+ return numberOfAcquisitionCommanded;
+ }
+
+ public int numberOfRealAcquisition() {
+ return numberOfRealAcquisition;
+ }
+
+ public long hkPlus5v() {
+ return hkPlus5v;
+ }
+
+ public long hkMinus5v() {
+ return hkMinus5v;
+ }
+
+ public long hkMinus5vPolar() {
+ return hkMinus5vPolar;
+ }
+
+ public long hkTempAdc() {
+ return hkTempAdc;
+ }
+
+ public long hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public long hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public long hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public long hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public long feePlusXErs1Signal() {
+ return feePlusXErs1Signal;
+ }
+
+ public long feePlusXErs1Temperature() {
+ return feePlusXErs1Temperature;
+ }
+
+ public long feePlusXErs2Signal() {
+ return feePlusXErs2Signal;
+ }
+
+ public long feePlusXErs2Temperature() {
+ return feePlusXErs2Temperature;
+ }
+
+ public long feePlusXErs3Signal() {
+ return feePlusXErs3Signal;
+ }
+
+ public long feePlusXErs3Temperature() {
+ return feePlusXErs3Temperature;
+ }
+
+ public long feePlusXUvsSignal() {
+ return feePlusXUvsSignal;
+ }
+
+ public long feeMinusXErs1Signal() {
+ return feeMinusXErs1Signal;
+ }
+
+ public long feeMinusXErs1Temperature() {
+ return feeMinusXErs1Temperature;
+ }
+
+ public long feeMinusXErs2Signal() {
+ return feeMinusXErs2Signal;
+ }
+
+ public long feeMinusXErs2Temperature() {
+ return feeMinusXErs2Temperature;
+ }
+
+ public long feeMinusXErs3Signal() {
+ return feeMinusXErs3Signal;
+ }
+
+ public long feeMinusXErs3Temperature() {
+ return feeMinusXErs3Temperature;
+ }
+
+ public long feeMinusXUvsSignal() {
+ return feeMinusXUvsSignal;
+ }
+
+ public long feePlusYErs1Signal() {
+ return feePlusYErs1Signal;
+ }
+
+ public long feePlusYErs1Temperature() {
+ return feePlusYErs1Temperature;
+ }
+
+ public long feePlusYErs2Signal() {
+ return feePlusYErs2Signal;
+ }
+
+ public long feePlusYErs2Temperature() {
+ return feePlusYErs2Temperature;
+ }
+
+ public long feePlusYErs3Signal() {
+ return feePlusYErs3Signal;
+ }
+
+ public long feePlusYErs3Temperature() {
+ return feePlusYErs3Temperature;
+ }
+
+ public long feePlusYUvsSignal() {
+ return feePlusYUvsSignal;
+ }
+
+ public long feeMinusYErs1Signal() {
+ return feeMinusYErs1Signal;
+ }
+
+ public long feeMinusYErs1Temperature() {
+ return feeMinusYErs1Temperature;
+ }
+
+ public long feeMinusYErs2Signal() {
+ return feeMinusYErs2Signal;
+ }
+
+ public long feeMinusYErs2Temperature() {
+ return feeMinusYErs2Temperature;
+ }
+
+ public long feeMinusYErs3Signal() {
+ return feeMinusYErs3Signal;
+ }
+
+ public long feeMinusYErs3Temperature() {
+ return feeMinusYErs3Temperature;
+ }
+
+ public long feeMinusYUvsSignal() {
+ return feeMinusYUvsSignal;
+ }
+
+ public int teachwearAccX() {
+ return teachwearAccX;
+ }
+
+ public int teachwearAccY() {
+ return teachwearAccY;
+ }
+
+ public int teachwearAccZ() {
+ return teachwearAccZ;
+ }
+
+ public int teachwearDegC() {
+ return teachwearDegC;
+ }
+
+ public int teachwearGyroX() {
+ return teachwearGyroX;
+ }
+
+ public int teachwearGyroY() {
+ return teachwearGyroY;
+ }
+
+ public int teachwearGyroZ() {
+ return teachwearGyroZ;
+ }
+
+ public int teachwearMagnX() {
+ return teachwearMagnX;
+ }
+
+ public int teachwearMagnY() {
+ return teachwearMagnY;
+ }
+
+ public int teachwearMagnZ() {
+ return teachwearMagnZ;
+ }
+
+ public int teachwearState() {
+ return teachwearState;
+ }
+
+ public int teachwearResetReason() {
+ return teachwearResetReason;
+ }
+
+ public int teachwearCrc() {
+ return teachwearCrc;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+ }
+
+ public static class LvStatus extends KaitaiStruct {
+ public static LvStatus fromFile(String fileName) throws IOException {
+ return new LvStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public LvStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public LvStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public LvStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.modePlateform = this._io.readU8be();
+ this.pFNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modeImtq = this._io.readU8be();
+ this.imtqNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modeTrxvu = this._io.readU8be();
+ this.pFNumberOfSecondsInCurrentModebis = this._io.readBitsIntBe(24);
+ this.nbTMInPfFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadCapteurs = this._io.readU8be();
+ this.capteursNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInCapteursPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadIMU = this._io.readU8be();
+ this.imuNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInIMUPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadIono = this._io.readU8be();
+ this.ionoNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInIonoPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadLIFI = this._io.readU8be();
+ this.lIFINumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInLIFIPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadSPINO = this._io.readU8be();
+ this.sPINONumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTmInSPINOPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.numberOfFileInSDForHktmPf = this._io.readU8be();
+ this.numberOfFileInSDPltmCapteurs = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmImu = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmIono = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmLifi = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmSpino = this._io.readBitsIntBe(12);
+ }
+
+ private Long pFNumberOfSecondsInCurrentModeRaw;
+
+ public Long pFNumberOfSecondsInCurrentModeRaw() {
+ if (this.pFNumberOfSecondsInCurrentModeRaw != null)
+ return this.pFNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (pFNumberOfSecondsInCurrentMode());
+ this.pFNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.pFNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long numberOfFileInSDPltmIonoRaw;
+
+ public Long numberOfFileInSDPltmIonoRaw() {
+ if (this.numberOfFileInSDPltmIonoRaw != null) return this.numberOfFileInSDPltmIonoRaw;
+ long _tmp = (long) (numberOfFileInSDPltmIono());
+ this.numberOfFileInSDPltmIonoRaw = _tmp;
+ return this.numberOfFileInSDPltmIonoRaw;
+ }
+
+ private Long imuNumberOfSecondsInCurrentModeRaw;
+
+ public Long imuNumberOfSecondsInCurrentModeRaw() {
+ if (this.imuNumberOfSecondsInCurrentModeRaw != null)
+ return this.imuNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (imuNumberOfSecondsInCurrentMode());
+ this.imuNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.imuNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long capteursNumberOfSecondsInCurrentModeRaw;
+
+ public Long capteursNumberOfSecondsInCurrentModeRaw() {
+ if (this.capteursNumberOfSecondsInCurrentModeRaw != null)
+ return this.capteursNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (capteursNumberOfSecondsInCurrentMode());
+ this.capteursNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.capteursNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long nbTMInLIFIPayloadFifoRaw;
+
+ public Long nbTMInLIFIPayloadFifoRaw() {
+ if (this.nbTMInLIFIPayloadFifoRaw != null) return this.nbTMInLIFIPayloadFifoRaw;
+ long _tmp = (long) (nbTMInLIFIPayloadFifo());
+ this.nbTMInLIFIPayloadFifoRaw = _tmp;
+ return this.nbTMInLIFIPayloadFifoRaw;
+ }
+
+ private Long nbTMInIMUPayloadFifoRaw;
+
+ public Long nbTMInIMUPayloadFifoRaw() {
+ if (this.nbTMInIMUPayloadFifoRaw != null) return this.nbTMInIMUPayloadFifoRaw;
+ long _tmp = (long) (nbTMInIMUPayloadFifo());
+ this.nbTMInIMUPayloadFifoRaw = _tmp;
+ return this.nbTMInIMUPayloadFifoRaw;
+ }
+
+ private Long ionoNumberOfSecondsInCurrentModeRaw;
+
+ public Long ionoNumberOfSecondsInCurrentModeRaw() {
+ if (this.ionoNumberOfSecondsInCurrentModeRaw != null)
+ return this.ionoNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (ionoNumberOfSecondsInCurrentMode());
+ this.ionoNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.ionoNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long modePayloadIonoRaw;
+
+ public Long modePayloadIonoRaw() {
+ if (this.modePayloadIonoRaw != null) return this.modePayloadIonoRaw;
+ long _tmp = (long) (modePayloadIono());
+ this.modePayloadIonoRaw = _tmp;
+ return this.modePayloadIonoRaw;
+ }
+
+ private Long numberOfFileInSDForHktmPfRaw;
+
+ public Long numberOfFileInSDForHktmPfRaw() {
+ if (this.numberOfFileInSDForHktmPfRaw != null) return this.numberOfFileInSDForHktmPfRaw;
+ long _tmp = (long) (numberOfFileInSDForHktmPf());
+ this.numberOfFileInSDForHktmPfRaw = _tmp;
+ return this.numberOfFileInSDForHktmPfRaw;
+ }
+
+ private Long numberOfFileInSDPltmLifiRaw;
+
+ public Long numberOfFileInSDPltmLifiRaw() {
+ if (this.numberOfFileInSDPltmLifiRaw != null) return this.numberOfFileInSDPltmLifiRaw;
+ long _tmp = (long) (numberOfFileInSDPltmLifi());
+ this.numberOfFileInSDPltmLifiRaw = _tmp;
+ return this.numberOfFileInSDPltmLifiRaw;
+ }
+
+ private Long modeTrxvuRaw;
+
+ public Long modeTrxvuRaw() {
+ if (this.modeTrxvuRaw != null) return this.modeTrxvuRaw;
+ long _tmp = (long) (modeTrxvu());
+ this.modeTrxvuRaw = _tmp;
+ return this.modeTrxvuRaw;
+ }
+
+ private Long nbTmInSPINOPayloadFifoRaw;
+
+ public Long nbTmInSPINOPayloadFifoRaw() {
+ if (this.nbTmInSPINOPayloadFifoRaw != null) return this.nbTmInSPINOPayloadFifoRaw;
+ long _tmp = (long) (nbTmInSPINOPayloadFifo());
+ this.nbTmInSPINOPayloadFifoRaw = _tmp;
+ return this.nbTmInSPINOPayloadFifoRaw;
+ }
+
+ private Long sPINONumberOfSecondsInCurrentModeRaw;
+
+ public Long sPINONumberOfSecondsInCurrentModeRaw() {
+ if (this.sPINONumberOfSecondsInCurrentModeRaw != null)
+ return this.sPINONumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (sPINONumberOfSecondsInCurrentMode());
+ this.sPINONumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.sPINONumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long nbTMInIonoPayloadFifoRaw;
+
+ public Long nbTMInIonoPayloadFifoRaw() {
+ if (this.nbTMInIonoPayloadFifoRaw != null) return this.nbTMInIonoPayloadFifoRaw;
+ long _tmp = (long) (nbTMInIonoPayloadFifo());
+ this.nbTMInIonoPayloadFifoRaw = _tmp;
+ return this.nbTMInIonoPayloadFifoRaw;
+ }
+
+ private Long modePayloadIMURaw;
+
+ public Long modePayloadIMURaw() {
+ if (this.modePayloadIMURaw != null) return this.modePayloadIMURaw;
+ long _tmp = (long) (modePayloadIMU());
+ this.modePayloadIMURaw = _tmp;
+ return this.modePayloadIMURaw;
+ }
+
+ private Long lIFINumberOfSecondsInCurrentModeRaw;
+
+ public Long lIFINumberOfSecondsInCurrentModeRaw() {
+ if (this.lIFINumberOfSecondsInCurrentModeRaw != null)
+ return this.lIFINumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (lIFINumberOfSecondsInCurrentMode());
+ this.lIFINumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.lIFINumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long modeImtqRaw;
+
+ public Long modeImtqRaw() {
+ if (this.modeImtqRaw != null) return this.modeImtqRaw;
+ long _tmp = (long) (modeImtq());
+ this.modeImtqRaw = _tmp;
+ return this.modeImtqRaw;
+ }
+
+ private Long imtqNumberOfSecondsInCurrentModeRaw;
+
+ public Long imtqNumberOfSecondsInCurrentModeRaw() {
+ if (this.imtqNumberOfSecondsInCurrentModeRaw != null)
+ return this.imtqNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (imtqNumberOfSecondsInCurrentMode());
+ this.imtqNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.imtqNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long pFNumberOfSecondsInCurrentModebisRaw;
+
+ public Long pFNumberOfSecondsInCurrentModebisRaw() {
+ if (this.pFNumberOfSecondsInCurrentModebisRaw != null)
+ return this.pFNumberOfSecondsInCurrentModebisRaw;
+ long _tmp = (long) (pFNumberOfSecondsInCurrentModebis());
+ this.pFNumberOfSecondsInCurrentModebisRaw = _tmp;
+ return this.pFNumberOfSecondsInCurrentModebisRaw;
+ }
+
+ private Long modePlateformRaw;
+
+ public Long modePlateformRaw() {
+ if (this.modePlateformRaw != null) return this.modePlateformRaw;
+ long _tmp = (long) (modePlateform());
+ this.modePlateformRaw = _tmp;
+ return this.modePlateformRaw;
+ }
+
+ private Long modePayloadSPINORaw;
+
+ public Long modePayloadSPINORaw() {
+ if (this.modePayloadSPINORaw != null) return this.modePayloadSPINORaw;
+ long _tmp = (long) (modePayloadSPINO());
+ this.modePayloadSPINORaw = _tmp;
+ return this.modePayloadSPINORaw;
+ }
+
+ private Long numberOfFileInSDPltmSpinoRaw;
+
+ public Long numberOfFileInSDPltmSpinoRaw() {
+ if (this.numberOfFileInSDPltmSpinoRaw != null) return this.numberOfFileInSDPltmSpinoRaw;
+ long _tmp = (long) (numberOfFileInSDPltmSpino());
+ this.numberOfFileInSDPltmSpinoRaw = _tmp;
+ return this.numberOfFileInSDPltmSpinoRaw;
+ }
+
+ private Long numberOfFileInSDPltmImuRaw;
+
+ public Long numberOfFileInSDPltmImuRaw() {
+ if (this.numberOfFileInSDPltmImuRaw != null) return this.numberOfFileInSDPltmImuRaw;
+ long _tmp = (long) (numberOfFileInSDPltmImu());
+ this.numberOfFileInSDPltmImuRaw = _tmp;
+ return this.numberOfFileInSDPltmImuRaw;
+ }
+
+ private Long modePayloadLIFIRaw;
+
+ public Long modePayloadLIFIRaw() {
+ if (this.modePayloadLIFIRaw != null) return this.modePayloadLIFIRaw;
+ long _tmp = (long) (modePayloadLIFI());
+ this.modePayloadLIFIRaw = _tmp;
+ return this.modePayloadLIFIRaw;
+ }
+
+ private Long numberOfFileInSDPltmCapteursRaw;
+
+ public Long numberOfFileInSDPltmCapteursRaw() {
+ if (this.numberOfFileInSDPltmCapteursRaw != null) return this.numberOfFileInSDPltmCapteursRaw;
+ long _tmp = (long) (numberOfFileInSDPltmCapteurs());
+ this.numberOfFileInSDPltmCapteursRaw = _tmp;
+ return this.numberOfFileInSDPltmCapteursRaw;
+ }
+
+ private Long nbTMInCapteursPayloadFifoRaw;
+
+ public Long nbTMInCapteursPayloadFifoRaw() {
+ if (this.nbTMInCapteursPayloadFifoRaw != null) return this.nbTMInCapteursPayloadFifoRaw;
+ long _tmp = (long) (nbTMInCapteursPayloadFifo());
+ this.nbTMInCapteursPayloadFifoRaw = _tmp;
+ return this.nbTMInCapteursPayloadFifoRaw;
+ }
+
+ private Long modePayloadCapteursRaw;
+
+ public Long modePayloadCapteursRaw() {
+ if (this.modePayloadCapteursRaw != null) return this.modePayloadCapteursRaw;
+ long _tmp = (long) (modePayloadCapteurs());
+ this.modePayloadCapteursRaw = _tmp;
+ return this.modePayloadCapteursRaw;
+ }
+
+ private Long nbTMInPfFifoRaw;
+
+ public Long nbTMInPfFifoRaw() {
+ if (this.nbTMInPfFifoRaw != null) return this.nbTMInPfFifoRaw;
+ long _tmp = (long) (nbTMInPfFifo());
+ this.nbTMInPfFifoRaw = _tmp;
+ return this.nbTMInPfFifoRaw;
+ }
+
+ private long modePlateform;
+ private long pFNumberOfSecondsInCurrentMode;
+ private long modeImtq;
+ private long imtqNumberOfSecondsInCurrentMode;
+ private long modeTrxvu;
+ private long pFNumberOfSecondsInCurrentModebis;
+ private long nbTMInPfFifo;
+ private long modePayloadCapteurs;
+ private long capteursNumberOfSecondsInCurrentMode;
+ private long nbTMInCapteursPayloadFifo;
+ private long modePayloadIMU;
+ private long imuNumberOfSecondsInCurrentMode;
+ private long nbTMInIMUPayloadFifo;
+ private long modePayloadIono;
+ private long ionoNumberOfSecondsInCurrentMode;
+ private long nbTMInIonoPayloadFifo;
+ private long modePayloadLIFI;
+ private long lIFINumberOfSecondsInCurrentMode;
+ private long nbTMInLIFIPayloadFifo;
+ private long modePayloadSPINO;
+ private long sPINONumberOfSecondsInCurrentMode;
+ private long nbTmInSPINOPayloadFifo;
+ private long numberOfFileInSDForHktmPf;
+ private long numberOfFileInSDPltmCapteurs;
+ private long numberOfFileInSDPltmImu;
+ private long numberOfFileInSDPltmIono;
+ private long numberOfFileInSDPltmLifi;
+ private long numberOfFileInSDPltmSpino;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long modePlateform() {
+ return modePlateform;
+ }
+
+ public long pFNumberOfSecondsInCurrentMode() {
+ return pFNumberOfSecondsInCurrentMode;
+ }
+
+ public long modeImtq() {
+ return modeImtq;
+ }
+
+ public long imtqNumberOfSecondsInCurrentMode() {
+ return imtqNumberOfSecondsInCurrentMode;
+ }
+
+ public long modeTrxvu() {
+ return modeTrxvu;
+ }
+
+ public long pFNumberOfSecondsInCurrentModebis() {
+ return pFNumberOfSecondsInCurrentModebis;
+ }
+
+ public long nbTMInPfFifo() {
+ return nbTMInPfFifo;
+ }
+
+ public long modePayloadCapteurs() {
+ return modePayloadCapteurs;
+ }
+
+ public long capteursNumberOfSecondsInCurrentMode() {
+ return capteursNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInCapteursPayloadFifo() {
+ return nbTMInCapteursPayloadFifo;
+ }
+
+ public long modePayloadIMU() {
+ return modePayloadIMU;
+ }
+
+ public long imuNumberOfSecondsInCurrentMode() {
+ return imuNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInIMUPayloadFifo() {
+ return nbTMInIMUPayloadFifo;
+ }
+
+ public long modePayloadIono() {
+ return modePayloadIono;
+ }
+
+ public long ionoNumberOfSecondsInCurrentMode() {
+ return ionoNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInIonoPayloadFifo() {
+ return nbTMInIonoPayloadFifo;
+ }
+
+ public long modePayloadLIFI() {
+ return modePayloadLIFI;
+ }
+
+ public long lIFINumberOfSecondsInCurrentMode() {
+ return lIFINumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInLIFIPayloadFifo() {
+ return nbTMInLIFIPayloadFifo;
+ }
+
+ public long modePayloadSPINO() {
+ return modePayloadSPINO;
+ }
+
+ public long sPINONumberOfSecondsInCurrentMode() {
+ return sPINONumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTmInSPINOPayloadFifo() {
+ return nbTmInSPINOPayloadFifo;
+ }
+
+ public long numberOfFileInSDForHktmPf() {
+ return numberOfFileInSDForHktmPf;
+ }
+
+ public long numberOfFileInSDPltmCapteurs() {
+ return numberOfFileInSDPltmCapteurs;
+ }
+
+ public long numberOfFileInSDPltmImu() {
+ return numberOfFileInSDPltmImu;
+ }
+
+ public long numberOfFileInSDPltmIono() {
+ return numberOfFileInSDPltmIono;
+ }
+
+ public long numberOfFileInSDPltmLifi() {
+ return numberOfFileInSDPltmLifi;
+ }
+
+ public long numberOfFileInSDPltmSpino() {
+ return numberOfFileInSDPltmSpino;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AmsatAscii extends KaitaiStruct {
+ public static AmsatAscii fromFile(String fileName) throws IOException {
+ return new AmsatAscii(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AmsatAscii(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.message = new String(this._io.readBytesFull(), Charset.forName("UTF-8"));
+ }
+
+ private String messageStr;
+
+ public String messageStr() {
+ if (this.messageStr != null) return this.messageStr;
+ this.messageStr = message();
+ return this.messageStr;
+ }
+
+ private String message;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public String message() {
+ return message;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class TrxvurxHk extends KaitaiStruct {
+ public static TrxvurxHk fromFile(String fileName) throws IOException {
+ return new TrxvurxHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public TrxvurxHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public TrxvurxHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public TrxvurxHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsIntBe(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this._io.alignToByte();
+ this.trxvuRxUptime = this._io.readU4be();
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvutxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvutxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this._io.alignToByte();
+ this.trxvuTxUptime = this._io.readU4be();
+ this.trxvuTxState = this._io.readU1();
+ }
+
+ private Double trxvutxTotalSupplyCurrentMa;
+
+ public Double trxvutxTotalSupplyCurrentMa() {
+ if (this.trxvutxTotalSupplyCurrentMa != null) return this.trxvutxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
+ this.trxvutxTotalSupplyCurrentMa = _tmp;
+ return this.trxvutxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvutxPowerAmplifierCurrentMa;
+
+ public Double trxvutxPowerAmplifierCurrentMa() {
+ if (this.trxvutxPowerAmplifierCurrentMa != null) return this.trxvutxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvutxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvutxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
+
+ public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ double _tmp =
+ (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
+ this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ }
+
+ private Long trxvuTxUptimeRaw;
+
+ public Long trxvuTxUptimeRaw() {
+ if (this.trxvuTxUptimeRaw != null) return this.trxvuTxUptimeRaw;
+ long _tmp = (long) (trxvuTxUptime());
+ this.trxvuTxUptimeRaw = _tmp;
+ return this.trxvuTxUptimeRaw;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalDopplerHz;
+
+ public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ double _tmp =
+ (double)
+ (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552)
+ - 22300));
+ this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ }
+
+ private Double trxvurxSupplyVoltageV;
+
+ public Double trxvurxSupplyVoltageV() {
+ if (this.trxvurxSupplyVoltageV != null) return this.trxvurxSupplyVoltageV;
+ double _tmp = (double) ((trxvurxSupplyVoltage() * 0.00488));
+ this.trxvurxSupplyVoltageV = _tmp;
+ return this.trxvurxSupplyVoltageV;
+ }
+
+ private Double trxvurxLocalOscillatorTemperatureC;
+
+ public Double trxvurxLocalOscillatorTemperatureC() {
+ if (this.trxvurxLocalOscillatorTemperatureC != null)
+ return this.trxvurxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvurxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvurxTransmitterCurrentMa;
+
+ public Double trxvurxTransmitterCurrentMa() {
+ if (this.trxvurxTransmitterCurrentMa != null) return this.trxvurxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
+ this.trxvurxTransmitterCurrentMa = _tmp;
+ return this.trxvurxTransmitterCurrentMa;
+ }
+
+ private Double trxvutxSupplyVoltageV;
+
+ public Double trxvutxSupplyVoltageV() {
+ if (this.trxvutxSupplyVoltageV != null) return this.trxvutxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
+ this.trxvutxSupplyVoltageV = _tmp;
+ return this.trxvutxSupplyVoltageV;
+ }
+
+ private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxLocalOscillatorTemperatureC;
+
+ public Double trxvutxLocalOscillatorTemperatureC() {
+ if (this.trxvutxLocalOscillatorTemperatureC != null)
+ return this.trxvutxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvutxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvutxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxReceiverCurrentMa;
+
+ public Double trxvutxReceiverCurrentMa() {
+ if (this.trxvutxReceiverCurrentMa != null) return this.trxvutxReceiverCurrentMa;
+ double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
+ this.trxvutxReceiverCurrentMa = _tmp;
+ return this.trxvutxReceiverCurrentMa;
+ }
+
+ private Double trxvurxPowerAmplifierCurrentMa;
+
+ public Double trxvurxPowerAmplifierCurrentMa() {
+ if (this.trxvurxPowerAmplifierCurrentMa != null) return this.trxvurxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvurxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvurxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxTotalSupplyCurrentMa;
+
+ public Double trxvurxTotalSupplyCurrentMa() {
+ if (this.trxvurxTotalSupplyCurrentMa != null) return this.trxvurxTotalSupplyCurrentMa;
+ double _tmp = (double) ((trxvurxTotalSupplyCurrent() * 0.16643964));
+ this.trxvurxTotalSupplyCurrentMa = _tmp;
+ return this.trxvurxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvutxPowerAmplifierTemperatureC;
+
+ public Double trxvutxPowerAmplifierTemperatureC() {
+ if (this.trxvutxPowerAmplifierTemperatureC != null)
+ return this.trxvutxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvutxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvutxPowerAmplifierTemperatureC;
+ }
+
+ private Double trxvutxTransmitterCurrentMa;
+
+ public Double trxvutxTransmitterCurrentMa() {
+ if (this.trxvutxTransmitterCurrentMa != null) return this.trxvutxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
+ this.trxvutxTransmitterCurrentMa = _tmp;
+ return this.trxvutxTransmitterCurrentMa;
+ }
+
+ private Double trxvurxPowerAmplifierTemperatureC;
+
+ public Double trxvurxPowerAmplifierTemperatureC() {
+ if (this.trxvurxPowerAmplifierTemperatureC != null)
+ return this.trxvurxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvurxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureC;
+ }
+
+ private Integer trxvuTxStateRaw;
+
+ public Integer trxvuTxStateRaw() {
+ if (this.trxvuTxStateRaw != null) return this.trxvuTxStateRaw;
+ int _tmp = (int) (trxvuTxState());
+ this.trxvuTxStateRaw = _tmp;
+ return this.trxvuTxStateRaw;
+ }
+
+ private Long trxvuRxUptimeRaw;
+
+ public Long trxvuRxUptimeRaw() {
+ if (this.trxvuRxUptimeRaw != null) return this.trxvuRxUptimeRaw;
+ long _tmp = (long) (trxvuRxUptime());
+ this.trxvuRxUptimeRaw = _tmp;
+ return this.trxvuRxUptimeRaw;
+ }
+
+ private Double trxvurxReceiverCurrentMa;
+
+ public Double trxvurxReceiverCurrentMa() {
+ if (this.trxvurxReceiverCurrentMa != null) return this.trxvurxReceiverCurrentMa;
+ double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
+ this.trxvurxReceiverCurrentMa = _tmp;
+ return this.trxvurxReceiverCurrentMa;
+ }
+
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private long trxvuRxUptime;
+ private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ private long trxvutxSupplyVoltage;
+ private long trxvutxTotalSupplyCurrent;
+ private long trxvutxTransmitterCurrent;
+ private long trxvutxReceiverCurrent;
+ private long trxvutxPowerAmplifierCurrent;
+ private long trxvutxPowerAmplifierTemperature;
+ private long trxvutxLocalOscillatorTemperature;
+ private long trxvuTxUptime;
+ private int trxvuTxState;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public long trxvuRxUptime() {
+ return trxvuRxUptime;
+ }
+
+ public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ }
+
+ public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvutxSupplyVoltage() {
+ return trxvutxSupplyVoltage;
+ }
+
+ public long trxvutxTotalSupplyCurrent() {
+ return trxvutxTotalSupplyCurrent;
+ }
+
+ public long trxvutxTransmitterCurrent() {
+ return trxvutxTransmitterCurrent;
+ }
+
+ public long trxvutxReceiverCurrent() {
+ return trxvutxReceiverCurrent;
+ }
+
+ public long trxvutxPowerAmplifierCurrent() {
+ return trxvutxPowerAmplifierCurrent;
+ }
+
+ public long trxvutxPowerAmplifierTemperature() {
+ return trxvutxPowerAmplifierTemperature;
+ }
+
+ public long trxvutxLocalOscillatorTemperature() {
+ return trxvutxLocalOscillatorTemperature;
+ }
+
+ public long trxvuTxUptime() {
+ return trxvuTxUptime;
+ }
+
+ public int trxvuTxState() {
+ return trxvuTxState;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardHk extends KaitaiStruct {
+ public static MainboardHk fromFile(String fileName) throws IOException {
+ return new MainboardHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardHkTime = this._io.readU4be();
+ this.hkPlus5V = this._io.readU2be();
+ this.hkMinus5V = this._io.readU2be();
+ this.hkMinusPolar = this._io.readU2be();
+ this.hkTempADC = this._io.readU2be();
+ this.hkFeePlusXVref = this._io.readU2be();
+ this.hkFeeMinusXVref = this._io.readU2be();
+ this.hkFeePlusYVref = this._io.readU2be();
+ this.hkFeeMinusYVref = this._io.readU2be();
+ }
+
+ private Integer hkFeePlusXVrefRaw;
+
+ public Integer hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ int _tmp = (int) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Integer hkFeePlusYVrefRaw;
+
+ public Integer hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ int _tmp = (int) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Integer hkPlus5VRaw;
+
+ public Integer hkPlus5VRaw() {
+ if (this.hkPlus5VRaw != null) return this.hkPlus5VRaw;
+ int _tmp = (int) (hkPlus5V());
+ this.hkPlus5VRaw = _tmp;
+ return this.hkPlus5VRaw;
+ }
+
+ private Integer hkTempADCRaw;
+
+ public Integer hkTempADCRaw() {
+ if (this.hkTempADCRaw != null) return this.hkTempADCRaw;
+ int _tmp = (int) (hkTempADC());
+ this.hkTempADCRaw = _tmp;
+ return this.hkTempADCRaw;
+ }
+
+ private Long mainboardHKTimeRaw;
+
+ public Long mainboardHKTimeRaw() {
+ if (this.mainboardHKTimeRaw != null) return this.mainboardHKTimeRaw;
+ long _tmp = (long) (mainboardHkTime());
+ this.mainboardHKTimeRaw = _tmp;
+ return this.mainboardHKTimeRaw;
+ }
+
+ private Integer hkMinusPolarRaw;
+
+ public Integer hkMinusPolarRaw() {
+ if (this.hkMinusPolarRaw != null) return this.hkMinusPolarRaw;
+ int _tmp = (int) (hkMinusPolar());
+ this.hkMinusPolarRaw = _tmp;
+ return this.hkMinusPolarRaw;
+ }
+
+ private Integer hkMinus5VRaw;
+
+ public Integer hkMinus5VRaw() {
+ if (this.hkMinus5VRaw != null) return this.hkMinus5VRaw;
+ int _tmp = (int) (hkMinus5V());
+ this.hkMinus5VRaw = _tmp;
+ return this.hkMinus5VRaw;
+ }
+
+ private Integer hkFeeMinusXVrefRaw;
+
+ public Integer hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ int _tmp = (int) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Integer hkFeeMinusYVrefRaw;
+
+ public Integer hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ int _tmp = (int) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private long mainboardHkTime;
+ private int hkPlus5V;
+ private int hkMinus5V;
+ private int hkMinusPolar;
+ private int hkTempADC;
+ private int hkFeePlusXVref;
+ private int hkFeeMinusXVref;
+ private int hkFeePlusYVref;
+ private int hkFeeMinusYVref;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ public long mainboardHkTime() {
+ return mainboardHkTime;
+ }
+
+ public int hkPlus5V() {
+ return hkPlus5V;
+ }
+
+ public int hkMinus5V() {
+ return hkMinus5V;
+ }
+
+ public int hkMinusPolar() {
+ return hkMinusPolar;
+ }
+
+ public int hkTempADC() {
+ return hkTempADC;
+ }
+
+ public int hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public int hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public int hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public int hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IFrame extends KaitaiStruct {
+ public static IFrame fromFile(String fileName) throws IOException {
+ return new IFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private byte[] ax25Info;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class SsidMask extends KaitaiStruct {
+ public static SsidMask fromFile(String fileName) throws IOException {
+ return new SsidMask(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public SsidMask(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public SsidMask(KaitaiStream _io, InspireSat7.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public SsidMask(KaitaiStream _io, InspireSat7.Ax25Header _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ssidMask = this._io.readU1();
+ }
+
+ private Integer ssid;
+
+ public Integer ssid() {
+ if (this.ssid != null) return this.ssid;
+ int _tmp = (int) (((ssidMask() & 15) >> 1));
+ this.ssid = _tmp;
+ return this.ssid;
+ }
+
+ private int ssidMask;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Header _parent;
+
+ public int ssidMask() {
+ return ssidMask;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Header _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Beacon extends KaitaiStruct {
+ public static Beacon fromFile(String fileName) throws IOException {
+ return new Beacon(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Beacon(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Beacon(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Beacon(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.modePlatform = this._io.readBitsIntBe(4);
+ this.modeImtq = this._io.readBitsIntBe(4);
+ this.modeTrxvu = this._io.readBitsIntBe(4);
+ this.modePayloadCapteurs = this._io.readBitsIntBe(4);
+ this.modePayloadIMU = this._io.readBitsIntBe(4);
+ this.modePayloadIONO = this._io.readBitsIntBe(4);
+ this.modePayloadLIFI = this._io.readBitsIntBe(4);
+ this.modePayloadSPINO = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.lastReasonReset = this._io.readU1();
+ this.resetOrder = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.formatSDCardOrder = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTmDownloaderSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU2be();
+ this.nbTcPingSinceFirstStart = this._io.readU2be();
+ this.nbBadTcSinceFirstStart = this._io.readU2be();
+ this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsIntBe(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this.zeroPadding = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.trxvuUptime = this._io.readU4be();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.imtqUpTime = this._io.readU4be();
+ this.mcuTemperature = this._io.readU2be();
+ this.tmtcSideAAntsTemperature = this._io.readU2be();
+ this.tmtcSideAAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideAAntsUpTime = this._io.readU4be();
+ this.tmtcSideBAntsTemperature = this._io.readU2be();
+ this.tmtcSideBAntsDeployementStatus = this._io.readU2be();
+ this.ionoSideAAntsTemperature = this._io.readU2be();
+ this.ionoSideAAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideAAntsUpTime = this._io.readU4be();
+ this.ionoSideBAntsTemperature = this._io.readU2be();
+ this.ionoSideBAntsDeploymentStatus = this._io.readU2be();
+ this.voltBrdsupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vVipDistInputRaw = this._io.readS2be();
+ this.iVipDistInputRaw = this._io.readS2be();
+ this.vVipBattInputRaw = this._io.readS2be();
+ this.iVipBattInputRaw = this._io.readS2be();
+ this.statObcOn = this._io.readS2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.batTemp3Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vVipObc00 = this._io.readS2be();
+ this.iVipObc00 = this._io.readS2be();
+ this.vVipObc01 = this._io.readS2be();
+ this.iVipObc01 = this._io.readS2be();
+ this.vVipObc02 = this._io.readS2be();
+ this.iVipObc02 = this._io.readS2be();
+ this.vVipObc03 = this._io.readS2be();
+ this.iVipObc03 = this._io.readS2be();
+ this.vVipObc04 = this._io.readS2be();
+ this.iVipObc04 = this._io.readS2be();
+ this.vVipObc05 = this._io.readS2be();
+ this.iVipObc05 = this._io.readS2be();
+ this.vVipObc06 = this._io.readS2be();
+ this.iVipObc06 = this._io.readS2be();
+ this.vVipObc07 = this._io.readS2be();
+ this.iVipObc07 = this._io.readS2be();
+ this.vVipObc08 = this._io.readS2be();
+ this.iVipObc08 = this._io.readS2be();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.upTime = this._io.readU4be();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Long tmtcSideAAntsUpTimeS;
+
+ public Long tmtcSideAAntsUpTimeS() {
+ if (this.tmtcSideAAntsUpTimeS != null) return this.tmtcSideAAntsUpTimeS;
+ long _tmp = (long) (tmtcSideAAntsUpTime());
+ this.tmtcSideAAntsUpTimeS = _tmp;
+ return this.tmtcSideAAntsUpTimeS;
+ }
+
+ private Long rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw;
+
+ public Long rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw() {
+ if (this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw != null)
+ return this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw;
+ long _tmp = (long) (rxvuTxInstantaneousRFForwardPowerFromTransmitterPort());
+ this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw = _tmp;
+ return this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Long trxvurxPowerAmplifierTemperatureRaw;
+
+ public Long trxvurxPowerAmplifierTemperatureRaw() {
+ if (this.trxvurxPowerAmplifierTemperatureRaw != null)
+ return this.trxvurxPowerAmplifierTemperatureRaw;
+ long _tmp = (long) (trxvurxPowerAmplifierTemperature());
+ this.trxvurxPowerAmplifierTemperatureRaw = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureRaw;
+ }
+
+ private Double vVipObc07V;
+
+ public Double vVipObc07V() {
+ if (this.vVipObc07V != null) return this.vVipObc07V;
+ double _tmp = (double) ((((vVipObc07() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc07V = _tmp;
+ return this.vVipObc07V;
+ }
+
+ private Double ionoSideBAntsTemperatureC;
+
+ public Double ionoSideBAntsTemperatureC() {
+ if (this.ionoSideBAntsTemperatureC != null) return this.ionoSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideBAntsTemperatureC = _tmp;
+ return this.ionoSideBAntsTemperatureC;
+ }
+
+ private Double vVipObc00V;
+
+ public Double vVipObc00V() {
+ if (this.vVipObc00V != null) return this.vVipObc00V;
+ double _tmp = (double) ((((vVipObc00() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc00V = _tmp;
+ return this.vVipObc00V;
+ }
+
+ private Long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw;
+
+ public Long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw() {
+ if (this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw != null)
+ return this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw;
+ long _tmp = (long) (trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort());
+ this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw = _tmp;
+ return this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw;
+ }
+
+ private Integer formatSDCardOrderRaw;
+
+ public Integer formatSDCardOrderRaw() {
+ if (this.formatSDCardOrderRaw != null) return this.formatSDCardOrderRaw;
+ int _tmp = (int) (formatSDCardOrder());
+ this.formatSDCardOrderRaw = _tmp;
+ return this.formatSDCardOrderRaw;
+ }
+
+ private Double vVipObc03V;
+
+ public Double vVipObc03V() {
+ if (this.vVipObc03V != null) return this.vVipObc03V;
+ double _tmp = (double) ((((vVipObc01() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc03V = _tmp;
+ return this.vVipObc03V;
+ }
+
+ private Double iVipObc02Ma;
+
+ public Double iVipObc02Ma() {
+ if (this.iVipObc02Ma != null) return this.iVipObc02Ma;
+ double _tmp = (double) (((iVipObc02() * 3125.0) / 20480.0));
+ this.iVipObc02Ma = _tmp;
+ return this.iVipObc02Ma;
+ }
+
+ private Long nbTmDownloaderSinceFirstStartRaw;
+
+ public Long nbTmDownloaderSinceFirstStartRaw() {
+ if (this.nbTmDownloaderSinceFirstStartRaw != null)
+ return this.nbTmDownloaderSinceFirstStartRaw;
+ long _tmp = (long) (nbTmDownloaderSinceFirstStart());
+ this.nbTmDownloaderSinceFirstStartRaw = _tmp;
+ return this.nbTmDownloaderSinceFirstStartRaw;
+ }
+
+ private Short statObcOnRaw;
+
+ public Short statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ short _tmp = (short) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Double vVipDistInputRawV;
+
+ public Double vVipDistInputRawV() {
+ if (this.vVipDistInputRawV != null) return this.vVipDistInputRawV;
+ double _tmp = (double) ((((vVipDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vVipDistInputRawV = _tmp;
+ return this.vVipDistInputRawV;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Double iVipObc08Ma;
+
+ public Double iVipObc08Ma() {
+ if (this.iVipObc08Ma != null) return this.iVipObc08Ma;
+ double _tmp = (double) (((iVipObc08() * 3125.0) / 20480.0));
+ this.iVipObc08Ma = _tmp;
+ return this.iVipObc08Ma;
+ }
+
+ private Integer modeRaw;
+
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Long trxvurxTotalSupplyCurrentRaw;
+
+ public Long trxvurxTotalSupplyCurrentRaw() {
+ if (this.trxvurxTotalSupplyCurrentRaw != null) return this.trxvurxTotalSupplyCurrentRaw;
+ long _tmp = (long) (trxvurxTotalSupplyCurrent());
+ this.trxvurxTotalSupplyCurrentRaw = _tmp;
+ return this.trxvurxTotalSupplyCurrentRaw;
+ }
+
+ private Long imtqUpTimeRaw;
+
+ public Long imtqUpTimeRaw() {
+ if (this.imtqUpTimeRaw != null) return this.imtqUpTimeRaw;
+ long _tmp = (long) (imtqUpTime());
+ this.imtqUpTimeRaw = _tmp;
+ return this.imtqUpTimeRaw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Double tmtcSideBAntsTemperatureC;
+
+ public Double tmtcSideBAntsTemperatureC() {
+ if (this.tmtcSideBAntsTemperatureC != null) return this.tmtcSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideBAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideBAntsTemperatureC = _tmp;
+ return this.tmtcSideBAntsTemperatureC;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Integer ionoSideBAntsDeploymentStatusRaw;
+
+ public Integer ionoSideBAntsDeploymentStatusRaw() {
+ if (this.ionoSideBAntsDeploymentStatusRaw != null)
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideBAntsDeploymentStatus());
+ this.ionoSideBAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ }
+
+ private Double iVipObc07Ma;
+
+ public Double iVipObc07Ma() {
+ if (this.iVipObc07Ma != null) return this.iVipObc07Ma;
+ double _tmp = (double) (((iVipObc07() * 3125.0) / 20480.0));
+ this.iVipObc07Ma = _tmp;
+ return this.iVipObc07Ma;
+ }
+
+ private Integer voltBrdsupRawRaw;
+
+ public Integer voltBrdsupRawRaw() {
+ if (this.voltBrdsupRawRaw != null) return this.voltBrdsupRawRaw;
+ int _tmp = (int) (voltBrdsupRaw());
+ this.voltBrdsupRawRaw = _tmp;
+ return this.voltBrdsupRawRaw;
+ }
+
+ private Integer tmtcSideBAntsDeployementStatusRaw;
+
+ public Integer tmtcSideBAntsDeployementStatusRaw() {
+ if (this.tmtcSideBAntsDeployementStatusRaw != null)
+ return this.tmtcSideBAntsDeployementStatusRaw;
+ int _tmp = (int) (tmtcSideBAntsDeployementStatus());
+ this.tmtcSideBAntsDeployementStatusRaw = _tmp;
+ return this.tmtcSideBAntsDeployementStatusRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Double iVipObc05Ma;
+
+ public Double iVipObc05Ma() {
+ if (this.iVipObc05Ma != null) return this.iVipObc05Ma;
+ double _tmp = (double) (((iVipObc05() * 3125.0) / 20480.0));
+ this.iVipObc05Ma = _tmp;
+ return this.iVipObc05Ma;
+ }
+
+ private Integer statObcOcfRaw;
+
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long modePlatformRaw;
+
+ public Long modePlatformRaw() {
+ if (this.modePlatformRaw != null) return this.modePlatformRaw;
+ long _tmp = (long) (modePlatform());
+ this.modePlatformRaw = _tmp;
+ return this.modePlatformRaw;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Integer resetOrderRaw;
+
+ public Integer resetOrderRaw() {
+ if (this.resetOrderRaw != null) return this.resetOrderRaw;
+ int _tmp = (int) (resetOrder());
+ this.resetOrderRaw = _tmp;
+ return this.resetOrderRaw;
+ }
+
+ private Long upTimeS;
+
+ public Long upTimeS() {
+ if (this.upTimeS != null) return this.upTimeS;
+ long _tmp = (long) (upTime());
+ this.upTimeS = _tmp;
+ return this.upTimeS;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Double vVipObc08V;
+
+ public Double vVipObc08V() {
+ if (this.vVipObc08V != null) return this.vVipObc08V;
+ double _tmp = (double) ((((vVipObc08() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc08V = _tmp;
+ return this.vVipObc08V;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Double vVipBattInputRawV;
+
+ public Double vVipBattInputRawV() {
+ if (this.vVipBattInputRawV != null) return this.vVipBattInputRawV;
+ double _tmp = (double) ((((vVipBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vVipBattInputRawV = _tmp;
+ return this.vVipBattInputRawV;
+ }
+
+ private Long trxvurxPowerAmplifierCurrentRaw;
+
+ public Long trxvurxPowerAmplifierCurrentRaw() {
+ if (this.trxvurxPowerAmplifierCurrentRaw != null) return this.trxvurxPowerAmplifierCurrentRaw;
+ long _tmp = (long) (trxvurxPowerAmplifierCurrent());
+ this.trxvurxPowerAmplifierCurrentRaw = _tmp;
+ return this.trxvurxPowerAmplifierCurrentRaw;
+ }
+
+ private Integer tempRawRaw;
+
+ public Integer tempRawRaw() {
+ if (this.tempRawRaw != null) return this.tempRawRaw;
+ int _tmp = (int) (tempRaw());
+ this.tempRawRaw = _tmp;
+ return this.tempRawRaw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double batTemp2C;
+
+ public Double batTemp2C() {
+ if (this.batTemp2C != null) return this.batTemp2C;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2C = _tmp;
+ return this.batTemp2C;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Integer lastReasonResetRaw;
+
+ public Integer lastReasonResetRaw() {
+ if (this.lastReasonResetRaw != null) return this.lastReasonResetRaw;
+ int _tmp = (int) (lastReasonReset());
+ this.lastReasonResetRaw = _tmp;
+ return this.lastReasonResetRaw;
+ }
+
+ private Double iVipBattInputRawMa;
+
+ public Double iVipBattInputRawMa() {
+ if (this.iVipBattInputRawMa != null) return this.iVipBattInputRawMa;
+ double _tmp = (double) (((iVipBattInputRaw() * 3125.0) / 10240.0));
+ this.iVipBattInputRawMa = _tmp;
+ return this.iVipBattInputRawMa;
+ }
+
+ private Long modeTrxvuRaw;
+
+ public Long modeTrxvuRaw() {
+ if (this.modeTrxvuRaw != null) return this.modeTrxvuRaw;
+ long _tmp = (long) (modeTrxvu());
+ this.modeTrxvuRaw = _tmp;
+ return this.modeTrxvuRaw;
+ }
+
+ private Double vVipObc02V;
+
+ public Double vVipObc02V() {
+ if (this.vVipObc02V != null) return this.vVipObc02V;
+ double _tmp = (double) ((((vVipObc02() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc02V = _tmp;
+ return this.vVipObc02V;
+ }
+
+ private Long trxvurxTransmitterCurrentRaw;
+
+ public Long trxvurxTransmitterCurrentRaw() {
+ if (this.trxvurxTransmitterCurrentRaw != null) return this.trxvurxTransmitterCurrentRaw;
+ long _tmp = (long) (trxvurxTransmitterCurrent());
+ this.trxvurxTransmitterCurrentRaw = _tmp;
+ return this.trxvurxTransmitterCurrentRaw;
+ }
+
+ private Double iVipObc03Ma;
+
+ public Double iVipObc03Ma() {
+ if (this.iVipObc03Ma != null) return this.iVipObc03Ma;
+ double _tmp = (double) (((iVipObc03() * 3125.0) / 20480.0));
+ this.iVipObc03Ma = _tmp;
+ return this.iVipObc03Ma;
+ }
+
+ private Long modePayloadIMURaw;
+
+ public Long modePayloadIMURaw() {
+ if (this.modePayloadIMURaw != null) return this.modePayloadIMURaw;
+ long _tmp = (long) (modePayloadIMU());
+ this.modePayloadIMURaw = _tmp;
+ return this.modePayloadIMURaw;
+ }
+
+ private Double iVipObc01Ma;
+
+ public Double iVipObc01Ma() {
+ if (this.iVipObc01Ma != null) return this.iVipObc01Ma;
+ double _tmp = (double) (((iVipObc01() * 3125.0) / 20480.0));
+ this.iVipObc01Ma = _tmp;
+ return this.iVipObc01Ma;
+ }
+
+ private Double vVipObc06V;
+
+ public Double vVipObc06V() {
+ if (this.vVipObc06V != null) return this.vVipObc06V;
+ double _tmp = (double) ((((vVipObc06() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc06V = _tmp;
+ return this.vVipObc06V;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw;
+
+ public Long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw;
+ long _tmp = (long) (trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort());
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw;
+ }
+
+ private Long trxvurxSupplyVoltageRaw;
+
+ public Long trxvurxSupplyVoltageRaw() {
+ if (this.trxvurxSupplyVoltageRaw != null) return this.trxvurxSupplyVoltageRaw;
+ long _tmp = (long) (trxvurxSupplyVoltage());
+ this.trxvurxSupplyVoltageRaw = _tmp;
+ return this.trxvurxSupplyVoltageRaw;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Double vVipObc01V;
+
+ public Double vVipObc01V() {
+ if (this.vVipObc01V != null) return this.vVipObc01V;
+ double _tmp = (double) ((((vVipObc01() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc01V = _tmp;
+ return this.vVipObc01V;
+ }
+
+ private Long ionoSideAAntsUpTimeS;
+
+ public Long ionoSideAAntsUpTimeS() {
+ if (this.ionoSideAAntsUpTimeS != null) return this.ionoSideAAntsUpTimeS;
+ long _tmp = (long) (ionoSideAAntsUpTime());
+ this.ionoSideAAntsUpTimeS = _tmp;
+ return this.ionoSideAAntsUpTimeS;
+ }
+
+ private Double batTemp3C;
+
+ public Double batTemp3C() {
+ if (this.batTemp3C != null) return this.batTemp3C;
+ double _tmp = (double) (((batTemp3Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp3C = _tmp;
+ return this.batTemp3C;
+ }
+
+ private Double iVipObc04Ma;
+
+ public Double iVipObc04Ma() {
+ if (this.iVipObc04Ma != null) return this.iVipObc04Ma;
+ double _tmp = (double) (((iVipObc04() * 3125.0) / 20480.0));
+ this.iVipObc04Ma = _tmp;
+ return this.iVipObc04Ma;
+ }
+
+ private Long modePayloadIONORaw;
+
+ public Long modePayloadIONORaw() {
+ if (this.modePayloadIONORaw != null) return this.modePayloadIONORaw;
+ long _tmp = (long) (modePayloadIONO());
+ this.modePayloadIONORaw = _tmp;
+ return this.modePayloadIONORaw;
+ }
+
+ private Long modeImtqRaw;
+
+ public Long modeImtqRaw() {
+ if (this.modeImtqRaw != null) return this.modeImtqRaw;
+ long _tmp = (long) (modeImtq());
+ this.modeImtqRaw = _tmp;
+ return this.modeImtqRaw;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Double ionoSideAAntsTemperatureC;
+
+ public Double ionoSideAAntsTemperatureC() {
+ if (this.ionoSideAAntsTemperatureC != null) return this.ionoSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (ionoSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideAAntsTemperatureC = _tmp;
+ return this.ionoSideAAntsTemperatureC;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private Double vVipObc05V;
+
+ public Double vVipObc05V() {
+ if (this.vVipObc05V != null) return this.vVipObc05V;
+ double _tmp = (double) ((((vVipObc05() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc05V = _tmp;
+ return this.vVipObc05V;
+ }
+
+ private Integer nbTcSinceFirstStartRaw;
+
+ public Integer nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ int _tmp = (int) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Long trxvuUptimeRaw;
+
+ public Long trxvuUptimeRaw() {
+ if (this.trxvuUptimeRaw != null) return this.trxvuUptimeRaw;
+ long _tmp = (long) (trxvuUptime());
+ this.trxvuUptimeRaw = _tmp;
+ return this.trxvuUptimeRaw;
+ }
+
+ private Long trxvurxLocalOscillatorTemperatureRaw;
+
+ public Long trxvurxLocalOscillatorTemperatureRaw() {
+ if (this.trxvurxLocalOscillatorTemperatureRaw != null)
+ return this.trxvurxLocalOscillatorTemperatureRaw;
+ long _tmp = (long) (trxvurxLocalOscillatorTemperature());
+ this.trxvurxLocalOscillatorTemperatureRaw = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureRaw;
+ }
+
+ private Long modePayloadSPINORaw;
+
+ public Long modePayloadSPINORaw() {
+ if (this.modePayloadSPINORaw != null) return this.modePayloadSPINORaw;
+ long _tmp = (long) (modePayloadSPINO());
+ this.modePayloadSPINORaw = _tmp;
+ return this.modePayloadSPINORaw;
+ }
+
+ private Long trxvurxReceiverCurrentRaw;
+
+ public Long trxvurxReceiverCurrentRaw() {
+ if (this.trxvurxReceiverCurrentRaw != null) return this.trxvurxReceiverCurrentRaw;
+ long _tmp = (long) (trxvurxReceiverCurrent());
+ this.trxvurxReceiverCurrentRaw = _tmp;
+ return this.trxvurxReceiverCurrentRaw;
+ }
+
+ private Integer nbTcPingSinceFirstStartRaw;
+
+ public Integer nbTcPingSinceFirstStartRaw() {
+ if (this.nbTcPingSinceFirstStartRaw != null) return this.nbTcPingSinceFirstStartRaw;
+ int _tmp = (int) (nbTcPingSinceFirstStart());
+ this.nbTcPingSinceFirstStartRaw = _tmp;
+ return this.nbTcPingSinceFirstStartRaw;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Integer resetCauseRaw;
+
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Double vVipObc04V;
+
+ public Double vVipObc04V() {
+ if (this.vVipObc04V != null) return this.vVipObc04V;
+ double _tmp = (double) ((((vVipObc04() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc04V = _tmp;
+ return this.vVipObc04V;
+ }
+
+ private Integer nbBadTcSinceFirstStartRaw;
+
+ public Integer nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ int _tmp = (int) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Long modePayloadLIFIRaw;
+
+ public Long modePayloadLIFIRaw() {
+ if (this.modePayloadLIFIRaw != null) return this.modePayloadLIFIRaw;
+ long _tmp = (long) (modePayloadLIFI());
+ this.modePayloadLIFIRaw = _tmp;
+ return this.modePayloadLIFIRaw;
+ }
+
+ private Long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw;
+
+ public Long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw;
+ long _tmp = (long) (trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort());
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw;
+ }
+
+ private Integer tmtcSideAAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideAAntsDeploymentStatusRaw() {
+ if (this.tmtcSideAAntsDeploymentStatusRaw != null)
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideAAntsDeploymentStatus());
+ this.tmtcSideAAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ }
+
+ private Double tmtcSideAAntsTemperatureC;
+
+ public Double tmtcSideAAntsTemperatureC() {
+ if (this.tmtcSideAAntsTemperatureC != null) return this.tmtcSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideAAntsTemperatureC = _tmp;
+ return this.tmtcSideAAntsTemperatureC;
+ }
+
+ private Double iVipObc06Ma;
+
+ public Double iVipObc06Ma() {
+ if (this.iVipObc06Ma != null) return this.iVipObc06Ma;
+ double _tmp = (double) (((iVipObc06() * 3125.0) / 20480.0));
+ this.iVipObc06Ma = _tmp;
+ return this.iVipObc06Ma;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Double iVipDistInputRawMa;
+
+ public Double iVipDistInputRawMa() {
+ if (this.iVipDistInputRawMa != null) return this.iVipDistInputRawMa;
+ double _tmp = (double) (((iVipDistInputRaw() * 3125.0) / 10240.0));
+ this.iVipDistInputRawMa = _tmp;
+ return this.iVipDistInputRawMa;
+ }
+
+ private Long modePayloadCapteursRaw;
+
+ public Long modePayloadCapteursRaw() {
+ if (this.modePayloadCapteursRaw != null) return this.modePayloadCapteursRaw;
+ long _tmp = (long) (modePayloadCapteurs());
+ this.modePayloadCapteursRaw = _tmp;
+ return this.modePayloadCapteursRaw;
+ }
+
+ private Integer ionoSideAAntsDeploymentStatusRaw;
+
+ public Integer ionoSideAAntsDeploymentStatusRaw() {
+ if (this.ionoSideAAntsDeploymentStatusRaw != null)
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideAAntsDeploymentStatus());
+ this.ionoSideAAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ }
+
+ private Integer confRaw;
+
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Double iVipObc00Ma;
+
+ public Double iVipObc00Ma() {
+ if (this.iVipObc00Ma != null) return this.iVipObc00Ma;
+ double _tmp = (double) (((iVipObc00() * 3125.0) / 20480.0));
+ this.iVipObc00Ma = _tmp;
+ return this.iVipObc00Ma;
+ }
+
+ private Integer mcuTemperatureRaw;
+
+ public Integer mcuTemperatureRaw() {
+ if (this.mcuTemperatureRaw != null) return this.mcuTemperatureRaw;
+ int _tmp = (int) (mcuTemperature());
+ this.mcuTemperatureRaw = _tmp;
+ return this.mcuTemperatureRaw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private Long zeroPaddingRaw;
+
+ public Long zeroPaddingRaw() {
+ if (this.zeroPaddingRaw != null) return this.zeroPaddingRaw;
+ long _tmp = (long) (zeroPadding());
+ this.zeroPaddingRaw = _tmp;
+ return this.zeroPaddingRaw;
+ }
+
+ private long modePlatform;
+ private long modeImtq;
+ private long modeTrxvu;
+ private long modePayloadCapteurs;
+ private long modePayloadIMU;
+ private long modePayloadIONO;
+ private long modePayloadLIFI;
+ private long modePayloadSPINO;
+ private int lastReasonReset;
+ private int resetOrder;
+ private int nbReset;
+ private int formatSDCardOrder;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTmDownloaderSinceFirstStart;
+ private int nbTcSinceFirstStart;
+ private int nbTcPingSinceFirstStart;
+ private int nbBadTcSinceFirstStart;
+ private long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort;
+ private long rxvuTxInstantaneousRFForwardPowerFromTransmitterPort;
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private long zeroPadding;
+ private long trxvuUptime;
+ private int imtqSystemStateMode;
+ private long imtqUpTime;
+ private int mcuTemperature;
+ private int tmtcSideAAntsTemperature;
+ private int tmtcSideAAntsDeploymentStatus;
+ private long tmtcSideAAntsUpTime;
+ private int tmtcSideBAntsTemperature;
+ private int tmtcSideBAntsDeployementStatus;
+ private int ionoSideAAntsTemperature;
+ private int ionoSideAAntsDeploymentStatus;
+ private long ionoSideAAntsUpTime;
+ private int ionoSideBAntsTemperature;
+ private int ionoSideBAntsDeploymentStatus;
+ private int voltBrdsupRaw;
+ private int tempRaw;
+ private short vVipDistInputRaw;
+ private short iVipDistInputRaw;
+ private short vVipBattInputRaw;
+ private short iVipBattInputRaw;
+ private short statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int batTemp3Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private short vVipObc00;
+ private short iVipObc00;
+ private short vVipObc01;
+ private short iVipObc01;
+ private short vVipObc02;
+ private short iVipObc02;
+ private short vVipObc03;
+ private short iVipObc03;
+ private short vVipObc04;
+ private short iVipObc04;
+ private short vVipObc05;
+ private short iVipObc05;
+ private short vVipObc06;
+ private short iVipObc06;
+ private short vVipObc07;
+ private short iVipObc07;
+ private short vVipObc08;
+ private short iVipObc08;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long upTime;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long modePlatform() {
+ return modePlatform;
+ }
+
+ public long modeImtq() {
+ return modeImtq;
+ }
+
+ public long modeTrxvu() {
+ return modeTrxvu;
+ }
+
+ public long modePayloadCapteurs() {
+ return modePayloadCapteurs;
+ }
+
+ public long modePayloadIMU() {
+ return modePayloadIMU;
+ }
+
+ public long modePayloadIONO() {
+ return modePayloadIONO;
+ }
+
+ public long modePayloadLIFI() {
+ return modePayloadLIFI;
+ }
+
+ public long modePayloadSPINO() {
+ return modePayloadSPINO;
+ }
+
+ public int lastReasonReset() {
+ return lastReasonReset;
+ }
+
+ public int resetOrder() {
+ return resetOrder;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int formatSDCardOrder() {
+ return formatSDCardOrder;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTmDownloaderSinceFirstStart() {
+ return nbTmDownloaderSinceFirstStart;
+ }
+
+ public int nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public int nbTcPingSinceFirstStart() {
+ return nbTcPingSinceFirstStart;
+ }
+
+ public int nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort() {
+ return trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort;
+ }
+
+ public long rxvuTxInstantaneousRFForwardPowerFromTransmitterPort() {
+ return rxvuTxInstantaneousRFForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public long zeroPadding() {
+ return zeroPadding;
+ }
+
+ public long trxvuUptime() {
+ return trxvuUptime;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public long imtqUpTime() {
+ return imtqUpTime;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int tmtcSideAAntsTemperature() {
+ return tmtcSideAAntsTemperature;
+ }
+
+ public int tmtcSideAAntsDeploymentStatus() {
+ return tmtcSideAAntsDeploymentStatus;
+ }
+
+ public long tmtcSideAAntsUpTime() {
+ return tmtcSideAAntsUpTime;
+ }
+
+ public int tmtcSideBAntsTemperature() {
+ return tmtcSideBAntsTemperature;
+ }
+
+ public int tmtcSideBAntsDeployementStatus() {
+ return tmtcSideBAntsDeployementStatus;
+ }
+
+ public int ionoSideAAntsTemperature() {
+ return ionoSideAAntsTemperature;
+ }
+
+ public int ionoSideAAntsDeploymentStatus() {
+ return ionoSideAAntsDeploymentStatus;
+ }
+
+ public long ionoSideAAntsUpTime() {
+ return ionoSideAAntsUpTime;
+ }
+
+ public int ionoSideBAntsTemperature() {
+ return ionoSideBAntsTemperature;
+ }
+
+ public int ionoSideBAntsDeploymentStatus() {
+ return ionoSideBAntsDeploymentStatus;
+ }
+
+ public int voltBrdsupRaw() {
+ return voltBrdsupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public short vVipDistInputRaw() {
+ return vVipDistInputRaw;
+ }
+
+ public short iVipDistInputRaw() {
+ return iVipDistInputRaw;
+ }
+
+ public short vVipBattInputRaw() {
+ return vVipBattInputRaw;
+ }
+
+ public short iVipBattInputRaw() {
+ return iVipBattInputRaw;
+ }
+
+ public short statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int batTemp3Raw() {
+ return batTemp3Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public short vVipObc00() {
+ return vVipObc00;
+ }
+
+ public short iVipObc00() {
+ return iVipObc00;
+ }
+
+ public short vVipObc01() {
+ return vVipObc01;
+ }
+
+ public short iVipObc01() {
+ return iVipObc01;
+ }
+
+ public short vVipObc02() {
+ return vVipObc02;
+ }
+
+ public short iVipObc02() {
+ return iVipObc02;
+ }
+
+ public short vVipObc03() {
+ return vVipObc03;
+ }
+
+ public short iVipObc03() {
+ return iVipObc03;
+ }
+
+ public short vVipObc04() {
+ return vVipObc04;
+ }
+
+ public short iVipObc04() {
+ return iVipObc04;
+ }
+
+ public short vVipObc05() {
+ return vVipObc05;
+ }
+
+ public short iVipObc05() {
+ return iVipObc05;
+ }
+
+ public short vVipObc06() {
+ return vVipObc06;
+ }
+
+ public short iVipObc06() {
+ return iVipObc06;
+ }
+
+ public short vVipObc07() {
+ return vVipObc07;
+ }
+
+ public short iVipObc07() {
+ return iVipObc07;
+ }
+
+ public short vVipObc08() {
+ return vVipObc08;
+ }
+
+ public short iVipObc08() {
+ return iVipObc08;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long upTime() {
+ return upTime;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class ImtqHk extends KaitaiStruct {
+ public static ImtqHk fromFile(String fileName) throws IOException {
+ return new ImtqHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public ImtqHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.digitaleVoltage = this._io.readU2be();
+ this.analogVoltage = this._io.readU2be();
+ this.digitalCurrent = this._io.readU2be();
+ this.analogCurrent = this._io.readU2be();
+ this.measureCoilXCurrent = this._io.readU2be();
+ this.measureCoilYCurrent = this._io.readU2be();
+ this.measureCoilZCurrent = this._io.readU2be();
+ this.measureCoilXTemperature = this._io.readU2be();
+ this.measureCoilYTemperature = this._io.readU2be();
+ this.measureCoilZTemperature = this._io.readU2be();
+ this.mcuTemperature = this._io.readU2be();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.imtqSystemStateError = this._io.readU1();
+ this.imtqSystemStateConfiguration = this._io.readU1();
+ this.imtqSystemStateUptime = this._io.readU4be();
+ this.rawMagX = this._io.readU4be();
+ this.rawMagY = this._io.readU4be();
+ this.rawMagZ = this._io.readU4be();
+ this.cOILACT = this._io.readU1();
+ }
+
+ private Integer analogCurrentRaw;
+
+ public Integer analogCurrentRaw() {
+ if (this.analogCurrentRaw != null) return this.analogCurrentRaw;
+ int _tmp = (int) (analogCurrent());
+ this.analogCurrentRaw = _tmp;
+ return this.analogCurrentRaw;
+ }
+
+ private Double measureCoilYTemperatureC;
+
+ public Double measureCoilYTemperatureC() {
+ if (this.measureCoilYTemperatureC != null) return this.measureCoilYTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilYTemperatureC = _tmp;
+ return this.measureCoilYTemperatureC;
+ }
+
+ private Integer cOILACTRaw;
+
+ public Integer cOILACTRaw() {
+ if (this.cOILACTRaw != null) return this.cOILACTRaw;
+ int _tmp = (int) (cOILACT());
+ this.cOILACTRaw = _tmp;
+ return this.cOILACTRaw;
+ }
+
+ private Long rawMagZRaw;
+
+ public Long rawMagZRaw() {
+ if (this.rawMagZRaw != null) return this.rawMagZRaw;
+ long _tmp = (long) (rawMagZ());
+ this.rawMagZRaw = _tmp;
+ return this.rawMagZRaw;
+ }
+
+ private Integer digitalCurrentRaw;
+
+ public Integer digitalCurrentRaw() {
+ if (this.digitalCurrentRaw != null) return this.digitalCurrentRaw;
+ int _tmp = (int) (digitalCurrent());
+ this.digitalCurrentRaw = _tmp;
+ return this.digitalCurrentRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Double measureCoilZCurrentMa;
+
+ public Double measureCoilZCurrentMa() {
+ if (this.measureCoilZCurrentMa != null) return this.measureCoilZCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
+ this.measureCoilZCurrentMa = _tmp;
+ return this.measureCoilZCurrentMa;
+ }
+
+ private Double measureCoilZTemperatureC;
+
+ public Double measureCoilZTemperatureC() {
+ if (this.measureCoilZTemperatureC != null) return this.measureCoilZTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilZTemperatureC = _tmp;
+ return this.measureCoilZTemperatureC;
+ }
+
+ private Double measureCoilXCurrentMa;
+
+ public Double measureCoilXCurrentMa() {
+ if (this.measureCoilXCurrentMa != null) return this.measureCoilXCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
+ this.measureCoilXCurrentMa = _tmp;
+ return this.measureCoilXCurrentMa;
+ }
+
+ private Double measureCoilYCurrentMa;
+
+ public Double measureCoilYCurrentMa() {
+ if (this.measureCoilYCurrentMa != null) return this.measureCoilYCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
+ this.measureCoilYCurrentMa = _tmp;
+ return this.measureCoilYCurrentMa;
+ }
+
+ private Double digitaleVoltageV;
+
+ public Double digitaleVoltageV() {
+ if (this.digitaleVoltageV != null) return this.digitaleVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * digitaleVoltage()));
+ this.digitaleVoltageV = _tmp;
+ return this.digitaleVoltageV;
+ }
+
+ private Double analogVoltageV;
+
+ public Double analogVoltageV() {
+ if (this.analogVoltageV != null) return this.analogVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * analogVoltage()));
+ this.analogVoltageV = _tmp;
+ return this.analogVoltageV;
+ }
+
+ private Long rawMagXRaw;
+
+ public Long rawMagXRaw() {
+ if (this.rawMagXRaw != null) return this.rawMagXRaw;
+ long _tmp = (long) (rawMagX());
+ this.rawMagXRaw = _tmp;
+ return this.rawMagXRaw;
+ }
+
+ private Long imtqSystemStateUptimeRaw;
+
+ public Long imtqSystemStateUptimeRaw() {
+ if (this.imtqSystemStateUptimeRaw != null) return this.imtqSystemStateUptimeRaw;
+ long _tmp = (long) (imtqSystemStateUptime());
+ this.imtqSystemStateUptimeRaw = _tmp;
+ return this.imtqSystemStateUptimeRaw;
+ }
+
+ private Double mcuTemperatureC;
+
+ public Double mcuTemperatureC() {
+ if (this.mcuTemperatureC != null) return this.mcuTemperatureC;
+ double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
+ this.mcuTemperatureC = _tmp;
+ return this.mcuTemperatureC;
+ }
+
+ private Integer imtqSystemStateConfigurationRaw;
+
+ public Integer imtqSystemStateConfigurationRaw() {
+ if (this.imtqSystemStateConfigurationRaw != null) return this.imtqSystemStateConfigurationRaw;
+ int _tmp = (int) (imtqSystemStateConfiguration());
+ this.imtqSystemStateConfigurationRaw = _tmp;
+ return this.imtqSystemStateConfigurationRaw;
+ }
+
+ private Double measureCoilXTemperatureC;
+
+ public Double measureCoilXTemperatureC() {
+ if (this.measureCoilXTemperatureC != null) return this.measureCoilXTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilXTemperatureC = _tmp;
+ return this.measureCoilXTemperatureC;
+ }
+
+ private Long rawMagYRaw;
+
+ public Long rawMagYRaw() {
+ if (this.rawMagYRaw != null) return this.rawMagYRaw;
+ long _tmp = (long) (rawMagY());
+ this.rawMagYRaw = _tmp;
+ return this.rawMagYRaw;
+ }
+
+ private Integer imtqSystemStateErrorRaw;
+
+ public Integer imtqSystemStateErrorRaw() {
+ if (this.imtqSystemStateErrorRaw != null) return this.imtqSystemStateErrorRaw;
+ int _tmp = (int) (imtqSystemStateError());
+ this.imtqSystemStateErrorRaw = _tmp;
+ return this.imtqSystemStateErrorRaw;
+ }
+
+ private int digitaleVoltage;
+ private int analogVoltage;
+ private int digitalCurrent;
+ private int analogCurrent;
+ private int measureCoilXCurrent;
+ private int measureCoilYCurrent;
+ private int measureCoilZCurrent;
+ private int measureCoilXTemperature;
+ private int measureCoilYTemperature;
+ private int measureCoilZTemperature;
+ private int mcuTemperature;
+ private int imtqSystemStateMode;
+ private int imtqSystemStateError;
+ private int imtqSystemStateConfiguration;
+ private long imtqSystemStateUptime;
+ private long rawMagX;
+ private long rawMagY;
+ private long rawMagZ;
+ private int cOILACT;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int digitaleVoltage() {
+ return digitaleVoltage;
+ }
+
+ public int analogVoltage() {
+ return analogVoltage;
+ }
+
+ public int digitalCurrent() {
+ return digitalCurrent;
+ }
+
+ public int analogCurrent() {
+ return analogCurrent;
+ }
+
+ public int measureCoilXCurrent() {
+ return measureCoilXCurrent;
+ }
+
+ public int measureCoilYCurrent() {
+ return measureCoilYCurrent;
+ }
+
+ public int measureCoilZCurrent() {
+ return measureCoilZCurrent;
+ }
+
+ public int measureCoilXTemperature() {
+ return measureCoilXTemperature;
+ }
+
+ public int measureCoilYTemperature() {
+ return measureCoilYTemperature;
+ }
+
+ public int measureCoilZTemperature() {
+ return measureCoilZTemperature;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public int imtqSystemStateError() {
+ return imtqSystemStateError;
+ }
+
+ public int imtqSystemStateConfiguration() {
+ return imtqSystemStateConfiguration;
+ }
+
+ public long imtqSystemStateUptime() {
+ return imtqSystemStateUptime;
+ }
+
+ public long rawMagX() {
+ return rawMagX;
+ }
+
+ public long rawMagY() {
+ return rawMagY;
+ }
+
+ public long rawMagZ() {
+ return rawMagZ;
+ }
+
+ public int cOILACT() {
+ return cOILACT;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketSecondaryHeader extends KaitaiStruct {
+ public static PacketSecondaryHeader fromFile(String fileName) throws IOException {
+ return new PacketSecondaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmPacketPusVersionNumber = this._io.readBitsIntBe(4);
+ this.spacecraftTimeReferenceStatus = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.serviceTypeId = this._io.readU1();
+ this.messageSubtypeId = this._io.readU1();
+ this.messageTypeCounter = this._io.readU2be();
+ this.destinationId = this._io.readU2be();
+ this.time = this._io.readU4be();
+ this.dummy1 = this._io.readU2be();
+ this.dummy2 = this._io.readU1();
+ this.sid = this._io.readU1();
+ }
+
+ private long tmPacketPusVersionNumber;
+ private long spacecraftTimeReferenceStatus;
+ private int serviceTypeId;
+ private int messageSubtypeId;
+ private int messageTypeCounter;
+ private int destinationId;
+ private long time;
+ private int dummy1;
+ private int dummy2;
+ private int sid;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long tmPacketPusVersionNumber() {
+ return tmPacketPusVersionNumber;
+ }
+
+ public long spacecraftTimeReferenceStatus() {
+ return spacecraftTimeReferenceStatus;
+ }
+
+ public int serviceTypeId() {
+ return serviceTypeId;
+ }
+
+ public int messageSubtypeId() {
+ return messageSubtypeId;
+ }
+
+ public int messageTypeCounter() {
+ return messageTypeCounter;
+ }
+
+ public int destinationId() {
+ return destinationId;
+ }
+
+ public long time() {
+ return time;
+ }
+
+ public int dummy1() {
+ return dummy1;
+ }
+
+ public int dummy2() {
+ return dummy2;
+ }
+
+ public int sid() {
+ return sid;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MsgOrUnknow extends KaitaiStruct {
+ public static MsgOrUnknow fromFile(String fileName) throws IOException {
+ return new MsgOrUnknow(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MsgOrUnknow(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.data = this._io.readBytesFull();
+ }
+
+ private byte[] dataByte;
+
+ public byte[] dataByte() {
+ if (this.dataByte != null) return this.dataByte;
+ this.dataByte = data();
+ return this.dataByte;
+ }
+
+ private byte[] data;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public byte[] data() {
+ return data;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class CallsignRaw extends KaitaiStruct {
+ public static CallsignRaw fromFile(String fileName) throws IOException {
+ return new CallsignRaw(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public CallsignRaw(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, InspireSat7.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, InspireSat7.Ax25Header _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this._raw__raw_callsignRor = this._io.readBytes(6);
+ this._raw_callsignRor = KaitaiStream.processRotateLeft(_raw__raw_callsignRor, 8 - (1), 1);
+ KaitaiStream _io__raw_callsignRor = new ByteBufferKaitaiStream(_raw_callsignRor);
+ this.callsignRor = new Callsign(_io__raw_callsignRor, this, _root);
+ }
+
+ private Callsign callsignRor;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Header _parent;
+ private byte[] _raw_callsignRor;
+ private byte[] _raw__raw_callsignRor;
+
+ public Callsign callsignRor() {
+ return callsignRor;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Header _parent() {
+ return _parent;
+ }
+
+ public byte[] _raw_callsignRor() {
+ return _raw_callsignRor;
+ }
+
+ public byte[] _raw__raw_callsignRor() {
+ return _raw__raw_callsignRor;
+ }
+ }
+
+ public static class IobcHk extends KaitaiStruct {
+ public static IobcHk fromFile(String fileName) throws IOException {
+ return new IobcHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IobcHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IobcHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IobcHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorEnableStatus = this._io.readU1();
+ this.supervisorUptime = this._io.readU4be();
+ this.iobcUptime = this._io.readU4be();
+ this.iobcResetCount = this._io.readU4be();
+ this.iobcMeasureTemperature = this._io.readU2be();
+ this.iobcMeasure3v3In = this._io.readU2be();
+ this.iobcMeasure3v3 = this._io.readU2be();
+ this.iobcMeasure2vReference = this._io.readU2be();
+ this.iobcMeasure1v8 = this._io.readU2be();
+ this.iobcMeasure1v0 = this._io.readU2be();
+ this.iobcMeasureCurrent3v3 = this._io.readU2be();
+ this.iobcMeasureCurrent1v8 = this._io.readU2be();
+ this.iobcMeasureCurrent1v0 = this._io.readU2be();
+ this.iobcMeasureVoltRtc = this._io.readU2be();
+ this.iobcAdcUpdateFlag = this._io.readU1();
+ this.iobcCrc8 = this._io.readU1();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Double iobcMeasure1v0V;
+
+ public Double iobcMeasure1v0V() {
+ if (this.iobcMeasure1v0V != null) return this.iobcMeasure1v0V;
+ double _tmp = (double) (((2500.0 * iobcMeasure1v0()) / 1023));
+ this.iobcMeasure1v0V = _tmp;
+ return this.iobcMeasure1v0V;
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Integer iobcMeasureTemperatureRaw;
+
+ public Integer iobcMeasureTemperatureRaw() {
+ if (this.iobcMeasureTemperatureRaw != null) return this.iobcMeasureTemperatureRaw;
+ int _tmp = (int) (iobcMeasureTemperature());
+ this.iobcMeasureTemperatureRaw = _tmp;
+ return this.iobcMeasureTemperatureRaw;
+ }
+
+ private Long supervisorUptimeRaw;
+
+ public Long supervisorUptimeRaw() {
+ if (this.supervisorUptimeRaw != null) return this.supervisorUptimeRaw;
+ long _tmp = (long) (supervisorUptime());
+ this.supervisorUptimeRaw = _tmp;
+ return this.supervisorUptimeRaw;
+ }
+
+ private Integer supervisorEnableStatusRaw;
+
+ public Integer supervisorEnableStatusRaw() {
+ if (this.supervisorEnableStatusRaw != null) return this.supervisorEnableStatusRaw;
+ int _tmp = (int) (supervisorEnableStatus());
+ this.supervisorEnableStatusRaw = _tmp;
+ return this.supervisorEnableStatusRaw;
+ }
+
+ private Integer iobcMeasure3v3InRaw;
+
+ public Integer iobcMeasure3v3InRaw() {
+ if (this.iobcMeasure3v3InRaw != null) return this.iobcMeasure3v3InRaw;
+ int _tmp = (int) (iobcMeasure3v3In());
+ this.iobcMeasure3v3InRaw = _tmp;
+ return this.iobcMeasure3v3InRaw;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Integer iobcMeasureCurrent1v0Raw;
+
+ public Integer iobcMeasureCurrent1v0Raw() {
+ if (this.iobcMeasureCurrent1v0Raw != null) return this.iobcMeasureCurrent1v0Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v0());
+ this.iobcMeasureCurrent1v0Raw = _tmp;
+ return this.iobcMeasureCurrent1v0Raw;
+ }
+
+ private Double iobcMeasureVoltRtcV;
+
+ public Double iobcMeasureVoltRtcV() {
+ if (this.iobcMeasureVoltRtcV != null) return this.iobcMeasureVoltRtcV;
+ double _tmp = (double) (((2500.0 * iobcMeasureVoltRtc()) / 1023));
+ this.iobcMeasureVoltRtcV = _tmp;
+ return this.iobcMeasureVoltRtcV;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Integer dummyRaw;
+
+ public Integer dummyRaw() {
+ if (this.dummyRaw != null) return this.dummyRaw;
+ int _tmp = (int) (dummy());
+ this.dummyRaw = _tmp;
+ return this.dummyRaw;
+ }
+
+ private Integer iobcMeasureCurrent1v8Raw;
+
+ public Integer iobcMeasureCurrent1v8Raw() {
+ if (this.iobcMeasureCurrent1v8Raw != null) return this.iobcMeasureCurrent1v8Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v8());
+ this.iobcMeasureCurrent1v8Raw = _tmp;
+ return this.iobcMeasureCurrent1v8Raw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Double iobcMeasure2vReferenceV;
+
+ public Double iobcMeasure2vReferenceV() {
+ if (this.iobcMeasure2vReferenceV != null) return this.iobcMeasure2vReferenceV;
+ double _tmp = (double) (((2500.0 * iobcMeasure2vReference()) / 1023));
+ this.iobcMeasure2vReferenceV = _tmp;
+ return this.iobcMeasure2vReferenceV;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Double iobcMeasure1v8V;
+
+ public Double iobcMeasure1v8V() {
+ if (this.iobcMeasure1v8V != null) return this.iobcMeasure1v8V;
+ double _tmp = (double) (((2500.0 * iobcMeasure1v8()) / 1023));
+ this.iobcMeasure1v8V = _tmp;
+ return this.iobcMeasure1v8V;
+ }
+
+ private Integer iobcAdcUpdateFlagRaw;
+
+ public Integer iobcAdcUpdateFlagRaw() {
+ if (this.iobcAdcUpdateFlagRaw != null) return this.iobcAdcUpdateFlagRaw;
+ int _tmp = (int) (iobcAdcUpdateFlag());
+ this.iobcAdcUpdateFlagRaw = _tmp;
+ return this.iobcAdcUpdateFlagRaw;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Long iobcResetCountRaw;
+
+ public Long iobcResetCountRaw() {
+ if (this.iobcResetCountRaw != null) return this.iobcResetCountRaw;
+ long _tmp = (long) (iobcResetCount());
+ this.iobcResetCountRaw = _tmp;
+ return this.iobcResetCountRaw;
+ }
+
+ private Long iobcUptimeRaw;
+
+ public Long iobcUptimeRaw() {
+ if (this.iobcUptimeRaw != null) return this.iobcUptimeRaw;
+ long _tmp = (long) (iobcUptime());
+ this.iobcUptimeRaw = _tmp;
+ return this.iobcUptimeRaw;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Double iobcMeasure3v3V;
+
+ public Double iobcMeasure3v3V() {
+ if (this.iobcMeasure3v3V != null) return this.iobcMeasure3v3V;
+ double _tmp = (double) (((2500.0 * iobcMeasure3v3()) / 1023));
+ this.iobcMeasure3v3V = _tmp;
+ return this.iobcMeasure3v3V;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Integer iobcCrc8Raw;
+
+ public Integer iobcCrc8Raw() {
+ if (this.iobcCrc8Raw != null) return this.iobcCrc8Raw;
+ int _tmp = (int) (iobcCrc8());
+ this.iobcCrc8Raw = _tmp;
+ return this.iobcCrc8Raw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private Integer iobcMeasureCurrent3v3Raw;
+
+ public Integer iobcMeasureCurrent3v3Raw() {
+ if (this.iobcMeasureCurrent3v3Raw != null) return this.iobcMeasureCurrent3v3Raw;
+ int _tmp = (int) (iobcMeasureCurrent3v3());
+ this.iobcMeasureCurrent3v3Raw = _tmp;
+ return this.iobcMeasureCurrent3v3Raw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorEnableStatus;
+ private long supervisorUptime;
+ private long iobcUptime;
+ private long iobcResetCount;
+ private int iobcMeasureTemperature;
+ private int iobcMeasure3v3In;
+ private int iobcMeasure3v3;
+ private int iobcMeasure2vReference;
+ private int iobcMeasure1v8;
+ private int iobcMeasure1v0;
+ private int iobcMeasureCurrent3v3;
+ private int iobcMeasureCurrent1v8;
+ private int iobcMeasureCurrent1v0;
+ private int iobcMeasureVoltRtc;
+ private int iobcAdcUpdateFlag;
+ private int iobcCrc8;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorEnableStatus() {
+ return supervisorEnableStatus;
+ }
+
+ public long supervisorUptime() {
+ return supervisorUptime;
+ }
+
+ public long iobcUptime() {
+ return iobcUptime;
+ }
+
+ public long iobcResetCount() {
+ return iobcResetCount;
+ }
+
+ public int iobcMeasureTemperature() {
+ return iobcMeasureTemperature;
+ }
+
+ public int iobcMeasure3v3In() {
+ return iobcMeasure3v3In;
+ }
+
+ public int iobcMeasure3v3() {
+ return iobcMeasure3v3;
+ }
+
+ public int iobcMeasure2vReference() {
+ return iobcMeasure2vReference;
+ }
+
+ public int iobcMeasure1v8() {
+ return iobcMeasure1v8;
+ }
+
+ public int iobcMeasure1v0() {
+ return iobcMeasure1v0;
+ }
+
+ public int iobcMeasureCurrent3v3() {
+ return iobcMeasureCurrent3v3;
+ }
+
+ public int iobcMeasureCurrent1v8() {
+ return iobcMeasureCurrent1v8;
+ }
+
+ public int iobcMeasureCurrent1v0() {
+ return iobcMeasureCurrent1v0;
+ }
+
+ public int iobcMeasureVoltRtc() {
+ return iobcMeasureVoltRtc;
+ }
+
+ public int iobcAdcUpdateFlag() {
+ return iobcAdcUpdateFlag;
+ }
+
+ public int iobcCrc8() {
+ return iobcCrc8;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IepsHkStatus extends KaitaiStruct {
+ public static IepsHkStatus fromFile(String fileName) throws IOException {
+ return new IepsHkStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IepsHkStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.hKStid = this._io.readU1();
+ this.hKIvid = this._io.readU1();
+ this.hKRc = this._io.readU1();
+ this.hKBid = this._io.readU1();
+ this.hKCmderr = this._io.readBitsIntBe(4);
+ this.hKStat = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.voltBrdSupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vDistInputRaw = this._io.readU2be();
+ this.iDistInputRaw = this._io.readU2be();
+ this.pDistInputRaw = this._io.readU2be();
+ this.vBattInputRaw = this._io.readU2be();
+ this.iBattInputRaw = this._io.readU2be();
+ this.pBattInputRaw = this._io.readU2be();
+ this.statObcOn = this._io.readU2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.batTemp3Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vObc00 = this._io.readU2be();
+ this.iObc00 = this._io.readU2be();
+ this.pObc00 = this._io.readU2be();
+ this.vObc01 = this._io.readU2be();
+ this.iObc01 = this._io.readU2be();
+ this.pObc01 = this._io.readU2be();
+ this.vObc02 = this._io.readU2be();
+ this.iObc02 = this._io.readU2be();
+ this.pObc02 = this._io.readU2be();
+ this.vObc03 = this._io.readU2be();
+ this.iObc03 = this._io.readU2be();
+ this.pObc03 = this._io.readU2be();
+ this.vObc04 = this._io.readU2be();
+ this.iObc04 = this._io.readU2be();
+ this.pObc04 = this._io.readU2be();
+ this.vObc05 = this._io.readU2be();
+ this.iObc05 = this._io.readU2be();
+ this.pObc05 = this._io.readU2be();
+ this.vObc06 = this._io.readU2be();
+ this.iObc06 = this._io.readU2be();
+ this.pObc06 = this._io.readU2be();
+ this.vObc07 = this._io.readU2be();
+ this.iObc07 = this._io.readU2be();
+ this.pObc07 = this._io.readU2be();
+ this.vObc08 = this._io.readU2be();
+ this.iObc08 = this._io.readU2be();
+ this.pObc08 = this._io.readU2be();
+ this.cc1 = this._io.readBytes(8);
+ this.cc2 = this._io.readBytes(8);
+ this.cc3 = this._io.readBytes(8);
+ this.statusStid = this._io.readU1();
+ this.statusIvid = this._io.readU1();
+ this.statusRc = this._io.readU1();
+ this.statusBid = this._io.readU1();
+ this.statusCmderr = this._io.readBitsIntBe(4);
+ this.statusStat = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.uptime = this._io.readU4be();
+ this.error = this._io.readU2be();
+ this.rcCntPwron = this._io.readU2be();
+ this.rcCntWdg = this._io.readU2be();
+ this.rcCntCmd = this._io.readU2be();
+ this.rcCntMcu = this._io.readU2be();
+ this.rcCntEmlopo = this._io.readU2be();
+ this.prevcmdElapsed = this._io.readU2be();
+ }
+
+ private Integer rcCntPwronRaw;
+
+ public Integer rcCntPwronRaw() {
+ if (this.rcCntPwronRaw != null) return this.rcCntPwronRaw;
+ int _tmp = (int) (rcCntPwron());
+ this.rcCntPwronRaw = _tmp;
+ return this.rcCntPwronRaw;
+ }
+
+ private Double vDistInputRawV;
+
+ public Double vDistInputRawV() {
+ if (this.vDistInputRawV != null) return this.vDistInputRawV;
+ double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vDistInputRawV = _tmp;
+ return this.vDistInputRawV;
+ }
+
+ private Double iObc05Ma;
+
+ public Double iObc05Ma() {
+ if (this.iObc05Ma != null) return this.iObc05Ma;
+ double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
+ this.iObc05Ma = _tmp;
+ return this.iObc05Ma;
+ }
+
+ private Double batTemp3RawT;
+
+ public Double batTemp3RawT() {
+ if (this.batTemp3RawT != null) return this.batTemp3RawT;
+ double _tmp = (double) (((batTemp3Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp3RawT = _tmp;
+ return this.batTemp3RawT;
+ }
+
+ private Double pObc05Mw;
+
+ public Double pObc05Mw() {
+ if (this.pObc05Mw != null) return this.pObc05Mw;
+ double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
+ this.pObc05Mw = _tmp;
+ return this.pObc05Mw;
+ }
+
+ private Integer statObcOnRaw;
+
+ public Integer statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ int _tmp = (int) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Long statusStatRaw;
+
+ public Long statusStatRaw() {
+ if (this.statusStatRaw != null) return this.statusStatRaw;
+ long _tmp = (long) (statusStat());
+ this.statusStatRaw = _tmp;
+ return this.statusStatRaw;
+ }
+
+ private Integer hKRcRaw;
+
+ public Integer hKRcRaw() {
+ if (this.hKRcRaw != null) return this.hKRcRaw;
+ int _tmp = (int) (hKRc());
+ this.hKRcRaw = _tmp;
+ return this.hKRcRaw;
+ }
+
+ private Double pObc00Mw;
+
+ public Double pObc00Mw() {
+ if (this.pObc00Mw != null) return this.pObc00Mw;
+ double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
+ this.pObc00Mw = _tmp;
+ return this.pObc00Mw;
+ }
+
+ private Double vObc02V;
+
+ public Double vObc02V() {
+ if (this.vObc02V != null) return this.vObc02V;
+ double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
+ this.vObc02V = _tmp;
+ return this.vObc02V;
+ }
+
+ private Double pObc06Mw;
+
+ public Double pObc06Mw() {
+ if (this.pObc06Mw != null) return this.pObc06Mw;
+ double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
+ this.pObc06Mw = _tmp;
+ return this.pObc06Mw;
+ }
+
+ private Double vObc08V;
+
+ public Double vObc08V() {
+ if (this.vObc08V != null) return this.vObc08V;
+ double _tmp = (double) ((((vObc08() * 125.0) / 128.0) / 1000.0));
+ this.vObc08V = _tmp;
+ return this.vObc08V;
+ }
+
+ private Integer modeRaw;
+
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Double vObc07V;
+
+ public Double vObc07V() {
+ if (this.vObc07V != null) return this.vObc07V;
+ double _tmp = (double) ((((vObc07() * 125.0) / 128.0) / 1000.0));
+ this.vObc07V = _tmp;
+ return this.vObc07V;
+ }
+
+ private Long statusCmderrRaw;
+
+ public Long statusCmderrRaw() {
+ if (this.statusCmderrRaw != null) return this.statusCmderrRaw;
+ long _tmp = (long) (statusCmderr());
+ this.statusCmderrRaw = _tmp;
+ return this.statusCmderrRaw;
+ }
+
+ private Double pObc01Mw;
+
+ public Double pObc01Mw() {
+ if (this.pObc01Mw != null) return this.pObc01Mw;
+ double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
+ this.pObc01Mw = _tmp;
+ return this.pObc01Mw;
+ }
+
+ private Integer rcCntCmdRaw;
+
+ public Integer rcCntCmdRaw() {
+ if (this.rcCntCmdRaw != null) return this.rcCntCmdRaw;
+ int _tmp = (int) (rcCntCmd());
+ this.rcCntCmdRaw = _tmp;
+ return this.rcCntCmdRaw;
+ }
+
+ private Integer statObcOcfRaw;
+
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long uptimeRaw;
+
+ public Long uptimeRaw() {
+ if (this.uptimeRaw != null) return this.uptimeRaw;
+ long _tmp = (long) (uptime());
+ this.uptimeRaw = _tmp;
+ return this.uptimeRaw;
+ }
+
+ private Double voltBrdSupRawV;
+
+ public Double voltBrdSupRawV() {
+ if (this.voltBrdSupRawV != null) return this.voltBrdSupRawV;
+ double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
+ this.voltBrdSupRawV = _tmp;
+ return this.voltBrdSupRawV;
+ }
+
+ private Double iObc00Ma;
+
+ public Double iObc00Ma() {
+ if (this.iObc00Ma != null) return this.iObc00Ma;
+ double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
+ this.iObc00Ma = _tmp;
+ return this.iObc00Ma;
+ }
+
+ private Double iObc04Ma;
+
+ public Double iObc04Ma() {
+ if (this.iObc04Ma != null) return this.iObc04Ma;
+ double _tmp = (double) (((iObc04() * 3125.0) / 20480.0));
+ this.iObc04Ma = _tmp;
+ return this.iObc04Ma;
+ }
+
+ private Integer rcCntWdgRaw;
+
+ public Integer rcCntWdgRaw() {
+ if (this.rcCntWdgRaw != null) return this.rcCntWdgRaw;
+ int _tmp = (int) (rcCntWdg());
+ this.rcCntWdgRaw = _tmp;
+ return this.rcCntWdgRaw;
+ }
+
+ private Double pDistInputRawMw;
+
+ public Double pDistInputRawMw() {
+ if (this.pDistInputRawMw != null) return this.pDistInputRawMw;
+ double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
+ this.pDistInputRawMw = _tmp;
+ return this.pDistInputRawMw;
+ }
+
+ private Double pObc07Mw;
+
+ public Double pObc07Mw() {
+ if (this.pObc07Mw != null) return this.pObc07Mw;
+ double _tmp = (double) (((pObc07() * 3125.0) / 6400.0));
+ this.pObc07Mw = _tmp;
+ return this.pObc07Mw;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Double vObc06V;
+
+ public Double vObc06V() {
+ if (this.vObc06V != null) return this.vObc06V;
+ double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
+ this.vObc06V = _tmp;
+ return this.vObc06V;
+ }
+
+ private Double iObc03Ma;
+
+ public Double iObc03Ma() {
+ if (this.iObc03Ma != null) return this.iObc03Ma;
+ double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
+ this.iObc03Ma = _tmp;
+ return this.iObc03Ma;
+ }
+
+ private Double vObc03V;
+
+ public Double vObc03V() {
+ if (this.vObc03V != null) return this.vObc03V;
+ double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
+ this.vObc03V = _tmp;
+ return this.vObc03V;
+ }
+
+ private Integer hKBidRaw;
+
+ public Integer hKBidRaw() {
+ if (this.hKBidRaw != null) return this.hKBidRaw;
+ int _tmp = (int) (hKBid());
+ this.hKBidRaw = _tmp;
+ return this.hKBidRaw;
+ }
+
+ private Double iBattInputRawMa;
+
+ public Double iBattInputRawMa() {
+ if (this.iBattInputRawMa != null) return this.iBattInputRawMa;
+ double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
+ this.iBattInputRawMa = _tmp;
+ return this.iBattInputRawMa;
+ }
+
+ private Integer hKIvidRaw;
+
+ public Integer hKIvidRaw() {
+ if (this.hKIvidRaw != null) return this.hKIvidRaw;
+ int _tmp = (int) (hKIvid());
+ this.hKIvidRaw = _tmp;
+ return this.hKIvidRaw;
+ }
+
+ private Double iObc02Ma;
+
+ public Double iObc02Ma() {
+ if (this.iObc02Ma != null) return this.iObc02Ma;
+ double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
+ this.iObc02Ma = _tmp;
+ return this.iObc02Ma;
+ }
+
+ private Integer statusStidRaw;
+
+ public Integer statusStidRaw() {
+ if (this.statusStidRaw != null) return this.statusStidRaw;
+ int _tmp = (int) (statusStid());
+ this.statusStidRaw = _tmp;
+ return this.statusStidRaw;
+ }
+
+ private Double iObc06Ma;
+
+ public Double iObc06Ma() {
+ if (this.iObc06Ma != null) return this.iObc06Ma;
+ double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
+ this.iObc06Ma = _tmp;
+ return this.iObc06Ma;
+ }
+
+ private Integer statusRcRaw;
+
+ public Integer statusRcRaw() {
+ if (this.statusRcRaw != null) return this.statusRcRaw;
+ int _tmp = (int) (statusRc());
+ this.statusRcRaw = _tmp;
+ return this.statusRcRaw;
+ }
+
+ private byte[] cc2Byte;
+
+ public byte[] cc2Byte() {
+ if (this.cc2Byte != null) return this.cc2Byte;
+ this.cc2Byte = cc2();
+ return this.cc2Byte;
+ }
+
+ private Integer errorRaw;
+
+ public Integer errorRaw() {
+ if (this.errorRaw != null) return this.errorRaw;
+ int _tmp = (int) (error());
+ this.errorRaw = _tmp;
+ return this.errorRaw;
+ }
+
+ private Double iDistInputRawMa;
+
+ public Double iDistInputRawMa() {
+ if (this.iDistInputRawMa != null) return this.iDistInputRawMa;
+ double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
+ this.iDistInputRawMa = _tmp;
+ return this.iDistInputRawMa;
+ }
+
+ private Double vObc01V;
+
+ public Double vObc01V() {
+ if (this.vObc01V != null) return this.vObc01V;
+ double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
+ this.vObc01V = _tmp;
+ return this.vObc01V;
+ }
+
+ private Double pBattInputRawMw;
+
+ public Double pBattInputRawMw() {
+ if (this.pBattInputRawMw != null) return this.pBattInputRawMw;
+ double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
+ this.pBattInputRawMw = _tmp;
+ return this.pBattInputRawMw;
+ }
+
+ private Double iObc01Ma;
+
+ public Double iObc01Ma() {
+ if (this.iObc01Ma != null) return this.iObc01Ma;
+ double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
+ this.iObc01Ma = _tmp;
+ return this.iObc01Ma;
+ }
+
+ private Double tempRawT;
+
+ public Double tempRawT() {
+ if (this.tempRawT != null) return this.tempRawT;
+ double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
+ this.tempRawT = _tmp;
+ return this.tempRawT;
+ }
+
+ private byte[] cc1Byte;
+
+ public byte[] cc1Byte() {
+ if (this.cc1Byte != null) return this.cc1Byte;
+ this.cc1Byte = cc1();
+ return this.cc1Byte;
+ }
+
+ private Integer rcCntEmlopoRaw;
+
+ public Integer rcCntEmlopoRaw() {
+ if (this.rcCntEmlopoRaw != null) return this.rcCntEmlopoRaw;
+ int _tmp = (int) (rcCntEmlopo());
+ this.rcCntEmlopoRaw = _tmp;
+ return this.rcCntEmlopoRaw;
+ }
+
+ private Integer rcCntMcuRaw;
+
+ public Integer rcCntMcuRaw() {
+ if (this.rcCntMcuRaw != null) return this.rcCntMcuRaw;
+ int _tmp = (int) (rcCntMcu());
+ this.rcCntMcuRaw = _tmp;
+ return this.rcCntMcuRaw;
+ }
+
+ private Integer statusBidRaw;
+
+ public Integer statusBidRaw() {
+ if (this.statusBidRaw != null) return this.statusBidRaw;
+ int _tmp = (int) (statusBid());
+ this.statusBidRaw = _tmp;
+ return this.statusBidRaw;
+ }
+
+ private Integer statusIvidRaw;
+
+ public Integer statusIvidRaw() {
+ if (this.statusIvidRaw != null) return this.statusIvidRaw;
+ int _tmp = (int) (statusIvid());
+ this.statusIvidRaw = _tmp;
+ return this.statusIvidRaw;
+ }
+
+ private Double pObc03Mw;
+
+ public Double pObc03Mw() {
+ if (this.pObc03Mw != null) return this.pObc03Mw;
+ double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
+ this.pObc03Mw = _tmp;
+ return this.pObc03Mw;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private byte[] cc3Byte;
+
+ public byte[] cc3Byte() {
+ if (this.cc3Byte != null) return this.cc3Byte;
+ this.cc3Byte = cc3();
+ return this.cc3Byte;
+ }
+
+ private Double vObc05V;
+
+ public Double vObc05V() {
+ if (this.vObc05V != null) return this.vObc05V;
+ double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
+ this.vObc05V = _tmp;
+ return this.vObc05V;
+ }
+
+ private Double vObc00V;
+
+ public Double vObc00V() {
+ if (this.vObc00V != null) return this.vObc00V;
+ double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
+ this.vObc00V = _tmp;
+ return this.vObc00V;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Long hKCmderrRaw;
+
+ public Long hKCmderrRaw() {
+ if (this.hKCmderrRaw != null) return this.hKCmderrRaw;
+ long _tmp = (long) (hKCmderr());
+ this.hKCmderrRaw = _tmp;
+ return this.hKCmderrRaw;
+ }
+
+ private Double batTemp2RawT;
+
+ public Double batTemp2RawT() {
+ if (this.batTemp2RawT != null) return this.batTemp2RawT;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2RawT = _tmp;
+ return this.batTemp2RawT;
+ }
+
+ private Double iObc07Ma;
+
+ public Double iObc07Ma() {
+ if (this.iObc07Ma != null) return this.iObc07Ma;
+ double _tmp = (double) (((iObc07() * 3125.0) / 20480.0));
+ this.iObc07Ma = _tmp;
+ return this.iObc07Ma;
+ }
+
+ private Double vBattInputRawV;
+
+ public Double vBattInputRawV() {
+ if (this.vBattInputRawV != null) return this.vBattInputRawV;
+ double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vBattInputRawV = _tmp;
+ return this.vBattInputRawV;
+ }
+
+ private Integer resetCauseRaw;
+
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Integer hKStidRaw;
+
+ public Integer hKStidRaw() {
+ if (this.hKStidRaw != null) return this.hKStidRaw;
+ int _tmp = (int) (hKStid());
+ this.hKStidRaw = _tmp;
+ return this.hKStidRaw;
+ }
+
+ private Double pObc02Mw;
+
+ public Double pObc02Mw() {
+ if (this.pObc02Mw != null) return this.pObc02Mw;
+ double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
+ this.pObc02Mw = _tmp;
+ return this.pObc02Mw;
+ }
+
+ private Long hKStatRaw;
+
+ public Long hKStatRaw() {
+ if (this.hKStatRaw != null) return this.hKStatRaw;
+ long _tmp = (long) (hKStat());
+ this.hKStatRaw = _tmp;
+ return this.hKStatRaw;
+ }
+
+ private Double iObc08Ma;
+
+ public Double iObc08Ma() {
+ if (this.iObc08Ma != null) return this.iObc08Ma;
+ double _tmp = (double) (((iObc08() * 3125.0) / 20480.0));
+ this.iObc08Ma = _tmp;
+ return this.iObc08Ma;
+ }
+
+ private Double pObc04Mw;
+
+ public Double pObc04Mw() {
+ if (this.pObc04Mw != null) return this.pObc04Mw;
+ double _tmp = (double) (((pObc04() * 3125.0) / 6400.0));
+ this.pObc04Mw = _tmp;
+ return this.pObc04Mw;
+ }
+
+ private Integer confRaw;
+
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Double vObc04V;
+
+ public Double vObc04V() {
+ if (this.vObc04V != null) return this.vObc04V;
+ double _tmp = (double) ((((vObc04() * 125.0) / 128.0) / 1000.0));
+ this.vObc04V = _tmp;
+ return this.vObc04V;
+ }
+
+ private Double pObc08Mw;
+
+ public Double pObc08Mw() {
+ if (this.pObc08Mw != null) return this.pObc08Mw;
+ double _tmp = (double) (((pObc08() * 3125.0) / 6400.0));
+ this.pObc08Mw = _tmp;
+ return this.pObc08Mw;
+ }
+
+ private Integer prevcmdElapsedRaw;
+
+ public Integer prevcmdElapsedRaw() {
+ if (this.prevcmdElapsedRaw != null) return this.prevcmdElapsedRaw;
+ int _tmp = (int) (prevcmdElapsed());
+ this.prevcmdElapsedRaw = _tmp;
+ return this.prevcmdElapsedRaw;
+ }
+
+ private int hKStid;
+ private int hKIvid;
+ private int hKRc;
+ private int hKBid;
+ private long hKCmderr;
+ private long hKStat;
+ private int voltBrdSupRaw;
+ private int tempRaw;
+ private int vDistInputRaw;
+ private int iDistInputRaw;
+ private int pDistInputRaw;
+ private int vBattInputRaw;
+ private int iBattInputRaw;
+ private int pBattInputRaw;
+ private int statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int batTemp3Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private int vObc00;
+ private int iObc00;
+ private int pObc00;
+ private int vObc01;
+ private int iObc01;
+ private int pObc01;
+ private int vObc02;
+ private int iObc02;
+ private int pObc02;
+ private int vObc03;
+ private int iObc03;
+ private int pObc03;
+ private int vObc04;
+ private int iObc04;
+ private int pObc04;
+ private int vObc05;
+ private int iObc05;
+ private int pObc05;
+ private int vObc06;
+ private int iObc06;
+ private int pObc06;
+ private int vObc07;
+ private int iObc07;
+ private int pObc07;
+ private int vObc08;
+ private int iObc08;
+ private int pObc08;
+ private byte[] cc1;
+ private byte[] cc2;
+ private byte[] cc3;
+ private int statusStid;
+ private int statusIvid;
+ private int statusRc;
+ private int statusBid;
+ private long statusCmderr;
+ private long statusStat;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long uptime;
+ private int error;
+ private int rcCntPwron;
+ private int rcCntWdg;
+ private int rcCntCmd;
+ private int rcCntMcu;
+ private int rcCntEmlopo;
+ private int prevcmdElapsed;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int hKStid() {
+ return hKStid;
+ }
+
+ public int hKIvid() {
+ return hKIvid;
+ }
+
+ public int hKRc() {
+ return hKRc;
+ }
+
+ public int hKBid() {
+ return hKBid;
+ }
+
+ public long hKCmderr() {
+ return hKCmderr;
+ }
+
+ public long hKStat() {
+ return hKStat;
+ }
+
+ public int voltBrdSupRaw() {
+ return voltBrdSupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public int vDistInputRaw() {
+ return vDistInputRaw;
+ }
+
+ public int iDistInputRaw() {
+ return iDistInputRaw;
+ }
+
+ public int pDistInputRaw() {
+ return pDistInputRaw;
+ }
+
+ public int vBattInputRaw() {
+ return vBattInputRaw;
+ }
+
+ public int iBattInputRaw() {
+ return iBattInputRaw;
+ }
+
+ public int pBattInputRaw() {
+ return pBattInputRaw;
+ }
+
+ public int statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int batTemp3Raw() {
+ return batTemp3Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public int vObc00() {
+ return vObc00;
+ }
+
+ public int iObc00() {
+ return iObc00;
+ }
+
+ public int pObc00() {
+ return pObc00;
+ }
+
+ public int vObc01() {
+ return vObc01;
+ }
+
+ public int iObc01() {
+ return iObc01;
+ }
+
+ public int pObc01() {
+ return pObc01;
+ }
+
+ public int vObc02() {
+ return vObc02;
+ }
+
+ public int iObc02() {
+ return iObc02;
+ }
+
+ public int pObc02() {
+ return pObc02;
+ }
+
+ public int vObc03() {
+ return vObc03;
+ }
+
+ public int iObc03() {
+ return iObc03;
+ }
+
+ public int pObc03() {
+ return pObc03;
+ }
+
+ public int vObc04() {
+ return vObc04;
+ }
+
+ public int iObc04() {
+ return iObc04;
+ }
+
+ public int pObc04() {
+ return pObc04;
+ }
+
+ public int vObc05() {
+ return vObc05;
+ }
+
+ public int iObc05() {
+ return iObc05;
+ }
+
+ public int pObc05() {
+ return pObc05;
+ }
+
+ public int vObc06() {
+ return vObc06;
+ }
+
+ public int iObc06() {
+ return iObc06;
+ }
+
+ public int pObc06() {
+ return pObc06;
+ }
+
+ public int vObc07() {
+ return vObc07;
+ }
+
+ public int iObc07() {
+ return iObc07;
+ }
+
+ public int pObc07() {
+ return pObc07;
+ }
+
+ public int vObc08() {
+ return vObc08;
+ }
+
+ public int iObc08() {
+ return iObc08;
+ }
+
+ public int pObc08() {
+ return pObc08;
+ }
+
+ public byte[] cc1() {
+ return cc1;
+ }
+
+ public byte[] cc2() {
+ return cc2;
+ }
+
+ public byte[] cc3() {
+ return cc3;
+ }
+
+ public int statusStid() {
+ return statusStid;
+ }
+
+ public int statusIvid() {
+ return statusIvid;
+ }
+
+ public int statusRc() {
+ return statusRc;
+ }
+
+ public int statusBid() {
+ return statusBid;
+ }
+
+ public long statusCmderr() {
+ return statusCmderr;
+ }
+
+ public long statusStat() {
+ return statusStat;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long uptime() {
+ return uptime;
+ }
+
+ public int error() {
+ return error;
+ }
+
+ public int rcCntPwron() {
+ return rcCntPwron;
+ }
+
+ public int rcCntWdg() {
+ return rcCntWdg;
+ }
+
+ public int rcCntCmd() {
+ return rcCntCmd;
+ }
+
+ public int rcCntMcu() {
+ return rcCntMcu;
+ }
+
+ public int rcCntEmlopo() {
+ return rcCntEmlopo;
+ }
+
+ public int prevcmdElapsed() {
+ return prevcmdElapsed;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IobcStatus extends KaitaiStruct {
+ public static IobcStatus fromFile(String fileName) throws IOException {
+ return new IobcStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IobcStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IobcStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IobcStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorIndexOfSubsystem = this._io.readU1();
+ this.supervisorMajorVersion = this._io.readU1();
+ this.supervisorMinorVersion = this._io.readU1();
+ this.supervisorPatchVersion = this._io.readU1();
+ this.supervisorGitHeadVersion = this._io.readU4be();
+ this.supervisorSerialNumber = this._io.readU2be();
+ this.compilationInformation = this._io.readBytes(19);
+ this.clockSpeed = this._io.readU1();
+ this.codeType = this._io.readU1();
+ this.crc8 = this._io.readU1();
+ this.swMmode = this._io.readU1();
+ this.lastResetReason = this._io.readU1();
+ this.reserved = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.reserved2 = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU4be();
+ this.nbTcPingSinceFirstStart = this._io.readU4be();
+ this.nbBadTcSinceFirstStart = this._io.readU4be();
+ this.nbTmInSdcard = this._io.readU4be();
+ this.sdcardStatus = this._io.readU1();
+ this.sdcardLastError = this._io.readU4be();
+ this.oldTimeTMInSdcard = this._io.readBitsIntBe(56);
+ this.newTimeTMInSdcard = this._io.readBitsIntBe(56);
+ }
+
+ private Long newTimeTMInSdcardRaw;
+
+ public Long newTimeTMInSdcardRaw() {
+ if (this.newTimeTMInSdcardRaw != null) return this.newTimeTMInSdcardRaw;
+ long _tmp = (long) (newTimeTMInSdcard());
+ this.newTimeTMInSdcardRaw = _tmp;
+ return this.newTimeTMInSdcardRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Integer clockSpeedRaw;
+
+ public Integer clockSpeedRaw() {
+ if (this.clockSpeedRaw != null) return this.clockSpeedRaw;
+ int _tmp = (int) (clockSpeed());
+ this.clockSpeedRaw = _tmp;
+ return this.clockSpeedRaw;
+ }
+
+ private Integer lastResetReasonRaw;
+
+ public Integer lastResetReasonRaw() {
+ if (this.lastResetReasonRaw != null) return this.lastResetReasonRaw;
+ int _tmp = (int) (lastResetReason());
+ this.lastResetReasonRaw = _tmp;
+ return this.lastResetReasonRaw;
+ }
+
+ private Integer supervisorIndexOfSubsystemRaw;
+
+ public Integer supervisorIndexOfSubsystemRaw() {
+ if (this.supervisorIndexOfSubsystemRaw != null) return this.supervisorIndexOfSubsystemRaw;
+ int _tmp = (int) (supervisorIndexOfSubsystem());
+ this.supervisorIndexOfSubsystemRaw = _tmp;
+ return this.supervisorIndexOfSubsystemRaw;
+ }
+
+ private Integer crc8Raw;
+
+ public Integer crc8Raw() {
+ if (this.crc8Raw != null) return this.crc8Raw;
+ int _tmp = (int) (crc8());
+ this.crc8Raw = _tmp;
+ return this.crc8Raw;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Long supervisorGitHeadVersionRaw;
+
+ public Long supervisorGitHeadVersionRaw() {
+ if (this.supervisorGitHeadVersionRaw != null) return this.supervisorGitHeadVersionRaw;
+ long _tmp = (long) (supervisorGitHeadVersion());
+ this.supervisorGitHeadVersionRaw = _tmp;
+ return this.supervisorGitHeadVersionRaw;
+ }
+
+ private Integer supervisorMajorVersionRaw;
+
+ public Integer supervisorMajorVersionRaw() {
+ if (this.supervisorMajorVersionRaw != null) return this.supervisorMajorVersionRaw;
+ int _tmp = (int) (supervisorMajorVersion());
+ this.supervisorMajorVersionRaw = _tmp;
+ return this.supervisorMajorVersionRaw;
+ }
+
+ private byte[] compilationInformationByte;
+
+ public byte[] compilationInformationByte() {
+ if (this.compilationInformationByte != null) return this.compilationInformationByte;
+ this.compilationInformationByte = compilationInformation();
+ return this.compilationInformationByte;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer supervisorMinorVersionRaw;
+
+ public Integer supervisorMinorVersionRaw() {
+ if (this.supervisorMinorVersionRaw != null) return this.supervisorMinorVersionRaw;
+ int _tmp = (int) (supervisorMinorVersion());
+ this.supervisorMinorVersionRaw = _tmp;
+ return this.supervisorMinorVersionRaw;
+ }
+
+ private Integer sdcardStatusRaw;
+
+ public Integer sdcardStatusRaw() {
+ if (this.sdcardStatusRaw != null) return this.sdcardStatusRaw;
+ int _tmp = (int) (sdcardStatus());
+ this.sdcardStatusRaw = _tmp;
+ return this.sdcardStatusRaw;
+ }
+
+ private Integer supervisorPatchVersionRaw;
+
+ public Integer supervisorPatchVersionRaw() {
+ if (this.supervisorPatchVersionRaw != null) return this.supervisorPatchVersionRaw;
+ int _tmp = (int) (supervisorPatchVersion());
+ this.supervisorPatchVersionRaw = _tmp;
+ return this.supervisorPatchVersionRaw;
+ }
+
+ private Integer reservedRaw;
+
+ public Integer reservedRaw() {
+ if (this.reservedRaw != null) return this.reservedRaw;
+ int _tmp = (int) (reserved());
+ this.reservedRaw = _tmp;
+ return this.reservedRaw;
+ }
+
+ private Integer supervisorSerialNumberRaw;
+
+ public Integer supervisorSerialNumberRaw() {
+ if (this.supervisorSerialNumberRaw != null) return this.supervisorSerialNumberRaw;
+ int _tmp = (int) (supervisorSerialNumber());
+ this.supervisorSerialNumberRaw = _tmp;
+ return this.supervisorSerialNumberRaw;
+ }
+
+ private Long nbTmInSdcardRaw;
+
+ public Long nbTmInSdcardRaw() {
+ if (this.nbTmInSdcardRaw != null) return this.nbTmInSdcardRaw;
+ long _tmp = (long) (nbTmInSdcard());
+ this.nbTmInSdcardRaw = _tmp;
+ return this.nbTmInSdcardRaw;
+ }
+
+ private Integer reserved2Raw;
+
+ public Integer reserved2Raw() {
+ if (this.reserved2Raw != null) return this.reserved2Raw;
+ int _tmp = (int) (reserved2());
+ this.reserved2Raw = _tmp;
+ return this.reserved2Raw;
+ }
+
+ private Integer swMmodeRaw;
+
+ public Integer swMmodeRaw() {
+ if (this.swMmodeRaw != null) return this.swMmodeRaw;
+ int _tmp = (int) (swMmode());
+ this.swMmodeRaw = _tmp;
+ return this.swMmodeRaw;
+ }
+
+ private Integer codeTypeRaw;
+
+ public Integer codeTypeRaw() {
+ if (this.codeTypeRaw != null) return this.codeTypeRaw;
+ int _tmp = (int) (codeType());
+ this.codeTypeRaw = _tmp;
+ return this.codeTypeRaw;
+ }
+
+ private Long oldTimeTMInSdcardRaw;
+
+ public Long oldTimeTMInSdcardRaw() {
+ if (this.oldTimeTMInSdcardRaw != null) return this.oldTimeTMInSdcardRaw;
+ long _tmp = (long) (oldTimeTMInSdcard());
+ this.oldTimeTMInSdcardRaw = _tmp;
+ return this.oldTimeTMInSdcardRaw;
+ }
+
+ private Integer dummydummy;
+
+ public Integer dummydummy() {
+ if (this.dummydummy != null) return this.dummydummy;
+ int _tmp = (int) (dummy());
+ this.dummydummy = _tmp;
+ return this.dummydummy;
+ }
+
+ private Long nbTcSinceFirstStartRaw;
+
+ public Long nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ long _tmp = (long) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Long nbTcPingSinceFirstStartRaw;
+
+ public Long nbTcPingSinceFirstStartRaw() {
+ if (this.nbTcPingSinceFirstStartRaw != null) return this.nbTcPingSinceFirstStartRaw;
+ long _tmp = (long) (nbTcPingSinceFirstStart());
+ this.nbTcPingSinceFirstStartRaw = _tmp;
+ return this.nbTcPingSinceFirstStartRaw;
+ }
+
+ private Long sdcardLastErrorRaw;
+
+ public Long sdcardLastErrorRaw() {
+ if (this.sdcardLastErrorRaw != null) return this.sdcardLastErrorRaw;
+ long _tmp = (long) (sdcardLastError());
+ this.sdcardLastErrorRaw = _tmp;
+ return this.sdcardLastErrorRaw;
+ }
+
+ private Long nbBadTcSinceFirstStartRaw;
+
+ public Long nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ long _tmp = (long) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorIndexOfSubsystem;
+ private int supervisorMajorVersion;
+ private int supervisorMinorVersion;
+ private int supervisorPatchVersion;
+ private long supervisorGitHeadVersion;
+ private int supervisorSerialNumber;
+ private byte[] compilationInformation;
+ private int clockSpeed;
+ private int codeType;
+ private int crc8;
+ private int swMmode;
+ private int lastResetReason;
+ private int reserved;
+ private int nbReset;
+ private int reserved2;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTcSinceFirstStart;
+ private long nbTcPingSinceFirstStart;
+ private long nbBadTcSinceFirstStart;
+ private long nbTmInSdcard;
+ private int sdcardStatus;
+ private long sdcardLastError;
+ private long oldTimeTMInSdcard;
+ private long newTimeTMInSdcard;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorIndexOfSubsystem() {
+ return supervisorIndexOfSubsystem;
+ }
+
+ public int supervisorMajorVersion() {
+ return supervisorMajorVersion;
+ }
+
+ public int supervisorMinorVersion() {
+ return supervisorMinorVersion;
+ }
+
+ public int supervisorPatchVersion() {
+ return supervisorPatchVersion;
+ }
+
+ public long supervisorGitHeadVersion() {
+ return supervisorGitHeadVersion;
+ }
+
+ public int supervisorSerialNumber() {
+ return supervisorSerialNumber;
+ }
+
+ public byte[] compilationInformation() {
+ return compilationInformation;
+ }
+
+ public int clockSpeed() {
+ return clockSpeed;
+ }
+
+ public int codeType() {
+ return codeType;
+ }
+
+ public int crc8() {
+ return crc8;
+ }
+
+ public int swMmode() {
+ return swMmode;
+ }
+
+ public int lastResetReason() {
+ return lastResetReason;
+ }
+
+ public int reserved() {
+ return reserved;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int reserved2() {
+ return reserved2;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public long nbTcPingSinceFirstStart() {
+ return nbTcPingSinceFirstStart;
+ }
+
+ public long nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long nbTmInSdcard() {
+ return nbTmInSdcard;
+ }
+
+ public int sdcardStatus() {
+ return sdcardStatus;
+ }
+
+ public long sdcardLastError() {
+ return sdcardLastError;
+ }
+
+ public long oldTimeTMInSdcard() {
+ return oldTimeTMInSdcard;
+ }
+
+ public long newTimeTMInSdcard() {
+ return newTimeTMInSdcard;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AntsHk extends KaitaiStruct {
+ public static AntsHk fromFile(String fileName) throws IOException {
+ return new AntsHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AntsHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AntsHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AntsHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmtcSideAAntsTemperature = this._io.readU2be();
+ this.tmtcSideAAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideAAntsUptime = this._io.readU4be();
+ this.tmtcSideBAntsTemperature = this._io.readU2be();
+ this.tmtcSideBAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideBAntsUptime = this._io.readU2be();
+ this.ionoSideAAntsTemperature = this._io.readU2be();
+ this.ionoSideAAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideAAntsUptime = this._io.readU4be();
+ this.ionoSideBAntsTemperature = this._io.readU2be();
+ this.ionoSideBAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideBAntsUptime = this._io.readU2be();
+ }
+
+ private Double ionoSideBAntsTemperatureC;
+
+ public Double ionoSideBAntsTemperatureC() {
+ if (this.ionoSideBAntsTemperatureC != null) return this.ionoSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (ionoSideBAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideBAntsTemperatureC = _tmp;
+ return this.ionoSideBAntsTemperatureC;
+ }
+
+ private Long ionoSideAAntsUptimeS;
+
+ public Long ionoSideAAntsUptimeS() {
+ if (this.ionoSideAAntsUptimeS != null) return this.ionoSideAAntsUptimeS;
+ long _tmp = (long) (ionoSideAAntsUptime());
+ this.ionoSideAAntsUptimeS = _tmp;
+ return this.ionoSideAAntsUptimeS;
+ }
+
+ private Long tmtcSideAAntsUptimeS;
+
+ public Long tmtcSideAAntsUptimeS() {
+ if (this.tmtcSideAAntsUptimeS != null) return this.tmtcSideAAntsUptimeS;
+ long _tmp = (long) (tmtcSideAAntsUptime());
+ this.tmtcSideAAntsUptimeS = _tmp;
+ return this.tmtcSideAAntsUptimeS;
+ }
+
+ private Integer tmtcSideBAntsUptimeS;
+
+ public Integer tmtcSideBAntsUptimeS() {
+ if (this.tmtcSideBAntsUptimeS != null) return this.tmtcSideBAntsUptimeS;
+ int _tmp = (int) (tmtcSideBAntsUptime());
+ this.tmtcSideBAntsUptimeS = _tmp;
+ return this.tmtcSideBAntsUptimeS;
+ }
+
+ private Double tmtcSideBAntsTemperatureC;
+
+ public Double tmtcSideBAntsTemperatureC() {
+ if (this.tmtcSideBAntsTemperatureC != null) return this.tmtcSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideBAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideBAntsTemperatureC = _tmp;
+ return this.tmtcSideBAntsTemperatureC;
+ }
+
+ private Integer ionoSideBAntsDeploymentStatusRaw;
+
+ public Integer ionoSideBAntsDeploymentStatusRaw() {
+ if (this.ionoSideBAntsDeploymentStatusRaw != null)
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideBAntsDeploymentStatus());
+ this.ionoSideBAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ }
+
+ private Integer ionoSideBAntsUptimeS;
+
+ public Integer ionoSideBAntsUptimeS() {
+ if (this.ionoSideBAntsUptimeS != null) return this.ionoSideBAntsUptimeS;
+ int _tmp = (int) (ionoSideBAntsUptime());
+ this.ionoSideBAntsUptimeS = _tmp;
+ return this.ionoSideBAntsUptimeS;
+ }
+
+ private Double ionoSideAAntsTemperatureC;
+
+ public Double ionoSideAAntsTemperatureC() {
+ if (this.ionoSideAAntsTemperatureC != null) return this.ionoSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (ionoSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideAAntsTemperatureC = _tmp;
+ return this.ionoSideAAntsTemperatureC;
+ }
+
+ private Integer tmtcSideBAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideBAntsDeploymentStatusRaw() {
+ if (this.tmtcSideBAntsDeploymentStatusRaw != null)
+ return this.tmtcSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideBAntsDeploymentStatus());
+ this.tmtcSideBAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideBAntsDeploymentStatusRaw;
+ }
+
+ private Integer tmtcSideAAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideAAntsDeploymentStatusRaw() {
+ if (this.tmtcSideAAntsDeploymentStatusRaw != null)
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideAAntsDeploymentStatus());
+ this.tmtcSideAAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ }
+
+ private Double tmtcSideAAntsTemperatureC;
+
+ public Double tmtcSideAAntsTemperatureC() {
+ if (this.tmtcSideAAntsTemperatureC != null) return this.tmtcSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideAAntsTemperatureC = _tmp;
+ return this.tmtcSideAAntsTemperatureC;
+ }
+
+ private Integer ionoSideAAntsDeploymentStatusRaw;
+
+ public Integer ionoSideAAntsDeploymentStatusRaw() {
+ if (this.ionoSideAAntsDeploymentStatusRaw != null)
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideAAntsDeploymentStatus());
+ this.ionoSideAAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ }
+
+ private int tmtcSideAAntsTemperature;
+ private int tmtcSideAAntsDeploymentStatus;
+ private long tmtcSideAAntsUptime;
+ private int tmtcSideBAntsTemperature;
+ private int tmtcSideBAntsDeploymentStatus;
+ private int tmtcSideBAntsUptime;
+ private int ionoSideAAntsTemperature;
+ private int ionoSideAAntsDeploymentStatus;
+ private long ionoSideAAntsUptime;
+ private int ionoSideBAntsTemperature;
+ private int ionoSideBAntsDeploymentStatus;
+ private int ionoSideBAntsUptime;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int tmtcSideAAntsTemperature() {
+ return tmtcSideAAntsTemperature;
+ }
+
+ public int tmtcSideAAntsDeploymentStatus() {
+ return tmtcSideAAntsDeploymentStatus;
+ }
+
+ public long tmtcSideAAntsUptime() {
+ return tmtcSideAAntsUptime;
+ }
+
+ public int tmtcSideBAntsTemperature() {
+ return tmtcSideBAntsTemperature;
+ }
+
+ public int tmtcSideBAntsDeploymentStatus() {
+ return tmtcSideBAntsDeploymentStatus;
+ }
+
+ public int tmtcSideBAntsUptime() {
+ return tmtcSideBAntsUptime;
+ }
+
+ public int ionoSideAAntsTemperature() {
+ return ionoSideAAntsTemperature;
+ }
+
+ public int ionoSideAAntsDeploymentStatus() {
+ return ionoSideAAntsDeploymentStatus;
+ }
+
+ public long ionoSideAAntsUptime() {
+ return ionoSideAAntsUptime;
+ }
+
+ public int ionoSideBAntsTemperature() {
+ return ionoSideBAntsTemperature;
+ }
+
+ public int ionoSideBAntsDeploymentStatus() {
+ return ionoSideBAntsDeploymentStatus;
+ }
+
+ public int ionoSideBAntsUptime() {
+ return ionoSideBAntsUptime;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AntsStatus extends KaitaiStruct {
+ public static AntsStatus fromFile(String fileName) throws IOException {
+ return new AntsStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AntsStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AntsStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AntsStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmtcSideADeploymentCountAntenna1 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna2 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna3 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna4 = this._io.readU1();
+ this.tmtcSideADeploymentTimeAntenna1 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna2 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna3 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna4 = this._io.readU2be();
+ this.tmtcSideBDeploymentCountAntenna1 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna2 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna3 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna4 = this._io.readU1();
+ this.tmtcSideBDeploymentTimeAntenna1 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna2 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna3 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna4 = this._io.readU2be();
+ this.ionoSideADeploymentCountAntenna1 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna2 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna3 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna4 = this._io.readU1();
+ this.ionoSideADeploymentTimeAntenna1 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna2 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna3 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna4 = this._io.readU2be();
+ this.ionoSideBDeploymentCountAntenna1 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna2 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna3 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna4 = this._io.readU1();
+ this.ionoSideBDeploymentTimeAntenna1 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna2 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna3 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna4 = this._io.readU2be();
+ }
+
+ private Integer ionoSideADeploymentCountAntenna3Raw;
+
+ public Integer ionoSideADeploymentCountAntenna3Raw() {
+ if (this.ionoSideADeploymentCountAntenna3Raw != null)
+ return this.ionoSideADeploymentCountAntenna3Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna3());
+ this.ionoSideADeploymentCountAntenna3Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna2Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna2Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna2Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna2Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna2());
+ this.ionoSideBDeploymentTimeAntenna2Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna4Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna4Raw() {
+ if (this.ionoSideADeploymentTimeAntenna4Raw != null)
+ return this.ionoSideADeploymentTimeAntenna4Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna4());
+ this.ionoSideADeploymentTimeAntenna4Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna3Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna3Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna3Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna3Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna3());
+ this.ionoSideBDeploymentTimeAntenna3Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna3Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna3Raw() {
+ if (this.ionoSideBDeploymentCountAntenna3Raw != null)
+ return this.ionoSideBDeploymentCountAntenna3Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna3());
+ this.ionoSideBDeploymentCountAntenna3Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna3Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna1Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna1Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna1Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna1Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna1());
+ this.tmtcSideBDeploymentTimeAntenna1Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna2Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna2Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna2Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna2Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna2());
+ this.tmtcSideBDeploymentCountAntenna2Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna3Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna3Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna3Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna3Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna3());
+ this.tmtcSideBDeploymentCountAntenna3Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna3Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna3Raw() {
+ if (this.tmtcSideADeploymentCountAntenna3Raw != null)
+ return this.tmtcSideADeploymentCountAntenna3Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna3());
+ this.tmtcSideADeploymentCountAntenna3Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna4Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna4Raw() {
+ if (this.ionoSideBDeploymentCountAntenna4Raw != null)
+ return this.ionoSideBDeploymentCountAntenna4Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna4());
+ this.ionoSideBDeploymentCountAntenna4Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna2Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna2Raw() {
+ if (this.ionoSideBDeploymentCountAntenna2Raw != null)
+ return this.ionoSideBDeploymentCountAntenna2Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna2());
+ this.ionoSideBDeploymentCountAntenna2Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna3Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna3Raw() {
+ if (this.ionoSideADeploymentTimeAntenna3Raw != null)
+ return this.ionoSideADeploymentTimeAntenna3Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna3());
+ this.ionoSideADeploymentTimeAntenna3Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna1Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna1Raw() {
+ if (this.tmtcSideADeploymentCountAntenna1Raw != null)
+ return this.tmtcSideADeploymentCountAntenna1Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna1());
+ this.tmtcSideADeploymentCountAntenna1Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna1Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna2Raw;
+
+ public Integer ionoSideADeploymentCountAntenna2Raw() {
+ if (this.ionoSideADeploymentCountAntenna2Raw != null)
+ return this.ionoSideADeploymentCountAntenna2Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna2());
+ this.ionoSideADeploymentCountAntenna2Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna4Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna4Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna4Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna4Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna4());
+ this.tmtcSideBDeploymentCountAntenna4Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna4Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna3Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna3Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna3Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna3Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna3());
+ this.tmtcSideADeploymentTimeAntenna3Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna1Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna1Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna1Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna1Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna1());
+ this.tmtcSideADeploymentTimeAntenna1Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna4Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna4Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna4Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna4Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna4());
+ this.tmtcSideBDeploymentTimeAntenna4Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna1Raw;
+
+ public Integer ionoSideADeploymentCountAntenna1Raw() {
+ if (this.ionoSideADeploymentCountAntenna1Raw != null)
+ return this.ionoSideADeploymentCountAntenna1Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna1());
+ this.ionoSideADeploymentCountAntenna1Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna2Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna2Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna2Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna2Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna2());
+ this.tmtcSideBDeploymentTimeAntenna2Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna1Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna1Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna1Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna1Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna1());
+ this.tmtcSideBDeploymentCountAntenna1Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna3Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna3Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna3Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna3Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna3());
+ this.tmtcSideBDeploymentTimeAntenna3Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna3Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna2Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna2Raw() {
+ if (this.ionoSideADeploymentTimeAntenna2Raw != null)
+ return this.ionoSideADeploymentTimeAntenna2Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna2());
+ this.ionoSideADeploymentTimeAntenna2Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna2Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna2Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna2Raw() {
+ if (this.tmtcSideADeploymentCountAntenna2Raw != null)
+ return this.tmtcSideADeploymentCountAntenna2Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna2());
+ this.tmtcSideADeploymentCountAntenna2Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna1Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna1Raw() {
+ if (this.ionoSideADeploymentTimeAntenna1Raw != null)
+ return this.ionoSideADeploymentTimeAntenna1Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna1());
+ this.ionoSideADeploymentTimeAntenna1Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna1Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna1Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna1Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna1Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna1Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna1());
+ this.ionoSideBDeploymentTimeAntenna1Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna4Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna4Raw() {
+ if (this.tmtcSideADeploymentCountAntenna4Raw != null)
+ return this.tmtcSideADeploymentCountAntenna4Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna4());
+ this.tmtcSideADeploymentCountAntenna4Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna4Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna4Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna4Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna4Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna4Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna4());
+ this.tmtcSideADeploymentTimeAntenna4Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna4Raw;
+
+ public Integer ionoSideADeploymentCountAntenna4Raw() {
+ if (this.ionoSideADeploymentCountAntenna4Raw != null)
+ return this.ionoSideADeploymentCountAntenna4Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna4());
+ this.ionoSideADeploymentCountAntenna4Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna4Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna4Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna4Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna4Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna4());
+ this.ionoSideBDeploymentTimeAntenna4Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna1Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna1Raw() {
+ if (this.ionoSideBDeploymentCountAntenna1Raw != null)
+ return this.ionoSideBDeploymentCountAntenna1Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna1());
+ this.ionoSideBDeploymentCountAntenna1Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna2Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna2Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna2Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna2Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna2());
+ this.tmtcSideADeploymentTimeAntenna2Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna2Raw;
+ }
+
+ private int tmtcSideADeploymentCountAntenna1;
+ private int tmtcSideADeploymentCountAntenna2;
+ private int tmtcSideADeploymentCountAntenna3;
+ private int tmtcSideADeploymentCountAntenna4;
+ private int tmtcSideADeploymentTimeAntenna1;
+ private int tmtcSideADeploymentTimeAntenna2;
+ private int tmtcSideADeploymentTimeAntenna3;
+ private int tmtcSideADeploymentTimeAntenna4;
+ private int tmtcSideBDeploymentCountAntenna1;
+ private int tmtcSideBDeploymentCountAntenna2;
+ private int tmtcSideBDeploymentCountAntenna3;
+ private int tmtcSideBDeploymentCountAntenna4;
+ private int tmtcSideBDeploymentTimeAntenna1;
+ private int tmtcSideBDeploymentTimeAntenna2;
+ private int tmtcSideBDeploymentTimeAntenna3;
+ private int tmtcSideBDeploymentTimeAntenna4;
+ private int ionoSideADeploymentCountAntenna1;
+ private int ionoSideADeploymentCountAntenna2;
+ private int ionoSideADeploymentCountAntenna3;
+ private int ionoSideADeploymentCountAntenna4;
+ private int ionoSideADeploymentTimeAntenna1;
+ private int ionoSideADeploymentTimeAntenna2;
+ private int ionoSideADeploymentTimeAntenna3;
+ private int ionoSideADeploymentTimeAntenna4;
+ private int ionoSideBDeploymentCountAntenna1;
+ private int ionoSideBDeploymentCountAntenna2;
+ private int ionoSideBDeploymentCountAntenna3;
+ private int ionoSideBDeploymentCountAntenna4;
+ private int ionoSideBDeploymentTimeAntenna1;
+ private int ionoSideBDeploymentTimeAntenna2;
+ private int ionoSideBDeploymentTimeAntenna3;
+ private int ionoSideBDeploymentTimeAntenna4;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int tmtcSideADeploymentCountAntenna1() {
+ return tmtcSideADeploymentCountAntenna1;
+ }
+
+ public int tmtcSideADeploymentCountAntenna2() {
+ return tmtcSideADeploymentCountAntenna2;
+ }
+
+ public int tmtcSideADeploymentCountAntenna3() {
+ return tmtcSideADeploymentCountAntenna3;
+ }
+
+ public int tmtcSideADeploymentCountAntenna4() {
+ return tmtcSideADeploymentCountAntenna4;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna1() {
+ return tmtcSideADeploymentTimeAntenna1;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna2() {
+ return tmtcSideADeploymentTimeAntenna2;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna3() {
+ return tmtcSideADeploymentTimeAntenna3;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna4() {
+ return tmtcSideADeploymentTimeAntenna4;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna1() {
+ return tmtcSideBDeploymentCountAntenna1;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna2() {
+ return tmtcSideBDeploymentCountAntenna2;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna3() {
+ return tmtcSideBDeploymentCountAntenna3;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna4() {
+ return tmtcSideBDeploymentCountAntenna4;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna1() {
+ return tmtcSideBDeploymentTimeAntenna1;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna2() {
+ return tmtcSideBDeploymentTimeAntenna2;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna3() {
+ return tmtcSideBDeploymentTimeAntenna3;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna4() {
+ return tmtcSideBDeploymentTimeAntenna4;
+ }
+
+ public int ionoSideADeploymentCountAntenna1() {
+ return ionoSideADeploymentCountAntenna1;
+ }
+
+ public int ionoSideADeploymentCountAntenna2() {
+ return ionoSideADeploymentCountAntenna2;
+ }
+
+ public int ionoSideADeploymentCountAntenna3() {
+ return ionoSideADeploymentCountAntenna3;
+ }
+
+ public int ionoSideADeploymentCountAntenna4() {
+ return ionoSideADeploymentCountAntenna4;
+ }
+
+ public int ionoSideADeploymentTimeAntenna1() {
+ return ionoSideADeploymentTimeAntenna1;
+ }
+
+ public int ionoSideADeploymentTimeAntenna2() {
+ return ionoSideADeploymentTimeAntenna2;
+ }
+
+ public int ionoSideADeploymentTimeAntenna3() {
+ return ionoSideADeploymentTimeAntenna3;
+ }
+
+ public int ionoSideADeploymentTimeAntenna4() {
+ return ionoSideADeploymentTimeAntenna4;
+ }
+
+ public int ionoSideBDeploymentCountAntenna1() {
+ return ionoSideBDeploymentCountAntenna1;
+ }
+
+ public int ionoSideBDeploymentCountAntenna2() {
+ return ionoSideBDeploymentCountAntenna2;
+ }
+
+ public int ionoSideBDeploymentCountAntenna3() {
+ return ionoSideBDeploymentCountAntenna3;
+ }
+
+ public int ionoSideBDeploymentCountAntenna4() {
+ return ionoSideBDeploymentCountAntenna4;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna1() {
+ return ionoSideBDeploymentTimeAntenna1;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna2() {
+ return ionoSideBDeploymentTimeAntenna2;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna3() {
+ return ionoSideBDeploymentTimeAntenna3;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna4() {
+ return ionoSideBDeploymentTimeAntenna4;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ private Ax25Frame ax25Frame;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ /** @see Source */
+ public Ax25Frame ax25Frame() {
+ return ax25Frame;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+}
diff --git a/ModuleInflux/src/main/java/org/josast/uvsqsat/generated/Uvsqsat.java b/ModuleInflux/src/main/java/org/josast/uvsqsat/generated/Uvsqsat.java
index 6d50c5313600926f1d5a4fc833640bec010c5a8a..bbf6cbc504bb884dbdbbbb69ead5439f640f2760 100644
--- a/ModuleInflux/src/main/java/org/josast/uvsqsat/generated/Uvsqsat.java
+++ b/ModuleInflux/src/main/java/org/josast/uvsqsat/generated/Uvsqsat.java
@@ -8,4655 +8,6350 @@ import io.kaitai.struct.KaitaiStream;
import java.io.IOException;
import java.nio.charset.Charset;
-
/**
- * : UVSQsat telemetry description file
- * : Version 0.2.8
- * :
- * : reference documentation
- * : UVSQsat-Beacon description for web site
- * :
- * : This ksy file is used for different automatic code generation
- * : - ksy file to programming language thanks o ksy compiler
- * - ksy file to graphwiz document thnaks to ksy compiler
- * - Ksy file to java textual display files thanks to JOSAST GeneratePOJOfromKSY tool (experimental)
- * - Ksy file to FXML files and associated java files file thanks to JOSAST GeneratePOJOfromKSY tool (experimental)
- *
- * : Writing rules should be respected (see JOSAST project)
- * : - for interpreted value, variable should finish with
- * : _raw if no interpretation is done
- * : _c, _ma _v _dbm _mw according to the interpreted value
- * : - the name of the interpreted value should be close to the displaed name (to limit rework)
- * : _c, _ma _v _dbm _mw are automaticaly converted to (C) (mA) (dbm) (mW)
- * :
- * :field dest_callsign: ax25_frame.ax25_header.dest_callsign_raw.callsign_ror.callsign
- * :field src_callsign: ax25_frame.ax25_header.src_callsign_raw.callsign_ror.callsign
- * :field src_ssid: ax25_frame.ax25_header.src_ssid_raw.ssid
- * :field dest_ssid: ax25_frame.ax25_header.dest_ssid_raw.ssid
- * :field ctl: ax25_frame.ax25_header.ctl
- * :field pid: ax25_frame.payload.pid
+ * : UVSQsat telemetry description file : Version 0.2.8 : : reference documentation : UVSQsat-Beacon
+ * description for web site : : This ksy file is used for different automatic code generation : -
+ * ksy file to programming language thanks o ksy compiler - ksy file to graphwiz document thnaks to
+ * ksy compiler - Ksy file to java textual display files thanks to JOSAST GeneratePOJOfromKSY tool
+ * (experimental) - Ksy file to FXML files and associated java files file thanks to JOSAST
+ * GeneratePOJOfromKSY tool (experimental)
+ *
+ * : Writing rules should be respected (see JOSAST project) : - for interpreted value, variable
+ * should finish with : _raw if no interpretation is done : _c, _ma _v _dbm _mw according to the
+ * interpreted value : - the name of the interpreted value should be close to the displaed name (to
+ * limit rework) : _c, _ma _v _dbm _mw are automaticaly converted to (C) (mA) (dbm) (mW) : :field
+ * dest_callsign: ax25_frame.ax25_header.dest_callsign_raw.callsign_ror.callsign :field
+ * src_callsign: ax25_frame.ax25_header.src_callsign_raw.callsign_ror.callsign :field src_ssid:
+ * ax25_frame.ax25_header.src_ssid_raw.ssid :field dest_ssid:
+ * ax25_frame.ax25_header.dest_ssid_raw.ssid :field ctl: ax25_frame.ax25_header.ctl :field pid:
+ * ax25_frame.payload.pid
*/
public class Uvsqsat extends KaitaiStruct {
- public static Uvsqsat fromFile(String fileName) throws IOException {
- return new Uvsqsat(new ByteBufferKaitaiStream(fileName));
+ public static Uvsqsat fromFile(String fileName) throws IOException {
+ return new Uvsqsat(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Uvsqsat(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Uvsqsat(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Uvsqsat(KaitaiStream _io, KaitaiStruct _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root == null ? this : _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ax25Frame = new Ax25Frame(this._io, this, _root);
+ }
+
+ public static class Ax25Frame extends KaitaiStruct {
+ public static Ax25Frame fromFile(String fileName) throws IOException {
+ return new Ax25Frame(new ByteBufferKaitaiStream(fileName));
}
- public Uvsqsat(KaitaiStream _io) {
- this(_io, null, null);
+ public Ax25Frame(KaitaiStream _io) {
+ this(_io, null, null);
}
- public Uvsqsat(KaitaiStream _io, KaitaiStruct _parent) {
- this(_io, _parent, null);
+ public Ax25Frame(KaitaiStream _io, Uvsqsat _parent) {
+ this(_io, _parent, null);
}
- public Uvsqsat(KaitaiStream _io, KaitaiStruct _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root == null ? this : _root;
- _read();
+ public Ax25Frame(KaitaiStream _io, Uvsqsat _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
}
+
private void _read() {
- this.ax25Frame = new Ax25Frame(this._io, this, _root);
- }
- public static class Ax25Frame extends KaitaiStruct {
- public static Ax25Frame fromFile(String fileName) throws IOException {
- return new Ax25Frame(new ByteBufferKaitaiStream(fileName));
- }
-
- public Ax25Frame(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public Ax25Frame(KaitaiStream _io, Uvsqsat _parent) {
- this(_io, _parent, null);
- }
-
- public Ax25Frame(KaitaiStream _io, Uvsqsat _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.ax25Header = new Ax25Header(this._io, this, _root);
- switch ((ax25Header().ctl() & 19)) {
- case 0: {
- this.payload = new IFrame(this._io, this, _root);
- break;
- }
- case 3: {
- this.payload = new UiFrame(this._io, this, _root);
- break;
- }
- case 19: {
- this.payload = new UiFrame(this._io, this, _root);
- break;
- }
- case 16: {
- this.payload = new IFrame(this._io, this, _root);
- break;
- }
- case 18: {
- this.payload = new IFrame(this._io, this, _root);
- break;
- }
- case 2: {
- this.payload = new IFrame(this._io, this, _root);
- break;
- }
- default: {
- this.payload = new IFrame(this._io, this, _root);
- break;
- }
- }
- }
- private Ax25Header ax25Header;
- private KaitaiStruct payload;
- private Uvsqsat _root;
- private Uvsqsat _parent;
- public Ax25Header ax25Header() { return ax25Header; }
- public KaitaiStruct payload() { return payload; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat _parent() { return _parent; }
- }
- public static class Ax25Header extends KaitaiStruct {
- public static Ax25Header fromFile(String fileName) throws IOException {
- return new Ax25Header(new ByteBufferKaitaiStream(fileName));
- }
-
- public Ax25Header(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public Ax25Header(KaitaiStream _io, Uvsqsat.Ax25Frame _parent) {
- this(_io, _parent, null);
- }
-
- public Ax25Header(KaitaiStream _io, Uvsqsat.Ax25Frame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.destCallsignRaw = new CallsignRaw(this._io, this, _root);
- this.destSsidRaw = new SsidMask(this._io, this, _root);
- this.srcCallsignRaw = new CallsignRaw(this._io, this, _root);
- this.srcSsidRaw = new SsidMask(this._io, this, _root);
- this.ctl = this._io.readU1();
- }
- private CallsignRaw destCallsignRaw;
- private SsidMask destSsidRaw;
- private CallsignRaw srcCallsignRaw;
- private SsidMask srcSsidRaw;
- private int ctl;
- private Uvsqsat _root;
- private Uvsqsat.Ax25Frame _parent;
- public CallsignRaw destCallsignRaw() { return destCallsignRaw; }
- public SsidMask destSsidRaw() { return destSsidRaw; }
- public CallsignRaw srcCallsignRaw() { return srcCallsignRaw; }
- public SsidMask srcSsidRaw() { return srcSsidRaw; }
- public int ctl() { return ctl; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.Ax25Frame _parent() { return _parent; }
- }
- public static class UiFrame extends KaitaiStruct {
- public static UiFrame fromFile(String fileName) throws IOException {
- return new UiFrame(new ByteBufferKaitaiStream(fileName));
- }
-
- public UiFrame(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public UiFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent) {
- this(_io, _parent, null);
- }
-
- public UiFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.pid = this._io.readU1();
- this.packetPrimaryHeader = new PacketPrimaryHeader(this._io, this, _root);
- this.packetSecondaryHeader = new PacketSecondaryHeader(this._io, this, _root);
- switch (packetSecondaryHeader().sid()) {
- case 14: {
- this.tlm = new AmsatAscii(this._io, this, _root);
- break;
- }
- case 17: {
- this.tlm = new ObcStatus(this._io, this, _root);
- break;
- }
- case 24: {
- this.tlm = new TrxvutxHk(this._io, this, _root);
- break;
- }
- case 20: {
- this.tlm = new MainboardHk(this._io, this, _root);
- break;
- }
- case 19: {
- this.tlm = new MainboardAllScience(this._io, this, _root);
- break;
- }
- case 23: {
- this.tlm = new ImtqHk(this._io, this, _root);
- break;
- }
- case 15: {
- this.tlm = new Beacon(this._io, this, _root);
- break;
- }
- case 21: {
- this.tlm = new IepsHkStatus(this._io, this, _root);
- break;
- }
- case 16: {
- this.tlm = new AntsHk(this._io, this, _root);
- break;
- }
- case 18: {
- this.tlm = new ObcHk(this._io, this, _root);
- break;
- }
- case 22: {
- this.tlm = new TrxvurxHk(this._io, this, _root);
- break;
- }
- default: {
- this.tlm = new MsgOrUnknow(this._io, this, _root);
- break;
- }
- }
- this.ax25Info = this._io.readBytesFull();
- }
- private int pid;
- private PacketPrimaryHeader packetPrimaryHeader;
- private PacketSecondaryHeader packetSecondaryHeader;
- private KaitaiStruct tlm;
- private byte[] ax25Info;
- private Uvsqsat _root;
- private Uvsqsat.Ax25Frame _parent;
- public int pid() { return pid; }
- public PacketPrimaryHeader packetPrimaryHeader() { return packetPrimaryHeader; }
- public PacketSecondaryHeader packetSecondaryHeader() { return packetSecondaryHeader; }
- public KaitaiStruct tlm() { return tlm; }
- public byte[] ax25Info() { return ax25Info; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.Ax25Frame _parent() { return _parent; }
- }
- public static class Callsign extends KaitaiStruct {
- public static Callsign fromFile(String fileName) throws IOException {
- return new Callsign(new ByteBufferKaitaiStream(fileName));
- }
-
- public Callsign(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public Callsign(KaitaiStream _io, Uvsqsat.CallsignRaw _parent) {
- this(_io, _parent, null);
- }
-
- public Callsign(KaitaiStream _io, Uvsqsat.CallsignRaw _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.callsign = new String(this._io.readBytes(6), Charset.forName("ASCII"));
- }
- private String callsign;
- private Uvsqsat _root;
- private Uvsqsat.CallsignRaw _parent;
- public String callsign() { return callsign; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.CallsignRaw _parent() { return _parent; }
- }
- public static class PacketPrimaryHeader extends KaitaiStruct {
- public static PacketPrimaryHeader fromFile(String fileName) throws IOException {
- return new PacketPrimaryHeader(new ByteBufferKaitaiStream(fileName));
- }
-
- public PacketPrimaryHeader(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public PacketPrimaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public PacketPrimaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.packetVersionNumber = this._io.readBitsInt(3);
- this.packetIdPacketType = this._io.readBitsInt(1) != 0;
- this.packetIdSecondaryHeaderFlag = this._io.readBitsInt(1) != 0;
- this.packetIdApplicationProcessId = this._io.readBitsInt(11);
- this.packetSequenceControlSecquenceFlag = this._io.readBitsInt(2);
- this.packetSequenceControlCountOrName = this._io.readBitsInt(14);
- this._io.alignToByte();
- this.packetDataLength = this._io.readU2be();
- }
- private long packetVersionNumber;
- private boolean packetIdPacketType;
- private boolean packetIdSecondaryHeaderFlag;
- private long packetIdApplicationProcessId;
- private long packetSequenceControlSecquenceFlag;
- private long packetSequenceControlCountOrName;
- private int packetDataLength;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public long packetVersionNumber() { return packetVersionNumber; }
- public boolean packetIdPacketType() { return packetIdPacketType; }
- public boolean packetIdSecondaryHeaderFlag() { return packetIdSecondaryHeaderFlag; }
- public long packetIdApplicationProcessId() { return packetIdApplicationProcessId; }
- public long packetSequenceControlSecquenceFlag() { return packetSequenceControlSecquenceFlag; }
- public long packetSequenceControlCountOrName() { return packetSequenceControlCountOrName; }
- public int packetDataLength() { return packetDataLength; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class TrxvutxHk extends KaitaiStruct {
- public static TrxvutxHk fromFile(String fileName) throws IOException {
- return new TrxvutxHk(new ByteBufferKaitaiStream(fileName));
- }
-
- public TrxvutxHk(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public TrxvutxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public TrxvutxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsInt(12);
- this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsInt(12);
- this.trxvutxSupplyVoltage = this._io.readBitsInt(12);
- this.trxvutxTotalSupplyCurrent = this._io.readBitsInt(12);
- this.trxvutxTransmitterCurrent = this._io.readBitsInt(12);
- this.trxvutxReceiverCurrent = this._io.readBitsInt(12);
- this.trxvutxPowerAmplifierCurrent = this._io.readBitsInt(12);
- this.trxvutxPowerAmplifierTemperature = this._io.readBitsInt(12);
- this.trxvutxLocalOscillatorTemperature = this._io.readBitsInt(12);
- this.trxvutxZeroPadding = this._io.readBitsInt(4);
- this._io.alignToByte();
- this.trxvuTxUptime = this._io.readU4be();
- this.trxvuTxState = this._io.readU1();
- }
- private Double trxvutxTotalSupplyCurrentMa;
- public Double trxvutxTotalSupplyCurrentMa() {
- if (this.trxvutxTotalSupplyCurrentMa != null)
- return this.trxvutxTotalSupplyCurrentMa;
- double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
- this.trxvutxTotalSupplyCurrentMa = _tmp;
- return this.trxvutxTotalSupplyCurrentMa;
- }
- private Double trxvutxPowerAmplifierCurrentMa;
- public Double trxvutxPowerAmplifierCurrentMa() {
- if (this.trxvutxPowerAmplifierCurrentMa != null)
- return this.trxvutxPowerAmplifierCurrentMa;
- double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
- this.trxvutxPowerAmplifierCurrentMa = _tmp;
- return this.trxvutxPowerAmplifierCurrentMa;
- }
- private Long trxvuTxUptimeRaw;
- public Long trxvuTxUptimeRaw() {
- if (this.trxvuTxUptimeRaw != null)
- return this.trxvuTxUptimeRaw;
- long _tmp = (long) (trxvuTxUptime());
- this.trxvuTxUptimeRaw = _tmp;
- return this.trxvuTxUptimeRaw;
- }
- private Double trxvutxSupplyVoltageV;
- public Double trxvutxSupplyVoltageV() {
- if (this.trxvutxSupplyVoltageV != null)
- return this.trxvutxSupplyVoltageV;
- double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
- this.trxvutxSupplyVoltageV = _tmp;
- return this.trxvutxSupplyVoltageV;
- }
- private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
- public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
- if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
- return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
- double _tmp = (double) (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort()) * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort()) * 5.887) * 0.00001));
- this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
- return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
- }
- private Double trxvutxLocalOscillatorTemperatureC;
- public Double trxvutxLocalOscillatorTemperatureC() {
- if (this.trxvutxLocalOscillatorTemperatureC != null)
- return this.trxvutxLocalOscillatorTemperatureC;
- double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
- this.trxvutxLocalOscillatorTemperatureC = _tmp;
- return this.trxvutxLocalOscillatorTemperatureC;
- }
- private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
- public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
- if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
- return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
- double _tmp = (double) (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort()) * trxvutxInstantaneousRfForwardPowerFromTransmitterPort()) * 5.887) * 0.00001));
- this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
- return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
- }
- private Double trxvutxReceiverCurrentMa;
- public Double trxvutxReceiverCurrentMa() {
- if (this.trxvutxReceiverCurrentMa != null)
- return this.trxvutxReceiverCurrentMa;
- double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
- this.trxvutxReceiverCurrentMa = _tmp;
- return this.trxvutxReceiverCurrentMa;
- }
- private Long trxvutxZeroPaddingRaw;
- public Long trxvutxZeroPaddingRaw() {
- if (this.trxvutxZeroPaddingRaw != null)
- return this.trxvutxZeroPaddingRaw;
- long _tmp = (long) (trxvutxZeroPadding());
- this.trxvutxZeroPaddingRaw = _tmp;
- return this.trxvutxZeroPaddingRaw;
- }
- private Double trxvutxPowerAmplifierTemperatureC;
- public Double trxvutxPowerAmplifierTemperatureC() {
- if (this.trxvutxPowerAmplifierTemperatureC != null)
- return this.trxvutxPowerAmplifierTemperatureC;
- double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
- this.trxvutxPowerAmplifierTemperatureC = _tmp;
- return this.trxvutxPowerAmplifierTemperatureC;
- }
- private Double trxvutxTransmitterCurrentMa;
- public Double trxvutxTransmitterCurrentMa() {
- if (this.trxvutxTransmitterCurrentMa != null)
- return this.trxvutxTransmitterCurrentMa;
- double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
- this.trxvutxTransmitterCurrentMa = _tmp;
- return this.trxvutxTransmitterCurrentMa;
- }
- private Integer trxvuTxStateRaw;
- public Integer trxvuTxStateRaw() {
- if (this.trxvuTxStateRaw != null)
- return this.trxvuTxStateRaw;
- int _tmp = (int) (trxvuTxState());
- this.trxvuTxStateRaw = _tmp;
- return this.trxvuTxStateRaw;
- }
- private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
- private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
- private long trxvutxSupplyVoltage;
- private long trxvutxTotalSupplyCurrent;
- private long trxvutxTransmitterCurrent;
- private long trxvutxReceiverCurrent;
- private long trxvutxPowerAmplifierCurrent;
- private long trxvutxPowerAmplifierTemperature;
- private long trxvutxLocalOscillatorTemperature;
- private long trxvutxZeroPadding;
- private long trxvuTxUptime;
- private int trxvuTxState;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() { return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort; }
- public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() { return trxvutxInstantaneousRfForwardPowerFromTransmitterPort; }
- public long trxvutxSupplyVoltage() { return trxvutxSupplyVoltage; }
- public long trxvutxTotalSupplyCurrent() { return trxvutxTotalSupplyCurrent; }
- public long trxvutxTransmitterCurrent() { return trxvutxTransmitterCurrent; }
- public long trxvutxReceiverCurrent() { return trxvutxReceiverCurrent; }
- public long trxvutxPowerAmplifierCurrent() { return trxvutxPowerAmplifierCurrent; }
- public long trxvutxPowerAmplifierTemperature() { return trxvutxPowerAmplifierTemperature; }
- public long trxvutxLocalOscillatorTemperature() { return trxvutxLocalOscillatorTemperature; }
- public long trxvutxZeroPadding() { return trxvutxZeroPadding; }
- public long trxvuTxUptime() { return trxvuTxUptime; }
- public int trxvuTxState() { return trxvuTxState; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class MainboardAllScience extends KaitaiStruct {
- public static MainboardAllScience fromFile(String fileName) throws IOException {
- return new MainboardAllScience(new ByteBufferKaitaiStream(fileName));
- }
-
- public MainboardAllScience(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public MainboardAllScience(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public MainboardAllScience(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.mainboardScienceTime = this._io.readU4be();
- this.teachWearOn = this._io.readU1();
- this.frequenceOfAcquisitions = this._io.readU2be();
- this.gain = this._io.readU4be();
- this.numberOfAcquisitionCommanded = this._io.readU2be();
- this.numberOfRealAcquisition = this._io.readU2be();
- this.hkPlus5v = this._io.readU4be();
- this.hkMinus5v = this._io.readU4be();
- this.hkMinus5vPolar = this._io.readU4be();
- this.hkTempAdc = this._io.readU4be();
- this.hkFeePlusXVref = this._io.readU4be();
- this.hkFeeMinusXVref = this._io.readU4be();
- this.hkFeePlusYVref = this._io.readU4be();
- this.hkFeeMinusYVref = this._io.readU4be();
- this.feePlusXErs1Signal = this._io.readU4be();
- this.feePlusXErs1Temperature = this._io.readU4be();
- this.feePlusXErs2Signal = this._io.readU4be();
- this.feePlusXErs2Temperature = this._io.readU4be();
- this.feePlusXErs3Signal = this._io.readU4be();
- this.feePlusXErs3Temperature = this._io.readU4be();
- this.feePlusXUvsSignal = this._io.readU4be();
- this.feeMinusXErs1Signal = this._io.readU4be();
- this.feeMinusXErs1Temperature = this._io.readU4be();
- this.feeMinusXErs2Signal = this._io.readU4be();
- this.feeMinusXErs2Temperature = this._io.readU4be();
- this.feeMinusXErs3Signal = this._io.readU4be();
- this.feeMinusXErs3Temperature = this._io.readU4be();
- this.feeMinusXUvsSignal = this._io.readU4be();
- this.feePlusYErs1Signal = this._io.readU4be();
- this.feePlusYErs1Temperature = this._io.readU4be();
- this.feePlusYErs2Signal = this._io.readU4be();
- this.feePlusYErs2Temperature = this._io.readU4be();
- this.feePlusYErs3Signal = this._io.readU4be();
- this.feePlusYErs3Temperature = this._io.readU4be();
- this.feePlusYUvsSignal = this._io.readU4be();
- this.feeMinusYErs1Signal = this._io.readU4be();
- this.feeMinusYErs1Temperature = this._io.readU4be();
- this.feeMinusYErs2Signal = this._io.readU4be();
- this.feeMinusYErs2Temperature = this._io.readU4be();
- this.feeMinusYErs3Signal = this._io.readU4be();
- this.feeMinusYErs3Temperature = this._io.readU4be();
- this.feeMinusYUvsSignal = this._io.readU4be();
- this.teachwearAccX = this._io.readU2be();
- this.teachwearAccY = this._io.readU2be();
- this.teachwearAccZ = this._io.readU2be();
- this.teachwearDegC = this._io.readU2be();
- this.teachwearGyroX = this._io.readU2be();
- this.teachwearGyroY = this._io.readU2be();
- this.teachwearGyroZ = this._io.readU2be();
- this.teachwearMagnX = this._io.readU2be();
- this.teachwearMagnY = this._io.readU2be();
- this.teachwearMagnZ = this._io.readU2be();
- this.teachwearState = this._io.readU1();
- this.teachwearResetReason = this._io.readU1();
- this.teachwearCrc = this._io.readU2be();
- this.nbTmSinceFirstStart = this._io.readU4be();
- }
- private Long feePlusYErs1SignalRaw;
- public Long feePlusYErs1SignalRaw() {
- if (this.feePlusYErs1SignalRaw != null)
- return this.feePlusYErs1SignalRaw;
- long _tmp = (long) (feePlusYErs1Signal());
- this.feePlusYErs1SignalRaw = _tmp;
- return this.feePlusYErs1SignalRaw;
- }
- private Long feeMinusYErs1TemperatureRaw;
- public Long feeMinusYErs1TemperatureRaw() {
- if (this.feeMinusYErs1TemperatureRaw != null)
- return this.feeMinusYErs1TemperatureRaw;
- long _tmp = (long) (feeMinusYErs1Temperature());
- this.feeMinusYErs1TemperatureRaw = _tmp;
- return this.feeMinusYErs1TemperatureRaw;
- }
- private Integer teachwearCRCRaw;
- public Integer teachwearCRCRaw() {
- if (this.teachwearCRCRaw != null)
- return this.teachwearCRCRaw;
- int _tmp = (int) (teachwearCrc());
- this.teachwearCRCRaw = _tmp;
- return this.teachwearCRCRaw;
- }
- private Long feePlusXErs2SignalRaw;
- public Long feePlusXErs2SignalRaw() {
- if (this.feePlusXErs2SignalRaw != null)
- return this.feePlusXErs2SignalRaw;
- long _tmp = (long) (feePlusXErs2Signal());
- this.feePlusXErs2SignalRaw = _tmp;
- return this.feePlusXErs2SignalRaw;
- }
- private Long hkFeePlusXVrefRaw;
- public Long hkFeePlusXVrefRaw() {
- if (this.hkFeePlusXVrefRaw != null)
- return this.hkFeePlusXVrefRaw;
- long _tmp = (long) (hkFeePlusXVref());
- this.hkFeePlusXVrefRaw = _tmp;
- return this.hkFeePlusXVrefRaw;
- }
- private Long feeMinusYUvsSignalRaw;
- public Long feeMinusYUvsSignalRaw() {
- if (this.feeMinusYUvsSignalRaw != null)
- return this.feeMinusYUvsSignalRaw;
- long _tmp = (long) (feeMinusYUvsSignal());
- this.feeMinusYUvsSignalRaw = _tmp;
- return this.feeMinusYUvsSignalRaw;
- }
- private Integer teachwearMagnYRaw;
- public Integer teachwearMagnYRaw() {
- if (this.teachwearMagnYRaw != null)
- return this.teachwearMagnYRaw;
- int _tmp = (int) (teachwearMagnY());
- this.teachwearMagnYRaw = _tmp;
- return this.teachwearMagnYRaw;
- }
- private Long hkMinus5vPolarRaw;
- public Long hkMinus5vPolarRaw() {
- if (this.hkMinus5vPolarRaw != null)
- return this.hkMinus5vPolarRaw;
- long _tmp = (long) (hkMinus5vPolar());
- this.hkMinus5vPolarRaw = _tmp;
- return this.hkMinus5vPolarRaw;
- }
- private Integer teachwearGyroZRaw;
- public Integer teachwearGyroZRaw() {
- if (this.teachwearGyroZRaw != null)
- return this.teachwearGyroZRaw;
- int _tmp = (int) (teachwearGyroZ());
- this.teachwearGyroZRaw = _tmp;
- return this.teachwearGyroZRaw;
- }
- private Long feePlusXErs2TemperatureRaw;
- public Long feePlusXErs2TemperatureRaw() {
- if (this.feePlusXErs2TemperatureRaw != null)
- return this.feePlusXErs2TemperatureRaw;
- long _tmp = (long) (feePlusXErs2Temperature());
- this.feePlusXErs2TemperatureRaw = _tmp;
- return this.feePlusXErs2TemperatureRaw;
- }
- private Long feeMinusYErs3TemperatureRaw;
- public Long feeMinusYErs3TemperatureRaw() {
- if (this.feeMinusYErs3TemperatureRaw != null)
- return this.feeMinusYErs3TemperatureRaw;
- long _tmp = (long) (feeMinusYErs3Temperature());
- this.feeMinusYErs3TemperatureRaw = _tmp;
- return this.feeMinusYErs3TemperatureRaw;
- }
- private Long feePlusYUvsSignalRaw;
- public Long feePlusYUvsSignalRaw() {
- if (this.feePlusYUvsSignalRaw != null)
- return this.feePlusYUvsSignalRaw;
- long _tmp = (long) (feePlusYUvsSignal());
- this.feePlusYUvsSignalRaw = _tmp;
- return this.feePlusYUvsSignalRaw;
- }
- private Long hkTempAdcRaw;
- public Long hkTempAdcRaw() {
- if (this.hkTempAdcRaw != null)
- return this.hkTempAdcRaw;
- long _tmp = (long) (hkTempAdc());
- this.hkTempAdcRaw = _tmp;
- return this.hkTempAdcRaw;
- }
- private Long feePlusXErs3TemperatureRaw;
- public Long feePlusXErs3TemperatureRaw() {
- if (this.feePlusXErs3TemperatureRaw != null)
- return this.feePlusXErs3TemperatureRaw;
- long _tmp = (long) (feePlusXErs3Temperature());
- this.feePlusXErs3TemperatureRaw = _tmp;
- return this.feePlusXErs3TemperatureRaw;
- }
- private Long hkFeePlusYVrefRaw;
- public Long hkFeePlusYVrefRaw() {
- if (this.hkFeePlusYVrefRaw != null)
- return this.hkFeePlusYVrefRaw;
- long _tmp = (long) (hkFeePlusYVref());
- this.hkFeePlusYVrefRaw = _tmp;
- return this.hkFeePlusYVrefRaw;
- }
- private Long feeMinusYErs3SignalRaw;
- public Long feeMinusYErs3SignalRaw() {
- if (this.feeMinusYErs3SignalRaw != null)
- return this.feeMinusYErs3SignalRaw;
- long _tmp = (long) (feeMinusYErs3Signal());
- this.feeMinusYErs3SignalRaw = _tmp;
- return this.feeMinusYErs3SignalRaw;
- }
- private Long feeMinusXErs2SignalRaw;
- public Long feeMinusXErs2SignalRaw() {
- if (this.feeMinusXErs2SignalRaw != null)
- return this.feeMinusXErs2SignalRaw;
- long _tmp = (long) (feeMinusXErs2Signal());
- this.feeMinusXErs2SignalRaw = _tmp;
- return this.feeMinusXErs2SignalRaw;
- }
- private Integer numberOfAcquisitionCommandedRaw;
- public Integer numberOfAcquisitionCommandedRaw() {
- if (this.numberOfAcquisitionCommandedRaw != null)
- return this.numberOfAcquisitionCommandedRaw;
- int _tmp = (int) (numberOfAcquisitionCommanded());
- this.numberOfAcquisitionCommandedRaw = _tmp;
- return this.numberOfAcquisitionCommandedRaw;
- }
- private Long gainRaw;
- public Long gainRaw() {
- if (this.gainRaw != null)
- return this.gainRaw;
- long _tmp = (long) (gain());
- this.gainRaw = _tmp;
- return this.gainRaw;
- }
- private Long feeMinusYErs1SignalRaw;
- public Long feeMinusYErs1SignalRaw() {
- if (this.feeMinusYErs1SignalRaw != null)
- return this.feeMinusYErs1SignalRaw;
- long _tmp = (long) (feeMinusYErs1Signal());
- this.feeMinusYErs1SignalRaw = _tmp;
- return this.feeMinusYErs1SignalRaw;
- }
- private Integer teachwearAccZRaw;
- public Integer teachwearAccZRaw() {
- if (this.teachwearAccZRaw != null)
- return this.teachwearAccZRaw;
- int _tmp = (int) (teachwearAccZ());
- this.teachwearAccZRaw = _tmp;
- return this.teachwearAccZRaw;
- }
- private Long mainboardScienceTimeRaw;
- public Long mainboardScienceTimeRaw() {
- if (this.mainboardScienceTimeRaw != null)
- return this.mainboardScienceTimeRaw;
- long _tmp = (long) (mainboardScienceTime());
- this.mainboardScienceTimeRaw = _tmp;
- return this.mainboardScienceTimeRaw;
- }
- private Long feePlusXErs3SignalRaw;
- public Long feePlusXErs3SignalRaw() {
- if (this.feePlusXErs3SignalRaw != null)
- return this.feePlusXErs3SignalRaw;
- long _tmp = (long) (feePlusXErs3Signal());
- this.feePlusXErs3SignalRaw = _tmp;
- return this.feePlusXErs3SignalRaw;
- }
- private Integer teachwearAccXRaw;
- public Integer teachwearAccXRaw() {
- if (this.teachwearAccXRaw != null)
- return this.teachwearAccXRaw;
- int _tmp = (int) (teachwearAccX());
- this.teachwearAccXRaw = _tmp;
- return this.teachwearAccXRaw;
- }
- private Long feeMinusXUvsSignalRaw;
- public Long feeMinusXUvsSignalRaw() {
- if (this.feeMinusXUvsSignalRaw != null)
- return this.feeMinusXUvsSignalRaw;
- long _tmp = (long) (feeMinusXUvsSignal());
- this.feeMinusXUvsSignalRaw = _tmp;
- return this.feeMinusXUvsSignalRaw;
- }
- private Long feePlusYErs3TemperatureRaw;
- public Long feePlusYErs3TemperatureRaw() {
- if (this.feePlusYErs3TemperatureRaw != null)
- return this.feePlusYErs3TemperatureRaw;
- long _tmp = (long) (feePlusYErs3Temperature());
- this.feePlusYErs3TemperatureRaw = _tmp;
- return this.feePlusYErs3TemperatureRaw;
- }
- private Long feeMinusXErs1TemperatureRaw;
- public Long feeMinusXErs1TemperatureRaw() {
- if (this.feeMinusXErs1TemperatureRaw != null)
- return this.feeMinusXErs1TemperatureRaw;
- long _tmp = (long) (feeMinusXErs1Temperature());
- this.feeMinusXErs1TemperatureRaw = _tmp;
- return this.feeMinusXErs1TemperatureRaw;
- }
- private Long hkPlus5vRaw;
- public Long hkPlus5vRaw() {
- if (this.hkPlus5vRaw != null)
- return this.hkPlus5vRaw;
- long _tmp = (long) (hkPlus5v());
- this.hkPlus5vRaw = _tmp;
- return this.hkPlus5vRaw;
- }
- private Integer numberOfRealAcquisitionRaw;
- public Integer numberOfRealAcquisitionRaw() {
- if (this.numberOfRealAcquisitionRaw != null)
- return this.numberOfRealAcquisitionRaw;
- int _tmp = (int) (numberOfRealAcquisition());
- this.numberOfRealAcquisitionRaw = _tmp;
- return this.numberOfRealAcquisitionRaw;
- }
- private Long feePlusYErs2SignalRaw;
- public Long feePlusYErs2SignalRaw() {
- if (this.feePlusYErs2SignalRaw != null)
- return this.feePlusYErs2SignalRaw;
- long _tmp = (long) (feePlusYErs2Signal());
- this.feePlusYErs2SignalRaw = _tmp;
- return this.feePlusYErs2SignalRaw;
- }
- private Integer teachWearOnRaw;
- public Integer teachWearOnRaw() {
- if (this.teachWearOnRaw != null)
- return this.teachWearOnRaw;
- int _tmp = (int) (teachWearOn());
- this.teachWearOnRaw = _tmp;
- return this.teachWearOnRaw;
- }
- private Integer frequenceOfAcquisitionsRaw;
- public Integer frequenceOfAcquisitionsRaw() {
- if (this.frequenceOfAcquisitionsRaw != null)
- return this.frequenceOfAcquisitionsRaw;
- int _tmp = (int) (frequenceOfAcquisitions());
- this.frequenceOfAcquisitionsRaw = _tmp;
- return this.frequenceOfAcquisitionsRaw;
- }
- private Long feePlusYErs2TemperatureRaw;
- public Long feePlusYErs2TemperatureRaw() {
- if (this.feePlusYErs2TemperatureRaw != null)
- return this.feePlusYErs2TemperatureRaw;
- long _tmp = (long) (feePlusYErs2Temperature());
- this.feePlusYErs2TemperatureRaw = _tmp;
- return this.feePlusYErs2TemperatureRaw;
- }
- private Long nbTmSinceFirstStartRaw;
- public Long nbTmSinceFirstStartRaw() {
- if (this.nbTmSinceFirstStartRaw != null)
- return this.nbTmSinceFirstStartRaw;
- long _tmp = (long) (nbTmSinceFirstStart());
- this.nbTmSinceFirstStartRaw = _tmp;
- return this.nbTmSinceFirstStartRaw;
- }
- private Integer teachwearMagnXRaw;
- public Integer teachwearMagnXRaw() {
- if (this.teachwearMagnXRaw != null)
- return this.teachwearMagnXRaw;
- int _tmp = (int) (teachwearMagnX());
- this.teachwearMagnXRaw = _tmp;
- return this.teachwearMagnXRaw;
- }
- private Long feeMinusXErs1SignalRaw;
- public Long feeMinusXErs1SignalRaw() {
- if (this.feeMinusXErs1SignalRaw != null)
- return this.feeMinusXErs1SignalRaw;
- long _tmp = (long) (feeMinusXErs1Signal());
- this.feeMinusXErs1SignalRaw = _tmp;
- return this.feeMinusXErs1SignalRaw;
- }
- private Long feeMinusXErs3SignalRaw;
- public Long feeMinusXErs3SignalRaw() {
- if (this.feeMinusXErs3SignalRaw != null)
- return this.feeMinusXErs3SignalRaw;
- long _tmp = (long) (feeMinusXErs3Signal());
- this.feeMinusXErs3SignalRaw = _tmp;
- return this.feeMinusXErs3SignalRaw;
- }
- private Long feeMinusYErs2SignalRaw;
- public Long feeMinusYErs2SignalRaw() {
- if (this.feeMinusYErs2SignalRaw != null)
- return this.feeMinusYErs2SignalRaw;
- long _tmp = (long) (feeMinusYErs2Signal());
- this.feeMinusYErs2SignalRaw = _tmp;
- return this.feeMinusYErs2SignalRaw;
- }
- private Long feeMinusYErs2TemperatureRaw;
- public Long feeMinusYErs2TemperatureRaw() {
- if (this.feeMinusYErs2TemperatureRaw != null)
- return this.feeMinusYErs2TemperatureRaw;
- long _tmp = (long) (feeMinusYErs2Temperature());
- this.feeMinusYErs2TemperatureRaw = _tmp;
- return this.feeMinusYErs2TemperatureRaw;
- }
- private Long feeMinusXErs2TemperatureRaw;
- public Long feeMinusXErs2TemperatureRaw() {
- if (this.feeMinusXErs2TemperatureRaw != null)
- return this.feeMinusXErs2TemperatureRaw;
- long _tmp = (long) (feeMinusXErs2Temperature());
- this.feeMinusXErs2TemperatureRaw = _tmp;
- return this.feeMinusXErs2TemperatureRaw;
- }
- private Long feePlusXErs1TemperatureRaw;
- public Long feePlusXErs1TemperatureRaw() {
- if (this.feePlusXErs1TemperatureRaw != null)
- return this.feePlusXErs1TemperatureRaw;
- long _tmp = (long) (feePlusXErs1Temperature());
- this.feePlusXErs1TemperatureRaw = _tmp;
- return this.feePlusXErs1TemperatureRaw;
- }
- private Long hkFeeMinusXVrefRaw;
- public Long hkFeeMinusXVrefRaw() {
- if (this.hkFeeMinusXVrefRaw != null)
- return this.hkFeeMinusXVrefRaw;
- long _tmp = (long) (hkFeeMinusXVref());
- this.hkFeeMinusXVrefRaw = _tmp;
- return this.hkFeeMinusXVrefRaw;
- }
- private Long feePlusYErs1TemperatureRaw;
- public Long feePlusYErs1TemperatureRaw() {
- if (this.feePlusYErs1TemperatureRaw != null)
- return this.feePlusYErs1TemperatureRaw;
- long _tmp = (long) (feePlusYErs1Temperature());
- this.feePlusYErs1TemperatureRaw = _tmp;
- return this.feePlusYErs1TemperatureRaw;
- }
- private Integer teachwearGyroXRaw;
- public Integer teachwearGyroXRaw() {
- if (this.teachwearGyroXRaw != null)
- return this.teachwearGyroXRaw;
- int _tmp = (int) (teachwearGyroX());
- this.teachwearGyroXRaw = _tmp;
- return this.teachwearGyroXRaw;
- }
- private Long feePlusXUvsSignalRaw;
- public Long feePlusXUvsSignalRaw() {
- if (this.feePlusXUvsSignalRaw != null)
- return this.feePlusXUvsSignalRaw;
- long _tmp = (long) (feePlusXUvsSignal());
- this.feePlusXUvsSignalRaw = _tmp;
- return this.feePlusXUvsSignalRaw;
- }
- private Long hkFeeMinusYVrefRaw;
- public Long hkFeeMinusYVrefRaw() {
- if (this.hkFeeMinusYVrefRaw != null)
- return this.hkFeeMinusYVrefRaw;
- long _tmp = (long) (hkFeeMinusYVref());
- this.hkFeeMinusYVrefRaw = _tmp;
- return this.hkFeeMinusYVrefRaw;
- }
- private Integer teachwearStateRaw;
- public Integer teachwearStateRaw() {
- if (this.teachwearStateRaw != null)
- return this.teachwearStateRaw;
- int _tmp = (int) (teachwearState());
- this.teachwearStateRaw = _tmp;
- return this.teachwearStateRaw;
- }
- private Long feePlusXErs1SignalRaw;
- public Long feePlusXErs1SignalRaw() {
- if (this.feePlusXErs1SignalRaw != null)
- return this.feePlusXErs1SignalRaw;
- long _tmp = (long) (feePlusXErs1Signal());
- this.feePlusXErs1SignalRaw = _tmp;
- return this.feePlusXErs1SignalRaw;
- }
- private Long hkMinus5vRaw;
- public Long hkMinus5vRaw() {
- if (this.hkMinus5vRaw != null)
- return this.hkMinus5vRaw;
- long _tmp = (long) (hkMinus5v());
- this.hkMinus5vRaw = _tmp;
- return this.hkMinus5vRaw;
- }
- private Long feeMinusXErs3TemperatureRaw;
- public Long feeMinusXErs3TemperatureRaw() {
- if (this.feeMinusXErs3TemperatureRaw != null)
- return this.feeMinusXErs3TemperatureRaw;
- long _tmp = (long) (feeMinusXErs3Temperature());
- this.feeMinusXErs3TemperatureRaw = _tmp;
- return this.feeMinusXErs3TemperatureRaw;
- }
- private Integer teachwearResetReasonRaw;
- public Integer teachwearResetReasonRaw() {
- if (this.teachwearResetReasonRaw != null)
- return this.teachwearResetReasonRaw;
- int _tmp = (int) (teachwearResetReason());
- this.teachwearResetReasonRaw = _tmp;
- return this.teachwearResetReasonRaw;
- }
- private Integer teachwearDegCRaw;
- public Integer teachwearDegCRaw() {
- if (this.teachwearDegCRaw != null)
- return this.teachwearDegCRaw;
- int _tmp = (int) (teachwearDegC());
- this.teachwearDegCRaw = _tmp;
- return this.teachwearDegCRaw;
- }
- private Integer teachwearGyroYRaw;
- public Integer teachwearGyroYRaw() {
- if (this.teachwearGyroYRaw != null)
- return this.teachwearGyroYRaw;
- int _tmp = (int) (teachwearGyroY());
- this.teachwearGyroYRaw = _tmp;
- return this.teachwearGyroYRaw;
- }
- private Integer teachwearMagnZRaw;
- public Integer teachwearMagnZRaw() {
- if (this.teachwearMagnZRaw != null)
- return this.teachwearMagnZRaw;
- int _tmp = (int) (teachwearMagnZ());
- this.teachwearMagnZRaw = _tmp;
- return this.teachwearMagnZRaw;
- }
- private Long feePlusYErs3SignalRaw;
- public Long feePlusYErs3SignalRaw() {
- if (this.feePlusYErs3SignalRaw != null)
- return this.feePlusYErs3SignalRaw;
- long _tmp = (long) (feePlusYErs3Signal());
- this.feePlusYErs3SignalRaw = _tmp;
- return this.feePlusYErs3SignalRaw;
- }
- private Integer teachwearAccYRaw;
- public Integer teachwearAccYRaw() {
- if (this.teachwearAccYRaw != null)
- return this.teachwearAccYRaw;
- int _tmp = (int) (teachwearAccY());
- this.teachwearAccYRaw = _tmp;
- return this.teachwearAccYRaw;
- }
- private long mainboardScienceTime;
- private int teachWearOn;
- private int frequenceOfAcquisitions;
- private long gain;
- private int numberOfAcquisitionCommanded;
- private int numberOfRealAcquisition;
- private long hkPlus5v;
- private long hkMinus5v;
- private long hkMinus5vPolar;
- private long hkTempAdc;
- private long hkFeePlusXVref;
- private long hkFeeMinusXVref;
- private long hkFeePlusYVref;
- private long hkFeeMinusYVref;
- private long feePlusXErs1Signal;
- private long feePlusXErs1Temperature;
- private long feePlusXErs2Signal;
- private long feePlusXErs2Temperature;
- private long feePlusXErs3Signal;
- private long feePlusXErs3Temperature;
- private long feePlusXUvsSignal;
- private long feeMinusXErs1Signal;
- private long feeMinusXErs1Temperature;
- private long feeMinusXErs2Signal;
- private long feeMinusXErs2Temperature;
- private long feeMinusXErs3Signal;
- private long feeMinusXErs3Temperature;
- private long feeMinusXUvsSignal;
- private long feePlusYErs1Signal;
- private long feePlusYErs1Temperature;
- private long feePlusYErs2Signal;
- private long feePlusYErs2Temperature;
- private long feePlusYErs3Signal;
- private long feePlusYErs3Temperature;
- private long feePlusYUvsSignal;
- private long feeMinusYErs1Signal;
- private long feeMinusYErs1Temperature;
- private long feeMinusYErs2Signal;
- private long feeMinusYErs2Temperature;
- private long feeMinusYErs3Signal;
- private long feeMinusYErs3Temperature;
- private long feeMinusYUvsSignal;
- private int teachwearAccX;
- private int teachwearAccY;
- private int teachwearAccZ;
- private int teachwearDegC;
- private int teachwearGyroX;
- private int teachwearGyroY;
- private int teachwearGyroZ;
- private int teachwearMagnX;
- private int teachwearMagnY;
- private int teachwearMagnZ;
- private int teachwearState;
- private int teachwearResetReason;
- private int teachwearCrc;
- private long nbTmSinceFirstStart;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public long mainboardScienceTime() { return mainboardScienceTime; }
- public int teachWearOn() { return teachWearOn; }
- public int frequenceOfAcquisitions() { return frequenceOfAcquisitions; }
- public long gain() { return gain; }
- public int numberOfAcquisitionCommanded() { return numberOfAcquisitionCommanded; }
- public int numberOfRealAcquisition() { return numberOfRealAcquisition; }
- public long hkPlus5v() { return hkPlus5v; }
- public long hkMinus5v() { return hkMinus5v; }
- public long hkMinus5vPolar() { return hkMinus5vPolar; }
- public long hkTempAdc() { return hkTempAdc; }
- public long hkFeePlusXVref() { return hkFeePlusXVref; }
- public long hkFeeMinusXVref() { return hkFeeMinusXVref; }
- public long hkFeePlusYVref() { return hkFeePlusYVref; }
- public long hkFeeMinusYVref() { return hkFeeMinusYVref; }
- public long feePlusXErs1Signal() { return feePlusXErs1Signal; }
- public long feePlusXErs1Temperature() { return feePlusXErs1Temperature; }
- public long feePlusXErs2Signal() { return feePlusXErs2Signal; }
- public long feePlusXErs2Temperature() { return feePlusXErs2Temperature; }
- public long feePlusXErs3Signal() { return feePlusXErs3Signal; }
- public long feePlusXErs3Temperature() { return feePlusXErs3Temperature; }
- public long feePlusXUvsSignal() { return feePlusXUvsSignal; }
- public long feeMinusXErs1Signal() { return feeMinusXErs1Signal; }
- public long feeMinusXErs1Temperature() { return feeMinusXErs1Temperature; }
- public long feeMinusXErs2Signal() { return feeMinusXErs2Signal; }
- public long feeMinusXErs2Temperature() { return feeMinusXErs2Temperature; }
- public long feeMinusXErs3Signal() { return feeMinusXErs3Signal; }
- public long feeMinusXErs3Temperature() { return feeMinusXErs3Temperature; }
- public long feeMinusXUvsSignal() { return feeMinusXUvsSignal; }
- public long feePlusYErs1Signal() { return feePlusYErs1Signal; }
- public long feePlusYErs1Temperature() { return feePlusYErs1Temperature; }
- public long feePlusYErs2Signal() { return feePlusYErs2Signal; }
- public long feePlusYErs2Temperature() { return feePlusYErs2Temperature; }
- public long feePlusYErs3Signal() { return feePlusYErs3Signal; }
- public long feePlusYErs3Temperature() { return feePlusYErs3Temperature; }
- public long feePlusYUvsSignal() { return feePlusYUvsSignal; }
- public long feeMinusYErs1Signal() { return feeMinusYErs1Signal; }
- public long feeMinusYErs1Temperature() { return feeMinusYErs1Temperature; }
- public long feeMinusYErs2Signal() { return feeMinusYErs2Signal; }
- public long feeMinusYErs2Temperature() { return feeMinusYErs2Temperature; }
- public long feeMinusYErs3Signal() { return feeMinusYErs3Signal; }
- public long feeMinusYErs3Temperature() { return feeMinusYErs3Temperature; }
- public long feeMinusYUvsSignal() { return feeMinusYUvsSignal; }
- public int teachwearAccX() { return teachwearAccX; }
- public int teachwearAccY() { return teachwearAccY; }
- public int teachwearAccZ() { return teachwearAccZ; }
- public int teachwearDegC() { return teachwearDegC; }
- public int teachwearGyroX() { return teachwearGyroX; }
- public int teachwearGyroY() { return teachwearGyroY; }
- public int teachwearGyroZ() { return teachwearGyroZ; }
- public int teachwearMagnX() { return teachwearMagnX; }
- public int teachwearMagnY() { return teachwearMagnY; }
- public int teachwearMagnZ() { return teachwearMagnZ; }
- public int teachwearState() { return teachwearState; }
- public int teachwearResetReason() { return teachwearResetReason; }
- public int teachwearCrc() { return teachwearCrc; }
- public long nbTmSinceFirstStart() { return nbTmSinceFirstStart; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class AmsatAscii extends KaitaiStruct {
- public static AmsatAscii fromFile(String fileName) throws IOException {
- return new AmsatAscii(new ByteBufferKaitaiStream(fileName));
- }
-
- public AmsatAscii(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public AmsatAscii(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public AmsatAscii(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.message = new String(this._io.readBytesFull(), Charset.forName("UTF-8"));
- }
- private String messageStr;
- public String messageStr() {
- if (this.messageStr != null)
- return this.messageStr;
- this.messageStr = message();
- return this.messageStr;
- }
- private String message;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public String message() { return message; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class TrxvurxHk extends KaitaiStruct {
- public static TrxvurxHk fromFile(String fileName) throws IOException {
- return new TrxvurxHk(new ByteBufferKaitaiStream(fileName));
- }
-
- public TrxvurxHk(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public TrxvurxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public TrxvurxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort = this._io.readBitsInt(12);
- this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsInt(12);
- this.trxvurxSupplyVoltage = this._io.readBitsInt(12);
- this.trxvurxTotalSupplyCurrent = this._io.readBitsInt(12);
- this.trxvurxTransmitterCurrent = this._io.readBitsInt(12);
- this.trxvurxReceiverCurrent = this._io.readBitsInt(12);
- this.trxvurxPowerAmplifierCurrent = this._io.readBitsInt(12);
- this.trxvurxPowerAmplifierTemperature = this._io.readBitsInt(12);
- this.trxvurxLocalOscillatorTemperature = this._io.readBitsInt(12);
- this.trxvurxZeroPadding = this._io.readBitsInt(4);
- this._io.alignToByte();
- this.trxvuRxUptime = this._io.readU4be();
- }
- private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
- public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
- if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
- return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
- double _tmp = (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
- this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
- return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
- }
- private Double trxvurxInstantaneousReceivedSignalDopplerHz;
- public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
- if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
- return this.trxvurxInstantaneousReceivedSignalDopplerHz;
- double _tmp = (double) (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552) - 22300));
- this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
- return this.trxvurxInstantaneousReceivedSignalDopplerHz;
- }
- private Double trxvurxSupplyVoltageV;
- public Double trxvurxSupplyVoltageV() {
- if (this.trxvurxSupplyVoltageV != null)
- return this.trxvurxSupplyVoltageV;
- double _tmp = (double) ((trxvurxSupplyVoltage() * 0.00488));
- this.trxvurxSupplyVoltageV = _tmp;
- return this.trxvurxSupplyVoltageV;
- }
- private Double trxvurxLocalOscillatorTemperatureC;
- public Double trxvurxLocalOscillatorTemperatureC() {
- if (this.trxvurxLocalOscillatorTemperatureC != null)
- return this.trxvurxLocalOscillatorTemperatureC;
- double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
- this.trxvurxLocalOscillatorTemperatureC = _tmp;
- return this.trxvurxLocalOscillatorTemperatureC;
- }
- private Double trxvurxTransmitterCurrentMa;
- public Double trxvurxTransmitterCurrentMa() {
- if (this.trxvurxTransmitterCurrentMa != null)
- return this.trxvurxTransmitterCurrentMa;
- double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
- this.trxvurxTransmitterCurrentMa = _tmp;
- return this.trxvurxTransmitterCurrentMa;
- }
- private Long trxvurxZeroPaddingRaw;
- public Long trxvurxZeroPaddingRaw() {
- if (this.trxvurxZeroPaddingRaw != null)
- return this.trxvurxZeroPaddingRaw;
- long _tmp = (long) (trxvurxZeroPadding());
- this.trxvurxZeroPaddingRaw = _tmp;
- return this.trxvurxZeroPaddingRaw;
- }
- private Double trxvurxPowerAmplifierCurrentMa;
- public Double trxvurxPowerAmplifierCurrentMa() {
- if (this.trxvurxPowerAmplifierCurrentMa != null)
- return this.trxvurxPowerAmplifierCurrentMa;
- double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
- this.trxvurxPowerAmplifierCurrentMa = _tmp;
- return this.trxvurxPowerAmplifierCurrentMa;
- }
- private Double trxvurxTotalSupplyCurrentMa;
- public Double trxvurxTotalSupplyCurrentMa() {
- if (this.trxvurxTotalSupplyCurrentMa != null)
- return this.trxvurxTotalSupplyCurrentMa;
- double _tmp = (double) ((trxvurxTotalSupplyCurrent() * 0.16643964));
- this.trxvurxTotalSupplyCurrentMa = _tmp;
- return this.trxvurxTotalSupplyCurrentMa;
- }
- private Double trxvurxPowerAmplifierTemperatureC;
- public Double trxvurxPowerAmplifierTemperatureC() {
- if (this.trxvurxPowerAmplifierTemperatureC != null)
- return this.trxvurxPowerAmplifierTemperatureC;
- double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
- this.trxvurxPowerAmplifierTemperatureC = _tmp;
- return this.trxvurxPowerAmplifierTemperatureC;
- }
- private Long trxvuRxUptimeRaw;
- public Long trxvuRxUptimeRaw() {
- if (this.trxvuRxUptimeRaw != null)
- return this.trxvuRxUptimeRaw;
- long _tmp = (long) (trxvuRxUptime());
- this.trxvuRxUptimeRaw = _tmp;
- return this.trxvuRxUptimeRaw;
- }
- private Double trxvurxReceiverCurrentMa;
- public Double trxvurxReceiverCurrentMa() {
- if (this.trxvurxReceiverCurrentMa != null)
- return this.trxvurxReceiverCurrentMa;
- double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
- this.trxvurxReceiverCurrentMa = _tmp;
- return this.trxvurxReceiverCurrentMa;
- }
- private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
- private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
- private long trxvurxSupplyVoltage;
- private long trxvurxTotalSupplyCurrent;
- private long trxvurxTransmitterCurrent;
- private long trxvurxReceiverCurrent;
- private long trxvurxPowerAmplifierCurrent;
- private long trxvurxPowerAmplifierTemperature;
- private long trxvurxLocalOscillatorTemperature;
- private long trxvurxZeroPadding;
- private long trxvuRxUptime;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() { return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort; }
- public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() { return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort; }
- public long trxvurxSupplyVoltage() { return trxvurxSupplyVoltage; }
- public long trxvurxTotalSupplyCurrent() { return trxvurxTotalSupplyCurrent; }
- public long trxvurxTransmitterCurrent() { return trxvurxTransmitterCurrent; }
- public long trxvurxReceiverCurrent() { return trxvurxReceiverCurrent; }
- public long trxvurxPowerAmplifierCurrent() { return trxvurxPowerAmplifierCurrent; }
- public long trxvurxPowerAmplifierTemperature() { return trxvurxPowerAmplifierTemperature; }
- public long trxvurxLocalOscillatorTemperature() { return trxvurxLocalOscillatorTemperature; }
- public long trxvurxZeroPadding() { return trxvurxZeroPadding; }
- public long trxvuRxUptime() { return trxvuRxUptime; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class MainboardHk extends KaitaiStruct {
- public static MainboardHk fromFile(String fileName) throws IOException {
- return new MainboardHk(new ByteBufferKaitaiStream(fileName));
- }
-
- public MainboardHk(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public MainboardHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public MainboardHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.mainboardHkTime = this._io.readU4be();
- this.hkPlus5V = this._io.readU2be();
- this.hkMinus5V = this._io.readU2be();
- this.hkMinusPolar = this._io.readU2be();
- this.hkTempADC = this._io.readU2be();
- this.hkFeePlusXVref = this._io.readU2be();
- this.hkFeeMinusXVref = this._io.readU2be();
- this.hkFeePlusYVref = this._io.readU2be();
- this.hkFeeMinusYVref = this._io.readU2be();
- }
- private Integer hkFeePlusXVrefRaw;
- public Integer hkFeePlusXVrefRaw() {
- if (this.hkFeePlusXVrefRaw != null)
- return this.hkFeePlusXVrefRaw;
- int _tmp = (int) (hkFeePlusXVref());
- this.hkFeePlusXVrefRaw = _tmp;
- return this.hkFeePlusXVrefRaw;
- }
- private Integer hkFeePlusYVrefRaw;
- public Integer hkFeePlusYVrefRaw() {
- if (this.hkFeePlusYVrefRaw != null)
- return this.hkFeePlusYVrefRaw;
- int _tmp = (int) (hkFeePlusYVref());
- this.hkFeePlusYVrefRaw = _tmp;
- return this.hkFeePlusYVrefRaw;
- }
- private Integer hkPlus5VRaw;
- public Integer hkPlus5VRaw() {
- if (this.hkPlus5VRaw != null)
- return this.hkPlus5VRaw;
- int _tmp = (int) (hkPlus5V());
- this.hkPlus5VRaw = _tmp;
- return this.hkPlus5VRaw;
- }
- private Integer hkTempADCRaw;
- public Integer hkTempADCRaw() {
- if (this.hkTempADCRaw != null)
- return this.hkTempADCRaw;
- int _tmp = (int) (hkTempADC());
- this.hkTempADCRaw = _tmp;
- return this.hkTempADCRaw;
- }
- private Long mainboardHKTimeRaw;
- public Long mainboardHKTimeRaw() {
- if (this.mainboardHKTimeRaw != null)
- return this.mainboardHKTimeRaw;
- long _tmp = (long) (mainboardHkTime());
- this.mainboardHKTimeRaw = _tmp;
- return this.mainboardHKTimeRaw;
- }
- private Integer hkMinusPolarRaw;
- public Integer hkMinusPolarRaw() {
- if (this.hkMinusPolarRaw != null)
- return this.hkMinusPolarRaw;
- int _tmp = (int) (hkMinusPolar());
- this.hkMinusPolarRaw = _tmp;
- return this.hkMinusPolarRaw;
- }
- private Integer hkMinus5VRaw;
- public Integer hkMinus5VRaw() {
- if (this.hkMinus5VRaw != null)
- return this.hkMinus5VRaw;
- int _tmp = (int) (hkMinus5V());
- this.hkMinus5VRaw = _tmp;
- return this.hkMinus5VRaw;
- }
- private Integer hkFeeMinusXVrefRaw;
- public Integer hkFeeMinusXVrefRaw() {
- if (this.hkFeeMinusXVrefRaw != null)
- return this.hkFeeMinusXVrefRaw;
- int _tmp = (int) (hkFeeMinusXVref());
- this.hkFeeMinusXVrefRaw = _tmp;
- return this.hkFeeMinusXVrefRaw;
- }
- private Integer hkFeeMinusYVrefRaw;
- public Integer hkFeeMinusYVrefRaw() {
- if (this.hkFeeMinusYVrefRaw != null)
- return this.hkFeeMinusYVrefRaw;
- int _tmp = (int) (hkFeeMinusYVref());
- this.hkFeeMinusYVrefRaw = _tmp;
- return this.hkFeeMinusYVrefRaw;
- }
- private long mainboardHkTime;
- private int hkPlus5V;
- private int hkMinus5V;
- private int hkMinusPolar;
- private int hkTempADC;
- private int hkFeePlusXVref;
- private int hkFeeMinusXVref;
- private int hkFeePlusYVref;
- private int hkFeeMinusYVref;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public long mainboardHkTime() { return mainboardHkTime; }
- public int hkPlus5V() { return hkPlus5V; }
- public int hkMinus5V() { return hkMinus5V; }
- public int hkMinusPolar() { return hkMinusPolar; }
- public int hkTempADC() { return hkTempADC; }
- public int hkFeePlusXVref() { return hkFeePlusXVref; }
- public int hkFeeMinusXVref() { return hkFeeMinusXVref; }
- public int hkFeePlusYVref() { return hkFeePlusYVref; }
- public int hkFeeMinusYVref() { return hkFeeMinusYVref; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class IFrame extends KaitaiStruct {
- public static IFrame fromFile(String fileName) throws IOException {
- return new IFrame(new ByteBufferKaitaiStream(fileName));
- }
-
- public IFrame(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public IFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent) {
- this(_io, _parent, null);
- }
-
- public IFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.pid = this._io.readU1();
- this.ax25Info = this._io.readBytesFull();
- }
- private int pid;
- private byte[] ax25Info;
- private Uvsqsat _root;
- private Uvsqsat.Ax25Frame _parent;
- public int pid() { return pid; }
- public byte[] ax25Info() { return ax25Info; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.Ax25Frame _parent() { return _parent; }
- }
- public static class ObcStatus extends KaitaiStruct {
- public static ObcStatus fromFile(String fileName) throws IOException {
- return new ObcStatus(new ByteBufferKaitaiStream(fileName));
- }
-
- public ObcStatus(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public ObcStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public ObcStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.dummy = this._io.readU1();
- this.spiCommandStatus = this._io.readU1();
- this.supervisorIndexOfSubsystem = this._io.readU1();
- this.supervisorMajorVersion = this._io.readU1();
- this.supervisorMinorVersion = this._io.readU1();
- this.supervisorPatchVersion = this._io.readU1();
- this.supervisorGitHeadVersion = this._io.readU4be();
- this.supervisorSerialNumber = this._io.readU2be();
- this.compilationInformation = this._io.readBytes(19);
- this.clockSpeed = this._io.readU1();
- this.codeType = this._io.readU1();
- this.crc8 = this._io.readU1();
- this.swMmode = this._io.readU1();
- this.lastResetReason = this._io.readU1();
- this.reserved = this._io.readU1();
- this.nbReset = this._io.readU1();
- this.reserved2 = this._io.readU1();
- this.deployAntennasSystem = this._io.readU1();
- this.nbTmSinceFirstStart = this._io.readU4be();
- this.nbTcSinceFirstStart = this._io.readU4be();
- this.nbBadTcSinceFirstStart = this._io.readU4be();
- this.nbTmInSdcard = this._io.readU4be();
- this.sdcardStatus = this._io.readU1();
- this.sdcardLastError = this._io.readU4be();
- this.oldTimeTMInSdcard = this._io.readBitsInt(56);
- this.newTimeTMInSdcard = this._io.readBitsInt(56);
- }
- private Long newTimeTMInSdcardRaw;
- public Long newTimeTMInSdcardRaw() {
- if (this.newTimeTMInSdcardRaw != null)
- return this.newTimeTMInSdcardRaw;
- long _tmp = (long) (newTimeTMInSdcard());
- this.newTimeTMInSdcardRaw = _tmp;
- return this.newTimeTMInSdcardRaw;
- }
- private Integer deployAntennasSystemRaw;
- public Integer deployAntennasSystemRaw() {
- if (this.deployAntennasSystemRaw != null)
- return this.deployAntennasSystemRaw;
- int _tmp = (int) (deployAntennasSystem());
- this.deployAntennasSystemRaw = _tmp;
- return this.deployAntennasSystemRaw;
- }
- private Integer clockSpeedRaw;
- public Integer clockSpeedRaw() {
- if (this.clockSpeedRaw != null)
- return this.clockSpeedRaw;
- int _tmp = (int) (clockSpeed());
- this.clockSpeedRaw = _tmp;
- return this.clockSpeedRaw;
- }
- private Integer lastResetReasonRaw;
- public Integer lastResetReasonRaw() {
- if (this.lastResetReasonRaw != null)
- return this.lastResetReasonRaw;
- int _tmp = (int) (lastResetReason());
- this.lastResetReasonRaw = _tmp;
- return this.lastResetReasonRaw;
- }
- private Integer supervisorIndexOfSubsystemRaw;
- public Integer supervisorIndexOfSubsystemRaw() {
- if (this.supervisorIndexOfSubsystemRaw != null)
- return this.supervisorIndexOfSubsystemRaw;
- int _tmp = (int) (supervisorIndexOfSubsystem());
- this.supervisorIndexOfSubsystemRaw = _tmp;
- return this.supervisorIndexOfSubsystemRaw;
- }
- private Integer crc8Raw;
- public Integer crc8Raw() {
- if (this.crc8Raw != null)
- return this.crc8Raw;
- int _tmp = (int) (crc8());
- this.crc8Raw = _tmp;
- return this.crc8Raw;
- }
- private Integer nbResetRaw;
- public Integer nbResetRaw() {
- if (this.nbResetRaw != null)
- return this.nbResetRaw;
- int _tmp = (int) (nbReset());
- this.nbResetRaw = _tmp;
- return this.nbResetRaw;
- }
- private Long supervisorGitHeadVersionRaw;
- public Long supervisorGitHeadVersionRaw() {
- if (this.supervisorGitHeadVersionRaw != null)
- return this.supervisorGitHeadVersionRaw;
- long _tmp = (long) (supervisorGitHeadVersion());
- this.supervisorGitHeadVersionRaw = _tmp;
- return this.supervisorGitHeadVersionRaw;
- }
- private Integer supervisorMajorVersionRaw;
- public Integer supervisorMajorVersionRaw() {
- if (this.supervisorMajorVersionRaw != null)
- return this.supervisorMajorVersionRaw;
- int _tmp = (int) (supervisorMajorVersion());
- this.supervisorMajorVersionRaw = _tmp;
- return this.supervisorMajorVersionRaw;
- }
- private byte[] compilationInformationByte;
- public byte[] compilationInformationByte() {
- if (this.compilationInformationByte != null)
- return this.compilationInformationByte;
- this.compilationInformationByte = compilationInformation();
- return this.compilationInformationByte;
- }
- private Long nbTmSinceFirstStartRaw;
- public Long nbTmSinceFirstStartRaw() {
- if (this.nbTmSinceFirstStartRaw != null)
- return this.nbTmSinceFirstStartRaw;
- long _tmp = (long) (nbTmSinceFirstStart());
- this.nbTmSinceFirstStartRaw = _tmp;
- return this.nbTmSinceFirstStartRaw;
- }
- private Integer supervisorMinorVersionRaw;
- public Integer supervisorMinorVersionRaw() {
- if (this.supervisorMinorVersionRaw != null)
- return this.supervisorMinorVersionRaw;
- int _tmp = (int) (supervisorMinorVersion());
- this.supervisorMinorVersionRaw = _tmp;
- return this.supervisorMinorVersionRaw;
- }
- private Integer sdcardStatusRaw;
- public Integer sdcardStatusRaw() {
- if (this.sdcardStatusRaw != null)
- return this.sdcardStatusRaw;
- int _tmp = (int) (sdcardStatus());
- this.sdcardStatusRaw = _tmp;
- return this.sdcardStatusRaw;
- }
- private Integer supervisorPatchVersionRaw;
- public Integer supervisorPatchVersionRaw() {
- if (this.supervisorPatchVersionRaw != null)
- return this.supervisorPatchVersionRaw;
- int _tmp = (int) (supervisorPatchVersion());
- this.supervisorPatchVersionRaw = _tmp;
- return this.supervisorPatchVersionRaw;
- }
- private Integer reservedRaw;
- public Integer reservedRaw() {
- if (this.reservedRaw != null)
- return this.reservedRaw;
- int _tmp = (int) (reserved());
- this.reservedRaw = _tmp;
- return this.reservedRaw;
- }
- private Integer supervisorSerialNumberRaw;
- public Integer supervisorSerialNumberRaw() {
- if (this.supervisorSerialNumberRaw != null)
- return this.supervisorSerialNumberRaw;
- int _tmp = (int) (supervisorSerialNumber());
- this.supervisorSerialNumberRaw = _tmp;
- return this.supervisorSerialNumberRaw;
- }
- private Long nbTmInSdcardRaw;
- public Long nbTmInSdcardRaw() {
- if (this.nbTmInSdcardRaw != null)
- return this.nbTmInSdcardRaw;
- long _tmp = (long) (nbTmInSdcard());
- this.nbTmInSdcardRaw = _tmp;
- return this.nbTmInSdcardRaw;
- }
- private Integer reserved2Raw;
- public Integer reserved2Raw() {
- if (this.reserved2Raw != null)
- return this.reserved2Raw;
- int _tmp = (int) (reserved2());
- this.reserved2Raw = _tmp;
- return this.reserved2Raw;
- }
- private Integer swMmodeRaw;
- public Integer swMmodeRaw() {
- if (this.swMmodeRaw != null)
- return this.swMmodeRaw;
- int _tmp = (int) (swMmode());
- this.swMmodeRaw = _tmp;
- return this.swMmodeRaw;
- }
- private Integer codeTypeRaw;
- public Integer codeTypeRaw() {
- if (this.codeTypeRaw != null)
- return this.codeTypeRaw;
- int _tmp = (int) (codeType());
- this.codeTypeRaw = _tmp;
- return this.codeTypeRaw;
- }
- private Long oldTimeTMInSdcardRaw;
- public Long oldTimeTMInSdcardRaw() {
- if (this.oldTimeTMInSdcardRaw != null)
- return this.oldTimeTMInSdcardRaw;
- long _tmp = (long) (oldTimeTMInSdcard());
- this.oldTimeTMInSdcardRaw = _tmp;
- return this.oldTimeTMInSdcardRaw;
- }
- private Integer dummydummy;
- public Integer dummydummy() {
- if (this.dummydummy != null)
- return this.dummydummy;
- int _tmp = (int) (dummy());
- this.dummydummy = _tmp;
- return this.dummydummy;
- }
- private Long nbTcSinceFirstStartRaw;
- public Long nbTcSinceFirstStartRaw() {
- if (this.nbTcSinceFirstStartRaw != null)
- return this.nbTcSinceFirstStartRaw;
- long _tmp = (long) (nbTcSinceFirstStart());
- this.nbTcSinceFirstStartRaw = _tmp;
- return this.nbTcSinceFirstStartRaw;
- }
- private Long sdcardLastErrorRaw;
- public Long sdcardLastErrorRaw() {
- if (this.sdcardLastErrorRaw != null)
- return this.sdcardLastErrorRaw;
- long _tmp = (long) (sdcardLastError());
- this.sdcardLastErrorRaw = _tmp;
- return this.sdcardLastErrorRaw;
- }
- private Long nbBadTcSinceFirstStartRaw;
- public Long nbBadTcSinceFirstStartRaw() {
- if (this.nbBadTcSinceFirstStartRaw != null)
- return this.nbBadTcSinceFirstStartRaw;
- long _tmp = (long) (nbBadTcSinceFirstStart());
- this.nbBadTcSinceFirstStartRaw = _tmp;
- return this.nbBadTcSinceFirstStartRaw;
- }
- private Integer spiCommandStatusRaw;
- public Integer spiCommandStatusRaw() {
- if (this.spiCommandStatusRaw != null)
- return this.spiCommandStatusRaw;
- int _tmp = (int) (spiCommandStatus());
- this.spiCommandStatusRaw = _tmp;
- return this.spiCommandStatusRaw;
- }
- private int dummy;
- private int spiCommandStatus;
- private int supervisorIndexOfSubsystem;
- private int supervisorMajorVersion;
- private int supervisorMinorVersion;
- private int supervisorPatchVersion;
- private long supervisorGitHeadVersion;
- private int supervisorSerialNumber;
- private byte[] compilationInformation;
- private int clockSpeed;
- private int codeType;
- private int crc8;
- private int swMmode;
- private int lastResetReason;
- private int reserved;
- private int nbReset;
- private int reserved2;
- private int deployAntennasSystem;
- private long nbTmSinceFirstStart;
- private long nbTcSinceFirstStart;
- private long nbBadTcSinceFirstStart;
- private long nbTmInSdcard;
- private int sdcardStatus;
- private long sdcardLastError;
- private long oldTimeTMInSdcard;
- private long newTimeTMInSdcard;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public int dummy() { return dummy; }
- public int spiCommandStatus() { return spiCommandStatus; }
- public int supervisorIndexOfSubsystem() { return supervisorIndexOfSubsystem; }
- public int supervisorMajorVersion() { return supervisorMajorVersion; }
- public int supervisorMinorVersion() { return supervisorMinorVersion; }
- public int supervisorPatchVersion() { return supervisorPatchVersion; }
- public long supervisorGitHeadVersion() { return supervisorGitHeadVersion; }
- public int supervisorSerialNumber() { return supervisorSerialNumber; }
- public byte[] compilationInformation() { return compilationInformation; }
- public int clockSpeed() { return clockSpeed; }
- public int codeType() { return codeType; }
- public int crc8() { return crc8; }
- public int swMmode() { return swMmode; }
- public int lastResetReason() { return lastResetReason; }
- public int reserved() { return reserved; }
- public int nbReset() { return nbReset; }
- public int reserved2() { return reserved2; }
- public int deployAntennasSystem() { return deployAntennasSystem; }
- public long nbTmSinceFirstStart() { return nbTmSinceFirstStart; }
- public long nbTcSinceFirstStart() { return nbTcSinceFirstStart; }
- public long nbBadTcSinceFirstStart() { return nbBadTcSinceFirstStart; }
- public long nbTmInSdcard() { return nbTmInSdcard; }
- public int sdcardStatus() { return sdcardStatus; }
- public long sdcardLastError() { return sdcardLastError; }
- public long oldTimeTMInSdcard() { return oldTimeTMInSdcard; }
- public long newTimeTMInSdcard() { return newTimeTMInSdcard; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class SsidMask extends KaitaiStruct {
- public static SsidMask fromFile(String fileName) throws IOException {
- return new SsidMask(new ByteBufferKaitaiStream(fileName));
- }
-
- public SsidMask(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public SsidMask(KaitaiStream _io, Uvsqsat.Ax25Header _parent) {
- this(_io, _parent, null);
- }
-
- public SsidMask(KaitaiStream _io, Uvsqsat.Ax25Header _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.ssidMask = this._io.readU1();
- }
- private Integer ssid;
- public Integer ssid() {
- if (this.ssid != null)
- return this.ssid;
- int _tmp = (int) (((ssidMask() & 15) >> 1));
- this.ssid = _tmp;
- return this.ssid;
- }
- private int ssidMask;
- private Uvsqsat _root;
- private Uvsqsat.Ax25Header _parent;
- public int ssidMask() { return ssidMask; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.Ax25Header _parent() { return _parent; }
- }
- public static class Beacon extends KaitaiStruct {
- public static Beacon fromFile(String fileName) throws IOException {
- return new Beacon(new ByteBufferKaitaiStream(fileName));
- }
-
- public Beacon(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public Beacon(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public Beacon(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.swMode = this._io.readU1();
- this.lastResetReason = this._io.readU1();
- this.resetOrder = this._io.readU1();
- this.nbReset = this._io.readU1();
- this.formatSdcardOrder = this._io.readU1();
- this.deployAntennasSystem = this._io.readU1();
- this.nbTmSinceFirstStart = this._io.readU4be();
- this.nbTcSinceFirstStart = this._io.readU4be();
- this.nbTcPingSinceFirstStart = this._io.readU4be();
- this.nbBadTcSinceFirstStart = this._io.readU4be();
- this.nbTmInSdcard = this._io.readU4be();
- this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsInt(12);
- this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsInt(12);
- this.trxvutxSupplyVoltage = this._io.readBitsInt(12);
- this.trxvutxTotalSupplyCurrent = this._io.readBitsInt(12);
- this.trxvutxTransmitterCurrent = this._io.readBitsInt(12);
- this.trxvutxReceiverCurrent = this._io.readBitsInt(12);
- this.trxvutxPowerAmplifierCurrent = this._io.readBitsInt(12);
- this.trxvutxPowerAmplifierTemperature = this._io.readBitsInt(12);
- this.trxvutxLocalOscillatorTemperature = this._io.readBitsInt(12);
- this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort = this._io.readBitsInt(12);
- this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsInt(12);
- this.trxvurxSupplyVoltage = this._io.readBitsInt(12);
- this.trxvurxTotalSupplyCurrent = this._io.readBitsInt(12);
- this.trxvurxTransmitterCurrent = this._io.readBitsInt(12);
- this.trxvurxReceiverCurrent = this._io.readBitsInt(12);
- this.trxvurxPowerAmplifierCurrent = this._io.readBitsInt(12);
- this.trxvurxPowerAmplifierTemperature = this._io.readBitsInt(12);
- this.trxvurxLocalOscillatorTemperature = this._io.readBitsInt(12);
- this._io.alignToByte();
- this.imtqSystemStateMode = this._io.readU1();
- this.measureCoilXCurrent = this._io.readU2be();
- this.measureCoilYCurrent = this._io.readU2be();
- this.measureCoilZCurrent = this._io.readU2be();
- this.measureCoilXTemperature = this._io.readU2be();
- this.measureCoilYTemperature = this._io.readU2be();
- this.measureCoilZTemperature = this._io.readU2be();
- this.mcuTemperature = this._io.readU2be();
- this.sideAAntsTemperature = this._io.readU2be();
- this.sideAAntsDeploymentStatus = this._io.readU2be();
- this.voltBrdSupRaw = this._io.readU2be();
- this.tempRaw = this._io.readU2be();
- this.vDistInputRaw = this._io.readU2be();
- this.iDistInputRaw = this._io.readU2be();
- this.pDistInputRaw = this._io.readU2be();
- this.vBattInputRaw = this._io.readU2be();
- this.iBattInputRaw = this._io.readU2be();
- this.pBattInputRaw = this._io.readU2be();
- this.statObcOn = this._io.readU2be();
- this.statObcOcf = this._io.readU2be();
- this.batStat = this._io.readU2be();
- this.batTemp2Raw = this._io.readU2be();
- this.voltVd0 = this._io.readU2be();
- this.voltVd1 = this._io.readU2be();
- this.voltVd2 = this._io.readU2be();
- this.vObc00 = this._io.readU2be();
- this.iObc00 = this._io.readU2be();
- this.pObc00 = this._io.readU2be();
- this.vObc01 = this._io.readU2be();
- this.iObc01 = this._io.readU2be();
- this.pObc01 = this._io.readU2be();
- this.vObc02 = this._io.readU2be();
- this.iObc02 = this._io.readU2be();
- this.pObc02 = this._io.readU2be();
- this.vObc03 = this._io.readU2be();
- this.iObc03 = this._io.readU2be();
- this.pObc03 = this._io.readU2be();
- this.vObc05 = this._io.readU2be();
- this.iObc05 = this._io.readU2be();
- this.pObc05 = this._io.readU2be();
- this.vObc06 = this._io.readU2be();
- this.iObc06 = this._io.readU2be();
- this.pObc06 = this._io.readU2be();
- this.statusStid = this._io.readU1();
- this.statusIvid = this._io.readU1();
- this.statusRc = this._io.readU1();
- this.statusBid = this._io.readU1();
- this.statusCmderr = this._io.readBitsInt(4);
- this.statusStat = this._io.readBitsInt(4);
- this._io.alignToByte();
- this.mode = this._io.readU1();
- this.conf = this._io.readU1();
- this.resetCause = this._io.readU1();
- this.uptime = this._io.readU4be();
- this.error = this._io.readU2be();
- this.rcCntPwron = this._io.readU2be();
- this.rcCntWdg = this._io.readU2be();
- this.rcCntCmd = this._io.readU2be();
- this.rcCntMcu = this._io.readU2be();
- this.rcCntEmlopo = this._io.readU2be();
- this.prevcmdElapsed = this._io.readU2be();
- this.photodiode1 = this._io.readU2be();
- this.photodiode2 = this._io.readU2be();
- this.photodiode3 = this._io.readU2be();
- this.photodiode4 = this._io.readU2be();
- this.photodiode5 = this._io.readU2be();
- this.photodiode6 = this._io.readU2be();
- this.panelTemperature1 = this._io.readS4be();
- this.panelTemperature2 = this._io.readS4be();
- this.panelTemperature3 = this._io.readS4be();
- this.panelTemperature4 = this._io.readS4be();
- this.panelTemperature5 = this._io.readS4be();
- this.panelTemperature6 = this._io.readS4be();
- }
- private Double measureCoilYTemperatureC;
- public Double measureCoilYTemperatureC() {
- if (this.measureCoilYTemperatureC != null)
- return this.measureCoilYTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
- this.measureCoilYTemperatureC = _tmp;
- return this.measureCoilYTemperatureC;
- }
- private Integer rcCntPwronRaw;
- public Integer rcCntPwronRaw() {
- if (this.rcCntPwronRaw != null)
- return this.rcCntPwronRaw;
- int _tmp = (int) (rcCntPwron());
- this.rcCntPwronRaw = _tmp;
- return this.rcCntPwronRaw;
- }
- private Integer deployAntennasSystemRaw;
-
- /**
- * : value
- * Nominal = 0
- * No deploy = 0x11
- * Deployment Debug = 0xDB
- */
- public Integer deployAntennasSystemRaw() {
- if (this.deployAntennasSystemRaw != null)
- return this.deployAntennasSystemRaw;
- int _tmp = (int) (deployAntennasSystem());
- this.deployAntennasSystemRaw = _tmp;
- return this.deployAntennasSystemRaw;
- }
- private Double vDistInputRawV;
- public Double vDistInputRawV() {
- if (this.vDistInputRawV != null)
- return this.vDistInputRawV;
- double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
- this.vDistInputRawV = _tmp;
- return this.vDistInputRawV;
- }
- private Double iObc05Ma;
- public Double iObc05Ma() {
- if (this.iObc05Ma != null)
- return this.iObc05Ma;
- double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
- this.iObc05Ma = _tmp;
- return this.iObc05Ma;
- }
- private Double trxvutxTotalSupplyCurrentMa;
- public Double trxvutxTotalSupplyCurrentMa() {
- if (this.trxvutxTotalSupplyCurrentMa != null)
- return this.trxvutxTotalSupplyCurrentMa;
- double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
- this.trxvutxTotalSupplyCurrentMa = _tmp;
- return this.trxvutxTotalSupplyCurrentMa;
- }
- private Integer lastResetReasonRaw;
-
- /**
- * : last reset value
- * First start = 0
- * TC Init received = 0x80
- * No TC since 4 days = 0x81
- * Unknown reason = 0x81
- */
- public Integer lastResetReasonRaw() {
- if (this.lastResetReasonRaw != null)
- return this.lastResetReasonRaw;
- int _tmp = (int) (lastResetReason());
- this.lastResetReasonRaw = _tmp;
- return this.lastResetReasonRaw;
- }
- private Double trxvutxPowerAmplifierCurrentMa;
- public Double trxvutxPowerAmplifierCurrentMa() {
- if (this.trxvutxPowerAmplifierCurrentMa != null)
- return this.trxvutxPowerAmplifierCurrentMa;
- double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
- this.trxvutxPowerAmplifierCurrentMa = _tmp;
- return this.trxvutxPowerAmplifierCurrentMa;
- }
- private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
- public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
- if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
- return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
- double _tmp = (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
- this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
- return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
- }
- private Double pObc05Mw;
- public Double pObc05Mw() {
- if (this.pObc05Mw != null)
- return this.pObc05Mw;
- double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
- this.pObc05Mw = _tmp;
- return this.pObc05Mw;
- }
- private Integer statObcOnRaw;
-
- /**
- * bit n = 1 indicates the channel n is ON 9 firsts bits used
- */
- public Integer statObcOnRaw() {
- if (this.statObcOnRaw != null)
- return this.statObcOnRaw;
- int _tmp = (int) (statObcOn());
- this.statObcOnRaw = _tmp;
- return this.statObcOnRaw;
- }
- private Double panelTemperature6C;
- public Double panelTemperature6C() {
- if (this.panelTemperature6C != null)
- return this.panelTemperature6C;
- double _tmp = (double) ((panelTemperature6() / 1024.0));
- this.panelTemperature6C = _tmp;
- return this.panelTemperature6C;
- }
- private Long statusStatRaw;
- public Long statusStatRaw() {
- if (this.statusStatRaw != null)
- return this.statusStatRaw;
- long _tmp = (long) (statusStat());
- this.statusStatRaw = _tmp;
- return this.statusStatRaw;
- }
- private Double pObc00Mw;
- public Double pObc00Mw() {
- if (this.pObc00Mw != null)
- return this.pObc00Mw;
- double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
- this.pObc00Mw = _tmp;
- return this.pObc00Mw;
- }
- private Double trxvurxInstantaneousReceivedSignalDopplerHz;
- public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
- if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
- return this.trxvurxInstantaneousReceivedSignalDopplerHz;
- double _tmp = (double) (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552) - 22300));
- this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
- return this.trxvurxInstantaneousReceivedSignalDopplerHz;
- }
- private Double vObc02V;
- public Double vObc02V() {
- if (this.vObc02V != null)
- return this.vObc02V;
- double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
- this.vObc02V = _tmp;
- return this.vObc02V;
- }
- private Integer nbResetRaw;
- public Integer nbResetRaw() {
- if (this.nbResetRaw != null)
- return this.nbResetRaw;
- int _tmp = (int) (nbReset());
- this.nbResetRaw = _tmp;
- return this.nbResetRaw;
- }
- private Double trxvurxSupplyVoltageV;
- public Double trxvurxSupplyVoltageV() {
- if (this.trxvurxSupplyVoltageV != null)
- return this.trxvurxSupplyVoltageV;
- double _tmp = (double) ((0.00488 * trxvurxSupplyVoltage()));
- this.trxvurxSupplyVoltageV = _tmp;
- return this.trxvurxSupplyVoltageV;
- }
- private Double pObc06Mw;
- public Double pObc06Mw() {
- if (this.pObc06Mw != null)
- return this.pObc06Mw;
- double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
- this.pObc06Mw = _tmp;
- return this.pObc06Mw;
- }
- private Integer modeRaw;
-
- /**
- * value :
- * 0 = Startup
- * 1 = Nominal
- * 2 = Safety
- * 3 = Emergency low power 8
- */
- public Integer modeRaw() {
- if (this.modeRaw != null)
- return this.modeRaw;
- int _tmp = (int) (mode());
- this.modeRaw = _tmp;
- return this.modeRaw;
- }
- private Double trxvurxLocalOscillatorTemperatureC;
- public Double trxvurxLocalOscillatorTemperatureC() {
- if (this.trxvurxLocalOscillatorTemperatureC != null)
- return this.trxvurxLocalOscillatorTemperatureC;
- double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
- this.trxvurxLocalOscillatorTemperatureC = _tmp;
- return this.trxvurxLocalOscillatorTemperatureC;
- }
- private Long statusCmderrRaw;
- public Long statusCmderrRaw() {
- if (this.statusCmderrRaw != null)
- return this.statusCmderrRaw;
- long _tmp = (long) (statusCmderr());
- this.statusCmderrRaw = _tmp;
- return this.statusCmderrRaw;
- }
- private Integer photodiode1Raw;
- public Integer photodiode1Raw() {
- if (this.photodiode1Raw != null)
- return this.photodiode1Raw;
- int _tmp = (int) (photodiode1());
- this.photodiode1Raw = _tmp;
- return this.photodiode1Raw;
- }
- private Double pObc01Mw;
- public Double pObc01Mw() {
- if (this.pObc01Mw != null)
- return this.pObc01Mw;
- double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
- this.pObc01Mw = _tmp;
- return this.pObc01Mw;
- }
- private Integer photodiode5Raw;
- public Integer photodiode5Raw() {
- if (this.photodiode5Raw != null)
- return this.photodiode5Raw;
- int _tmp = (int) (photodiode5());
- this.photodiode5Raw = _tmp;
- return this.photodiode5Raw;
- }
- private Double trxvurxTransmitterCurrentMa;
- public Double trxvurxTransmitterCurrentMa() {
- if (this.trxvurxTransmitterCurrentMa != null)
- return this.trxvurxTransmitterCurrentMa;
- double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
- this.trxvurxTransmitterCurrentMa = _tmp;
- return this.trxvurxTransmitterCurrentMa;
- }
- private Integer rcCntCmdRaw;
- public Integer rcCntCmdRaw() {
- if (this.rcCntCmdRaw != null)
- return this.rcCntCmdRaw;
- int _tmp = (int) (rcCntCmd());
- this.rcCntCmdRaw = _tmp;
- return this.rcCntCmdRaw;
- }
- private Integer imtqSystemStateModeRaw;
-
- /**
- * value :
- * IDLE = 0
- * SELFTEST = 1
- * DETUMBLE = 2
- */
- public Integer imtqSystemStateModeRaw() {
- if (this.imtqSystemStateModeRaw != null)
- return this.imtqSystemStateModeRaw;
- int _tmp = (int) (imtqSystemStateMode());
- this.imtqSystemStateModeRaw = _tmp;
- return this.imtqSystemStateModeRaw;
- }
- private Integer statObcOcfRaw;
-
- /**
- * bit n = 1 indicates a overcurrent on the channel n 9 firsts bits used
- */
- public Integer statObcOcfRaw() {
- if (this.statObcOcfRaw != null)
- return this.statObcOcfRaw;
- int _tmp = (int) (statObcOcf());
- this.statObcOcfRaw = _tmp;
- return this.statObcOcfRaw;
- }
- private Double measureCoilZCurrentMa;
- public Double measureCoilZCurrentMa() {
- if (this.measureCoilZCurrentMa != null)
- return this.measureCoilZCurrentMa;
- double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
- this.measureCoilZCurrentMa = _tmp;
- return this.measureCoilZCurrentMa;
- }
- private Integer voltVd2Raw;
- public Integer voltVd2Raw() {
- if (this.voltVd2Raw != null)
- return this.voltVd2Raw;
- int _tmp = (int) (voltVd2());
- this.voltVd2Raw = _tmp;
- return this.voltVd2Raw;
- }
- private Long uptimeRaw;
- public Long uptimeRaw() {
- if (this.uptimeRaw != null)
- return this.uptimeRaw;
- long _tmp = (long) (uptime());
- this.uptimeRaw = _tmp;
- return this.uptimeRaw;
- }
- private Double voltBrdSupRawV;
- public Double voltBrdSupRawV() {
- if (this.voltBrdSupRawV != null)
- return this.voltBrdSupRawV;
- double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
- this.voltBrdSupRawV = _tmp;
- return this.voltBrdSupRawV;
- }
- private Double measureCoilZTemperatureC;
- public Double measureCoilZTemperatureC() {
- if (this.measureCoilZTemperatureC != null)
- return this.measureCoilZTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
- this.measureCoilZTemperatureC = _tmp;
- return this.measureCoilZTemperatureC;
- }
- private Double iObc00Ma;
- public Double iObc00Ma() {
- if (this.iObc00Ma != null)
- return this.iObc00Ma;
- double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
- this.iObc00Ma = _tmp;
- return this.iObc00Ma;
- }
- private Integer rcCntWdgRaw;
- public Integer rcCntWdgRaw() {
- if (this.rcCntWdgRaw != null)
- return this.rcCntWdgRaw;
- int _tmp = (int) (rcCntWdg());
- this.rcCntWdgRaw = _tmp;
- return this.rcCntWdgRaw;
- }
- private Double pDistInputRawMw;
- public Double pDistInputRawMw() {
- if (this.pDistInputRawMw != null)
- return this.pDistInputRawMw;
- double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
- this.pDistInputRawMw = _tmp;
- return this.pDistInputRawMw;
- }
- private Double measureCoilXCurrentMa;
- public Double measureCoilXCurrentMa() {
- if (this.measureCoilXCurrentMa != null)
- return this.measureCoilXCurrentMa;
- double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
- this.measureCoilXCurrentMa = _tmp;
- return this.measureCoilXCurrentMa;
- }
- private Integer batStatRaw;
- public Integer batStatRaw() {
- if (this.batStatRaw != null)
- return this.batStatRaw;
- int _tmp = (int) (batStat());
- this.batStatRaw = _tmp;
- return this.batStatRaw;
- }
- private Integer resetOrderRaw;
-
- /**
- * Order by TC = 0xCA
- * No order = 0
- */
- public Integer resetOrderRaw() {
- if (this.resetOrderRaw != null)
- return this.resetOrderRaw;
- int _tmp = (int) (resetOrder());
- this.resetOrderRaw = _tmp;
- return this.resetOrderRaw;
- }
- private Double trxvutxSupplyVoltageV;
- public Double trxvutxSupplyVoltageV() {
- if (this.trxvutxSupplyVoltageV != null)
- return this.trxvutxSupplyVoltageV;
- double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
- this.trxvutxSupplyVoltageV = _tmp;
- return this.trxvutxSupplyVoltageV;
- }
- private Double vObc06V;
- public Double vObc06V() {
- if (this.vObc06V != null)
- return this.vObc06V;
- double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
- this.vObc06V = _tmp;
- return this.vObc06V;
- }
- private Double iObc03Ma;
- public Double iObc03Ma() {
- if (this.iObc03Ma != null)
- return this.iObc03Ma;
- double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
- this.iObc03Ma = _tmp;
- return this.iObc03Ma;
- }
- private Double vObc03V;
- public Double vObc03V() {
- if (this.vObc03V != null)
- return this.vObc03V;
- double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
- this.vObc03V = _tmp;
- return this.vObc03V;
- }
- private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
- public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
- if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
- return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
- double _tmp = (double) (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort()) * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort()) * 5.887) * 0.00001));
- this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
- return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
- }
- private Long nbTmSinceFirstStartRaw;
- public Long nbTmSinceFirstStartRaw() {
- if (this.nbTmSinceFirstStartRaw != null)
- return this.nbTmSinceFirstStartRaw;
- long _tmp = (long) (nbTmSinceFirstStart());
- this.nbTmSinceFirstStartRaw = _tmp;
- return this.nbTmSinceFirstStartRaw;
- }
- private Double iBattInputRawMa;
- public Double iBattInputRawMa() {
- if (this.iBattInputRawMa != null)
- return this.iBattInputRawMa;
- double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
- this.iBattInputRawMa = _tmp;
- return this.iBattInputRawMa;
- }
- private Double panelTemperature3C;
- public Double panelTemperature3C() {
- if (this.panelTemperature3C != null)
- return this.panelTemperature3C;
- double _tmp = (double) ((panelTemperature3() / 1024.0));
- this.panelTemperature3C = _tmp;
- return this.panelTemperature3C;
- }
- private Double trxvutxLocalOscillatorTemperatureC;
- public Double trxvutxLocalOscillatorTemperatureC() {
- if (this.trxvutxLocalOscillatorTemperatureC != null)
- return this.trxvutxLocalOscillatorTemperatureC;
- double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
- this.trxvutxLocalOscillatorTemperatureC = _tmp;
- return this.trxvutxLocalOscillatorTemperatureC;
- }
- private Integer photodiode2Raw;
- public Integer photodiode2Raw() {
- if (this.photodiode2Raw != null)
- return this.photodiode2Raw;
- int _tmp = (int) (photodiode2());
- this.photodiode2Raw = _tmp;
- return this.photodiode2Raw;
- }
- private Double iObc02Ma;
- public Double iObc02Ma() {
- if (this.iObc02Ma != null)
- return this.iObc02Ma;
- double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
- this.iObc02Ma = _tmp;
- return this.iObc02Ma;
- }
- private Integer statusStidRaw;
- public Integer statusStidRaw() {
- if (this.statusStidRaw != null)
- return this.statusStidRaw;
- int _tmp = (int) (statusStid());
- this.statusStidRaw = _tmp;
- return this.statusStidRaw;
- }
- private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
- public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
- if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
- return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
- double _tmp = (double) (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort()) * trxvutxInstantaneousRfForwardPowerFromTransmitterPort()) * 5.887) * 0.00001));
- this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
- return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
- }
- private Integer photodiode6Raw;
- public Integer photodiode6Raw() {
- if (this.photodiode6Raw != null)
- return this.photodiode6Raw;
- int _tmp = (int) (photodiode6());
- this.photodiode6Raw = _tmp;
- return this.photodiode6Raw;
- }
- private Double iObc06Ma;
- public Double iObc06Ma() {
- if (this.iObc06Ma != null)
- return this.iObc06Ma;
- double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
- this.iObc06Ma = _tmp;
- return this.iObc06Ma;
- }
- private Integer statusRcRaw;
- public Integer statusRcRaw() {
- if (this.statusRcRaw != null)
- return this.statusRcRaw;
- int _tmp = (int) (statusRc());
- this.statusRcRaw = _tmp;
- return this.statusRcRaw;
- }
- private Integer errorRaw;
- public Integer errorRaw() {
- if (this.errorRaw != null)
- return this.errorRaw;
- int _tmp = (int) (error());
- this.errorRaw = _tmp;
- return this.errorRaw;
- }
- private Double iDistInputRawMa;
- public Double iDistInputRawMa() {
- if (this.iDistInputRawMa != null)
- return this.iDistInputRawMa;
- double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
- this.iDistInputRawMa = _tmp;
- return this.iDistInputRawMa;
- }
- private Integer photodiode4Raw;
- public Integer photodiode4Raw() {
- if (this.photodiode4Raw != null)
- return this.photodiode4Raw;
- int _tmp = (int) (photodiode4());
- this.photodiode4Raw = _tmp;
- return this.photodiode4Raw;
- }
- private Double measureCoilYCurrentMa;
- public Double measureCoilYCurrentMa() {
- if (this.measureCoilYCurrentMa != null)
- return this.measureCoilYCurrentMa;
- double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
- this.measureCoilYCurrentMa = _tmp;
- return this.measureCoilYCurrentMa;
- }
- private Double vObc01V;
- public Double vObc01V() {
- if (this.vObc01V != null)
- return this.vObc01V;
- double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
- this.vObc01V = _tmp;
- return this.vObc01V;
- }
- private Double pBattInputRawMw;
- public Double pBattInputRawMw() {
- if (this.pBattInputRawMw != null)
- return this.pBattInputRawMw;
- double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
- this.pBattInputRawMw = _tmp;
- return this.pBattInputRawMw;
- }
- private Double iObc01Ma;
- public Double iObc01Ma() {
- if (this.iObc01Ma != null)
- return this.iObc01Ma;
- double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
- this.iObc01Ma = _tmp;
- return this.iObc01Ma;
- }
- private Long nbTmInSdcardRaw;
- public Long nbTmInSdcardRaw() {
- if (this.nbTmInSdcardRaw != null)
- return this.nbTmInSdcardRaw;
- long _tmp = (long) (nbTmInSdcard());
- this.nbTmInSdcardRaw = _tmp;
- return this.nbTmInSdcardRaw;
- }
- private Double tempRawT;
- public Double tempRawT() {
- if (this.tempRawT != null)
- return this.tempRawT;
- double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
- this.tempRawT = _tmp;
- return this.tempRawT;
- }
- private Double panelTemperature4C;
- public Double panelTemperature4C() {
- if (this.panelTemperature4C != null)
- return this.panelTemperature4C;
- double _tmp = (double) ((panelTemperature4() / 1024.0));
- this.panelTemperature4C = _tmp;
- return this.panelTemperature4C;
- }
- private Integer photodiode3Raw;
- public Integer photodiode3Raw() {
- if (this.photodiode3Raw != null)
- return this.photodiode3Raw;
- int _tmp = (int) (photodiode3());
- this.photodiode3Raw = _tmp;
- return this.photodiode3Raw;
- }
- private Double trxvutxReceiverCurrentMa;
- public Double trxvutxReceiverCurrentMa() {
- if (this.trxvutxReceiverCurrentMa != null)
- return this.trxvutxReceiverCurrentMa;
- double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
- this.trxvutxReceiverCurrentMa = _tmp;
- return this.trxvutxReceiverCurrentMa;
- }
- private Integer rcCntEmlopoRaw;
- public Integer rcCntEmlopoRaw() {
- if (this.rcCntEmlopoRaw != null)
- return this.rcCntEmlopoRaw;
- int _tmp = (int) (rcCntEmlopo());
- this.rcCntEmlopoRaw = _tmp;
- return this.rcCntEmlopoRaw;
- }
- private Integer rcCntMcuRaw;
- public Integer rcCntMcuRaw() {
- if (this.rcCntMcuRaw != null)
- return this.rcCntMcuRaw;
- int _tmp = (int) (rcCntMcu());
- this.rcCntMcuRaw = _tmp;
- return this.rcCntMcuRaw;
- }
- private Integer statusBidRaw;
- public Integer statusBidRaw() {
- if (this.statusBidRaw != null)
- return this.statusBidRaw;
- int _tmp = (int) (statusBid());
- this.statusBidRaw = _tmp;
- return this.statusBidRaw;
- }
- private Integer statusIvidRaw;
- public Integer statusIvidRaw() {
- if (this.statusIvidRaw != null)
- return this.statusIvidRaw;
- int _tmp = (int) (statusIvid());
- this.statusIvidRaw = _tmp;
- return this.statusIvidRaw;
- }
- private Double panelTemperature1C;
- public Double panelTemperature1C() {
- if (this.panelTemperature1C != null)
- return this.panelTemperature1C;
- double _tmp = (double) ((panelTemperature1() / 1024.0));
- this.panelTemperature1C = _tmp;
- return this.panelTemperature1C;
- }
- private Double pObc03Mw;
- public Double pObc03Mw() {
- if (this.pObc03Mw != null)
- return this.pObc03Mw;
- double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
- this.pObc03Mw = _tmp;
- return this.pObc03Mw;
- }
- private Integer voltVd1Raw;
- public Integer voltVd1Raw() {
- if (this.voltVd1Raw != null)
- return this.voltVd1Raw;
- int _tmp = (int) (voltVd1());
- this.voltVd1Raw = _tmp;
- return this.voltVd1Raw;
- }
- private Double trxvurxPowerAmplifierCurrentMa;
- public Double trxvurxPowerAmplifierCurrentMa() {
- if (this.trxvurxPowerAmplifierCurrentMa != null)
- return this.trxvurxPowerAmplifierCurrentMa;
- double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
- this.trxvurxPowerAmplifierCurrentMa = _tmp;
- return this.trxvurxPowerAmplifierCurrentMa;
- }
- private Double trxvurxTotalSupplyCurrentMa;
- public Double trxvurxTotalSupplyCurrentMa() {
- if (this.trxvurxTotalSupplyCurrentMa != null)
- return this.trxvurxTotalSupplyCurrentMa;
- double _tmp = (double) ((0.16643964 * trxvurxTotalSupplyCurrent()));
- this.trxvurxTotalSupplyCurrentMa = _tmp;
- return this.trxvurxTotalSupplyCurrentMa;
- }
- private Double vObc05V;
- public Double vObc05V() {
- if (this.vObc05V != null)
- return this.vObc05V;
- double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
- this.vObc05V = _tmp;
- return this.vObc05V;
- }
- private Double trxvutxPowerAmplifierTemperatureC;
- public Double trxvutxPowerAmplifierTemperatureC() {
- if (this.trxvutxPowerAmplifierTemperatureC != null)
- return this.trxvutxPowerAmplifierTemperatureC;
- double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
- this.trxvutxPowerAmplifierTemperatureC = _tmp;
- return this.trxvutxPowerAmplifierTemperatureC;
- }
- private Long nbTcSinceFirstStartRaw;
- public Long nbTcSinceFirstStartRaw() {
- if (this.nbTcSinceFirstStartRaw != null)
- return this.nbTcSinceFirstStartRaw;
- long _tmp = (long) (nbTcSinceFirstStart());
- this.nbTcSinceFirstStartRaw = _tmp;
- return this.nbTcSinceFirstStartRaw;
- }
- private Double trxvutxTransmitterCurrentMa;
- public Double trxvutxTransmitterCurrentMa() {
- if (this.trxvutxTransmitterCurrentMa != null)
- return this.trxvutxTransmitterCurrentMa;
- double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
- this.trxvutxTransmitterCurrentMa = _tmp;
- return this.trxvutxTransmitterCurrentMa;
- }
- private Double mcuTemperatureC;
- public Double mcuTemperatureC() {
- if (this.mcuTemperatureC != null)
- return this.mcuTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
- this.mcuTemperatureC = _tmp;
- return this.mcuTemperatureC;
- }
- private Double vObc00V;
- public Double vObc00V() {
- if (this.vObc00V != null)
- return this.vObc00V;
- double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
- this.vObc00V = _tmp;
- return this.vObc00V;
- }
- private Long nbTcPingSinceFirstStartRaw;
- public Long nbTcPingSinceFirstStartRaw() {
- if (this.nbTcPingSinceFirstStartRaw != null)
- return this.nbTcPingSinceFirstStartRaw;
- long _tmp = (long) (nbTcPingSinceFirstStart());
- this.nbTcPingSinceFirstStartRaw = _tmp;
- return this.nbTcPingSinceFirstStartRaw;
- }
- private Integer voltVd0Raw;
- public Integer voltVd0Raw() {
- if (this.voltVd0Raw != null)
- return this.voltVd0Raw;
- int _tmp = (int) (voltVd0());
- this.voltVd0Raw = _tmp;
- return this.voltVd0Raw;
- }
- private Double batTemp2RawT;
- public Double batTemp2RawT() {
- if (this.batTemp2RawT != null)
- return this.batTemp2RawT;
- double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
- this.batTemp2RawT = _tmp;
- return this.batTemp2RawT;
- }
- private Double vBattInputRawV;
- public Double vBattInputRawV() {
- if (this.vBattInputRawV != null)
- return this.vBattInputRawV;
- double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
- this.vBattInputRawV = _tmp;
- return this.vBattInputRawV;
- }
- private Double trxvurxPowerAmplifierTemperatureC;
- public Double trxvurxPowerAmplifierTemperatureC() {
- if (this.trxvurxPowerAmplifierTemperatureC != null)
- return this.trxvurxPowerAmplifierTemperatureC;
- double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
- this.trxvurxPowerAmplifierTemperatureC = _tmp;
- return this.trxvurxPowerAmplifierTemperatureC;
- }
- private Integer resetCauseRaw;
-
- /**
- * value :
- * 0 = Power-on; system returned from an unpowered state (e.g. power cycle).
- * 1 = Watchdog; system was reset due to watchdog timeout, caused by a too-long delay between command interactions with the parent system.
- * 2 = Commanded; system was reset after having received a reset command.
- * 3 = Control system reset; an upset in the EPS control system caused a reset.
- * 4 = Emlopo; emergency low power mode was engaged because the input voltage dropped below the threshold.
- */
- public Integer resetCauseRaw() {
- if (this.resetCauseRaw != null)
- return this.resetCauseRaw;
- int _tmp = (int) (resetCause());
- this.resetCauseRaw = _tmp;
- return this.resetCauseRaw;
- }
- private Long nbBadTcSinceFirstStartRaw;
- public Long nbBadTcSinceFirstStartRaw() {
- if (this.nbBadTcSinceFirstStartRaw != null)
- return this.nbBadTcSinceFirstStartRaw;
- long _tmp = (long) (nbBadTcSinceFirstStart());
- this.nbBadTcSinceFirstStartRaw = _tmp;
- return this.nbBadTcSinceFirstStartRaw;
- }
- private Double pObc02Mw;
- public Double pObc02Mw() {
- if (this.pObc02Mw != null)
- return this.pObc02Mw;
- double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
- this.pObc02Mw = _tmp;
- return this.pObc02Mw;
- }
- private Integer swModeRaw;
-
- /**
- * : mode value
- * MODE_INIT = 0
- * MODE_DETUMBLING = 1
- * MODE_STANDBY = 2
- * MODE_OPERATIONAL = 3
- * MODE_SAFE = 4
- * MODE_TRANSPONDER = 5
- */
- public Integer swModeRaw() {
- if (this.swModeRaw != null)
- return this.swModeRaw;
- int _tmp = (int) (swMode());
- this.swModeRaw = _tmp;
- return this.swModeRaw;
- }
- private Integer sideAAntsTemperatureRaw;
- public Integer sideAAntsTemperatureRaw() {
- if (this.sideAAntsTemperatureRaw != null)
- return this.sideAAntsTemperatureRaw;
- int _tmp = (int) (sideAAntsTemperature());
- this.sideAAntsTemperatureRaw = _tmp;
- return this.sideAAntsTemperatureRaw;
- }
- private Double panelTemperature5C;
- public Double panelTemperature5C() {
- if (this.panelTemperature5C != null)
- return this.panelTemperature5C;
- double _tmp = (double) ((panelTemperature5() / 1024.0));
- this.panelTemperature5C = _tmp;
- return this.panelTemperature5C;
- }
- private Integer sideAAntsDeploymentStatusRaw;
- public Integer sideAAntsDeploymentStatusRaw() {
- if (this.sideAAntsDeploymentStatusRaw != null)
- return this.sideAAntsDeploymentStatusRaw;
- int _tmp = (int) (sideAAntsDeploymentStatus());
- this.sideAAntsDeploymentStatusRaw = _tmp;
- return this.sideAAntsDeploymentStatusRaw;
- }
- private Double measureCoilXTemperatureC;
- public Double measureCoilXTemperatureC() {
- if (this.measureCoilXTemperatureC != null)
- return this.measureCoilXTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
- this.measureCoilXTemperatureC = _tmp;
- return this.measureCoilXTemperatureC;
- }
- private Integer confRaw;
-
- /**
- * value :
- * 0 = Parameters have not been altered since the last load/save.
- * 1 = Parameters have been altered since the last load/save.
- */
- public Integer confRaw() {
- if (this.confRaw != null)
- return this.confRaw;
- int _tmp = (int) (conf());
- this.confRaw = _tmp;
- return this.confRaw;
- }
- private Integer formatSdcardOrderRaw;
-
- /**
- * Order to Format SdCard 0 = 0
- * Order to Format SdCard 1 = 1
- * Order to NOT Format SdCard 0 = 0xAC
- * Order to NOT Format SdCard 1 = 0xAD
- */
- public Integer formatSdcardOrderRaw() {
- if (this.formatSdcardOrderRaw != null)
- return this.formatSdcardOrderRaw;
- int _tmp = (int) (formatSdcardOrder());
- this.formatSdcardOrderRaw = _tmp;
- return this.formatSdcardOrderRaw;
- }
- private Double panelTemperature2C;
- public Double panelTemperature2C() {
- if (this.panelTemperature2C != null)
- return this.panelTemperature2C;
- double _tmp = (double) ((panelTemperature2() / 1024.0));
- this.panelTemperature2C = _tmp;
- return this.panelTemperature2C;
- }
- private Double trxvurxReceiverCurrentMa;
- public Double trxvurxReceiverCurrentMa() {
- if (this.trxvurxReceiverCurrentMa != null)
- return this.trxvurxReceiverCurrentMa;
- double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
- this.trxvurxReceiverCurrentMa = _tmp;
- return this.trxvurxReceiverCurrentMa;
- }
- private Integer prevcmdElapsedRaw;
- public Integer prevcmdElapsedRaw() {
- if (this.prevcmdElapsedRaw != null)
- return this.prevcmdElapsedRaw;
- int _tmp = (int) (prevcmdElapsed());
- this.prevcmdElapsedRaw = _tmp;
- return this.prevcmdElapsedRaw;
- }
- private int swMode;
- private int lastResetReason;
- private int resetOrder;
- private int nbReset;
- private int formatSdcardOrder;
- private int deployAntennasSystem;
- private long nbTmSinceFirstStart;
- private long nbTcSinceFirstStart;
- private long nbTcPingSinceFirstStart;
- private long nbBadTcSinceFirstStart;
- private long nbTmInSdcard;
- private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
- private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
- private long trxvutxSupplyVoltage;
- private long trxvutxTotalSupplyCurrent;
- private long trxvutxTransmitterCurrent;
- private long trxvutxReceiverCurrent;
- private long trxvutxPowerAmplifierCurrent;
- private long trxvutxPowerAmplifierTemperature;
- private long trxvutxLocalOscillatorTemperature;
- private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
- private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
- private long trxvurxSupplyVoltage;
- private long trxvurxTotalSupplyCurrent;
- private long trxvurxTransmitterCurrent;
- private long trxvurxReceiverCurrent;
- private long trxvurxPowerAmplifierCurrent;
- private long trxvurxPowerAmplifierTemperature;
- private long trxvurxLocalOscillatorTemperature;
- private int imtqSystemStateMode;
- private int measureCoilXCurrent;
- private int measureCoilYCurrent;
- private int measureCoilZCurrent;
- private int measureCoilXTemperature;
- private int measureCoilYTemperature;
- private int measureCoilZTemperature;
- private int mcuTemperature;
- private int sideAAntsTemperature;
- private int sideAAntsDeploymentStatus;
- private int voltBrdSupRaw;
- private int tempRaw;
- private int vDistInputRaw;
- private int iDistInputRaw;
- private int pDistInputRaw;
- private int vBattInputRaw;
- private int iBattInputRaw;
- private int pBattInputRaw;
- private int statObcOn;
- private int statObcOcf;
- private int batStat;
- private int batTemp2Raw;
- private int voltVd0;
- private int voltVd1;
- private int voltVd2;
- private int vObc00;
- private int iObc00;
- private int pObc00;
- private int vObc01;
- private int iObc01;
- private int pObc01;
- private int vObc02;
- private int iObc02;
- private int pObc02;
- private int vObc03;
- private int iObc03;
- private int pObc03;
- private int vObc05;
- private int iObc05;
- private int pObc05;
- private int vObc06;
- private int iObc06;
- private int pObc06;
- private int statusStid;
- private int statusIvid;
- private int statusRc;
- private int statusBid;
- private long statusCmderr;
- private long statusStat;
- private int mode;
- private int conf;
- private int resetCause;
- private long uptime;
- private int error;
- private int rcCntPwron;
- private int rcCntWdg;
- private int rcCntCmd;
- private int rcCntMcu;
- private int rcCntEmlopo;
- private int prevcmdElapsed;
- private int photodiode1;
- private int photodiode2;
- private int photodiode3;
- private int photodiode4;
- private int photodiode5;
- private int photodiode6;
- private int panelTemperature1;
- private int panelTemperature2;
- private int panelTemperature3;
- private int panelTemperature4;
- private int panelTemperature5;
- private int panelTemperature6;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public int swMode() { return swMode; }
- public int lastResetReason() { return lastResetReason; }
- public int resetOrder() { return resetOrder; }
- public int nbReset() { return nbReset; }
- public int formatSdcardOrder() { return formatSdcardOrder; }
- public int deployAntennasSystem() { return deployAntennasSystem; }
- public long nbTmSinceFirstStart() { return nbTmSinceFirstStart; }
- public long nbTcSinceFirstStart() { return nbTcSinceFirstStart; }
- public long nbTcPingSinceFirstStart() { return nbTcPingSinceFirstStart; }
- public long nbBadTcSinceFirstStart() { return nbBadTcSinceFirstStart; }
- public long nbTmInSdcard() { return nbTmInSdcard; }
- public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() { return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort; }
- public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() { return trxvutxInstantaneousRfForwardPowerFromTransmitterPort; }
- public long trxvutxSupplyVoltage() { return trxvutxSupplyVoltage; }
- public long trxvutxTotalSupplyCurrent() { return trxvutxTotalSupplyCurrent; }
- public long trxvutxTransmitterCurrent() { return trxvutxTransmitterCurrent; }
- public long trxvutxReceiverCurrent() { return trxvutxReceiverCurrent; }
- public long trxvutxPowerAmplifierCurrent() { return trxvutxPowerAmplifierCurrent; }
- public long trxvutxPowerAmplifierTemperature() { return trxvutxPowerAmplifierTemperature; }
- public long trxvutxLocalOscillatorTemperature() { return trxvutxLocalOscillatorTemperature; }
- public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() { return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort; }
- public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() { return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort; }
- public long trxvurxSupplyVoltage() { return trxvurxSupplyVoltage; }
- public long trxvurxTotalSupplyCurrent() { return trxvurxTotalSupplyCurrent; }
- public long trxvurxTransmitterCurrent() { return trxvurxTransmitterCurrent; }
- public long trxvurxReceiverCurrent() { return trxvurxReceiverCurrent; }
- public long trxvurxPowerAmplifierCurrent() { return trxvurxPowerAmplifierCurrent; }
- public long trxvurxPowerAmplifierTemperature() { return trxvurxPowerAmplifierTemperature; }
- public long trxvurxLocalOscillatorTemperature() { return trxvurxLocalOscillatorTemperature; }
- public int imtqSystemStateMode() { return imtqSystemStateMode; }
- public int measureCoilXCurrent() { return measureCoilXCurrent; }
- public int measureCoilYCurrent() { return measureCoilYCurrent; }
- public int measureCoilZCurrent() { return measureCoilZCurrent; }
- public int measureCoilXTemperature() { return measureCoilXTemperature; }
- public int measureCoilYTemperature() { return measureCoilYTemperature; }
- public int measureCoilZTemperature() { return measureCoilZTemperature; }
- public int mcuTemperature() { return mcuTemperature; }
- public int sideAAntsTemperature() { return sideAAntsTemperature; }
- public int sideAAntsDeploymentStatus() { return sideAAntsDeploymentStatus; }
- public int voltBrdSupRaw() { return voltBrdSupRaw; }
- public int tempRaw() { return tempRaw; }
- public int vDistInputRaw() { return vDistInputRaw; }
- public int iDistInputRaw() { return iDistInputRaw; }
- public int pDistInputRaw() { return pDistInputRaw; }
- public int vBattInputRaw() { return vBattInputRaw; }
- public int iBattInputRaw() { return iBattInputRaw; }
- public int pBattInputRaw() { return pBattInputRaw; }
- public int statObcOn() { return statObcOn; }
- public int statObcOcf() { return statObcOcf; }
- public int batStat() { return batStat; }
- public int batTemp2Raw() { return batTemp2Raw; }
- public int voltVd0() { return voltVd0; }
- public int voltVd1() { return voltVd1; }
- public int voltVd2() { return voltVd2; }
- public int vObc00() { return vObc00; }
- public int iObc00() { return iObc00; }
- public int pObc00() { return pObc00; }
- public int vObc01() { return vObc01; }
- public int iObc01() { return iObc01; }
- public int pObc01() { return pObc01; }
- public int vObc02() { return vObc02; }
- public int iObc02() { return iObc02; }
- public int pObc02() { return pObc02; }
- public int vObc03() { return vObc03; }
- public int iObc03() { return iObc03; }
- public int pObc03() { return pObc03; }
- public int vObc05() { return vObc05; }
- public int iObc05() { return iObc05; }
- public int pObc05() { return pObc05; }
- public int vObc06() { return vObc06; }
- public int iObc06() { return iObc06; }
- public int pObc06() { return pObc06; }
- public int statusStid() { return statusStid; }
- public int statusIvid() { return statusIvid; }
- public int statusRc() { return statusRc; }
- public int statusBid() { return statusBid; }
- public long statusCmderr() { return statusCmderr; }
- public long statusStat() { return statusStat; }
- public int mode() { return mode; }
- public int conf() { return conf; }
- public int resetCause() { return resetCause; }
- public long uptime() { return uptime; }
- public int error() { return error; }
- public int rcCntPwron() { return rcCntPwron; }
- public int rcCntWdg() { return rcCntWdg; }
- public int rcCntCmd() { return rcCntCmd; }
- public int rcCntMcu() { return rcCntMcu; }
- public int rcCntEmlopo() { return rcCntEmlopo; }
- public int prevcmdElapsed() { return prevcmdElapsed; }
- public int photodiode1() { return photodiode1; }
- public int photodiode2() { return photodiode2; }
- public int photodiode3() { return photodiode3; }
- public int photodiode4() { return photodiode4; }
- public int photodiode5() { return photodiode5; }
- public int photodiode6() { return photodiode6; }
- public int panelTemperature1() { return panelTemperature1; }
- public int panelTemperature2() { return panelTemperature2; }
- public int panelTemperature3() { return panelTemperature3; }
- public int panelTemperature4() { return panelTemperature4; }
- public int panelTemperature5() { return panelTemperature5; }
- public int panelTemperature6() { return panelTemperature6; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class ObcHk extends KaitaiStruct {
- public static ObcHk fromFile(String fileName) throws IOException {
- return new ObcHk(new ByteBufferKaitaiStream(fileName));
- }
-
- public ObcHk(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public ObcHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public ObcHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.dummy = this._io.readU1();
- this.spiCommandStatus = this._io.readU1();
- this.supervisorEnableStatus = this._io.readU1();
- this.supervisorUptime = this._io.readU4be();
- this.iobcUptime = this._io.readU4be();
- this.iobcResetCount = this._io.readU4be();
- this.iobcMeasureTemperature = this._io.readU2be();
- this.iobcMeasure3v3In = this._io.readU2be();
- this.iobcMeasure3v3 = this._io.readU2be();
- this.iobcMeasure2vReference = this._io.readU2be();
- this.iobcMeasure1v8 = this._io.readU2be();
- this.iobcMeasure1v0 = this._io.readU2be();
- this.iobcMeasureCurrent3v3 = this._io.readU2be();
- this.iobcMeasureCurrent1v8 = this._io.readU2be();
- this.iobcMeasureCurrent1v0 = this._io.readU2be();
- this.iobcMeasureVoltRtc = this._io.readU2be();
- this.iobcAdcUpdateFlag = this._io.readU1();
- this.iobcCrc8 = this._io.readU1();
- this.photodiode1 = this._io.readU2be();
- this.photodiode2 = this._io.readU2be();
- this.photodiode3 = this._io.readU2be();
- this.photodiode4 = this._io.readU2be();
- this.photodiode5 = this._io.readU2be();
- this.photodiode6 = this._io.readU2be();
- this.panelTemperature1 = this._io.readS4be();
- this.panelTemperature2 = this._io.readS4be();
- this.panelTemperature3 = this._io.readS4be();
- this.panelTemperature4 = this._io.readS4be();
- this.panelTemperature5 = this._io.readS4be();
- this.panelTemperature6 = this._io.readS4be();
- }
- private Double panelTemperature6C;
- public Double panelTemperature6C() {
- if (this.panelTemperature6C != null)
- return this.panelTemperature6C;
- double _tmp = (double) ((panelTemperature6() / 1024.0));
- this.panelTemperature6C = _tmp;
- return this.panelTemperature6C;
- }
- private Integer iobcMeasureTemperatureRaw;
- public Integer iobcMeasureTemperatureRaw() {
- if (this.iobcMeasureTemperatureRaw != null)
- return this.iobcMeasureTemperatureRaw;
- int _tmp = (int) (iobcMeasureTemperature());
- this.iobcMeasureTemperatureRaw = _tmp;
- return this.iobcMeasureTemperatureRaw;
- }
- private Long supervisorUptimeRaw;
- public Long supervisorUptimeRaw() {
- if (this.supervisorUptimeRaw != null)
- return this.supervisorUptimeRaw;
- long _tmp = (long) (supervisorUptime());
- this.supervisorUptimeRaw = _tmp;
- return this.supervisorUptimeRaw;
- }
- private Integer supervisorEnableStatusRaw;
- public Integer supervisorEnableStatusRaw() {
- if (this.supervisorEnableStatusRaw != null)
- return this.supervisorEnableStatusRaw;
- int _tmp = (int) (supervisorEnableStatus());
- this.supervisorEnableStatusRaw = _tmp;
- return this.supervisorEnableStatusRaw;
- }
- private Integer iobcMeasure3v3InRaw;
- public Integer iobcMeasure3v3InRaw() {
- if (this.iobcMeasure3v3InRaw != null)
- return this.iobcMeasure3v3InRaw;
- int _tmp = (int) (iobcMeasure3v3In());
- this.iobcMeasure3v3InRaw = _tmp;
- return this.iobcMeasure3v3InRaw;
- }
- private Integer photodiode2Raw;
- public Integer photodiode2Raw() {
- if (this.photodiode2Raw != null)
- return this.photodiode2Raw;
- int _tmp = (int) (photodiode2());
- this.photodiode2Raw = _tmp;
- return this.photodiode2Raw;
- }
- private Integer iobcMeasureCurrent1v0Raw;
- public Integer iobcMeasureCurrent1v0Raw() {
- if (this.iobcMeasureCurrent1v0Raw != null)
- return this.iobcMeasureCurrent1v0Raw;
- int _tmp = (int) (iobcMeasureCurrent1v0());
- this.iobcMeasureCurrent1v0Raw = _tmp;
- return this.iobcMeasureCurrent1v0Raw;
- }
- private Double panelTemperature3C;
- public Double panelTemperature3C() {
- if (this.panelTemperature3C != null)
- return this.panelTemperature3C;
- double _tmp = (double) ((panelTemperature3() / 1024.0));
- this.panelTemperature3C = _tmp;
- return this.panelTemperature3C;
- }
- private Integer dummyRaw;
- public Integer dummyRaw() {
- if (this.dummyRaw != null)
- return this.dummyRaw;
- int _tmp = (int) (dummy());
- this.dummyRaw = _tmp;
- return this.dummyRaw;
- }
- private Integer iobcMeasureVoltRtcRaw;
- public Integer iobcMeasureVoltRtcRaw() {
- if (this.iobcMeasureVoltRtcRaw != null)
- return this.iobcMeasureVoltRtcRaw;
- int _tmp = (int) (iobcMeasureVoltRtc());
- this.iobcMeasureVoltRtcRaw = _tmp;
- return this.iobcMeasureVoltRtcRaw;
- }
- private Integer iobcMeasure1v8Raw;
- public Integer iobcMeasure1v8Raw() {
- if (this.iobcMeasure1v8Raw != null)
- return this.iobcMeasure1v8Raw;
- int _tmp = (int) (iobcMeasure1v8());
- this.iobcMeasure1v8Raw = _tmp;
- return this.iobcMeasure1v8Raw;
- }
- private Integer iobcMeasure2vReferenceRaw;
- public Integer iobcMeasure2vReferenceRaw() {
- if (this.iobcMeasure2vReferenceRaw != null)
- return this.iobcMeasure2vReferenceRaw;
- int _tmp = (int) (iobcMeasure2vReference());
- this.iobcMeasure2vReferenceRaw = _tmp;
- return this.iobcMeasure2vReferenceRaw;
- }
- private Integer iobcMeasureCurrent1v8Raw;
- public Integer iobcMeasureCurrent1v8Raw() {
- if (this.iobcMeasureCurrent1v8Raw != null)
- return this.iobcMeasureCurrent1v8Raw;
- int _tmp = (int) (iobcMeasureCurrent1v8());
- this.iobcMeasureCurrent1v8Raw = _tmp;
- return this.iobcMeasureCurrent1v8Raw;
- }
- private Integer iobcMeasure3v3Raw;
- public Integer iobcMeasure3v3Raw() {
- if (this.iobcMeasure3v3Raw != null)
- return this.iobcMeasure3v3Raw;
- int _tmp = (int) (iobcMeasure3v3());
- this.iobcMeasure3v3Raw = _tmp;
- return this.iobcMeasure3v3Raw;
- }
- private Integer photodiode6Raw;
- public Integer photodiode6Raw() {
- if (this.photodiode6Raw != null)
- return this.photodiode6Raw;
- int _tmp = (int) (photodiode6());
- this.photodiode6Raw = _tmp;
- return this.photodiode6Raw;
- }
- private Double panelTemperature4C;
- public Double panelTemperature4C() {
- if (this.panelTemperature4C != null)
- return this.panelTemperature4C;
- double _tmp = (double) ((panelTemperature4() / 1024.0));
- this.panelTemperature4C = _tmp;
- return this.panelTemperature4C;
- }
- private Double panelTemperature1C;
- public Double panelTemperature1C() {
- if (this.panelTemperature1C != null)
- return this.panelTemperature1C;
- double _tmp = (double) ((panelTemperature1() / 1024.0));
- this.panelTemperature1C = _tmp;
- return this.panelTemperature1C;
- }
- private Integer iobcAdcUpdateFlagRaw;
- public Integer iobcAdcUpdateFlagRaw() {
- if (this.iobcAdcUpdateFlagRaw != null)
- return this.iobcAdcUpdateFlagRaw;
- int _tmp = (int) (iobcAdcUpdateFlag());
- this.iobcAdcUpdateFlagRaw = _tmp;
- return this.iobcAdcUpdateFlagRaw;
- }
- private Integer photodiode4Raw;
- public Integer photodiode4Raw() {
- if (this.photodiode4Raw != null)
- return this.photodiode4Raw;
- int _tmp = (int) (photodiode4());
- this.photodiode4Raw = _tmp;
- return this.photodiode4Raw;
- }
- private Long iobcResetCountRaw;
- public Long iobcResetCountRaw() {
- if (this.iobcResetCountRaw != null)
- return this.iobcResetCountRaw;
- long _tmp = (long) (iobcResetCount());
- this.iobcResetCountRaw = _tmp;
- return this.iobcResetCountRaw;
- }
- private Long iobcUptimeRaw;
- public Long iobcUptimeRaw() {
- if (this.iobcUptimeRaw != null)
- return this.iobcUptimeRaw;
- long _tmp = (long) (iobcUptime());
- this.iobcUptimeRaw = _tmp;
- return this.iobcUptimeRaw;
- }
- private Integer photodiode3Raw;
- public Integer photodiode3Raw() {
- if (this.photodiode3Raw != null)
- return this.photodiode3Raw;
- int _tmp = (int) (photodiode3());
- this.photodiode3Raw = _tmp;
- return this.photodiode3Raw;
- }
- private Integer photodiode5Raw;
- public Integer photodiode5Raw() {
- if (this.photodiode5Raw != null)
- return this.photodiode5Raw;
- int _tmp = (int) (photodiode5());
- this.photodiode5Raw = _tmp;
- return this.photodiode5Raw;
- }
- private Double panelTemperature5C;
- public Double panelTemperature5C() {
- if (this.panelTemperature5C != null)
- return this.panelTemperature5C;
- double _tmp = (double) ((panelTemperature5() / 1024.0));
- this.panelTemperature5C = _tmp;
- return this.panelTemperature5C;
- }
- private Integer iobcMeasure1v0Raw;
- public Integer iobcMeasure1v0Raw() {
- if (this.iobcMeasure1v0Raw != null)
- return this.iobcMeasure1v0Raw;
- int _tmp = (int) (iobcMeasure1v0());
- this.iobcMeasure1v0Raw = _tmp;
- return this.iobcMeasure1v0Raw;
- }
- private Integer iobcCrc8Raw;
- public Integer iobcCrc8Raw() {
- if (this.iobcCrc8Raw != null)
- return this.iobcCrc8Raw;
- int _tmp = (int) (iobcCrc8());
- this.iobcCrc8Raw = _tmp;
- return this.iobcCrc8Raw;
- }
- private Integer photodiode1Raw;
- public Integer photodiode1Raw() {
- if (this.photodiode1Raw != null)
- return this.photodiode1Raw;
- int _tmp = (int) (photodiode1());
- this.photodiode1Raw = _tmp;
- return this.photodiode1Raw;
- }
- private Integer spiCommandStatusRaw;
- public Integer spiCommandStatusRaw() {
- if (this.spiCommandStatusRaw != null)
- return this.spiCommandStatusRaw;
- int _tmp = (int) (spiCommandStatus());
- this.spiCommandStatusRaw = _tmp;
- return this.spiCommandStatusRaw;
- }
- private Integer iobcMeasureCurrent3v3Raw;
- public Integer iobcMeasureCurrent3v3Raw() {
- if (this.iobcMeasureCurrent3v3Raw != null)
- return this.iobcMeasureCurrent3v3Raw;
- int _tmp = (int) (iobcMeasureCurrent3v3());
- this.iobcMeasureCurrent3v3Raw = _tmp;
- return this.iobcMeasureCurrent3v3Raw;
- }
- private Double panelTemperature2C;
- public Double panelTemperature2C() {
- if (this.panelTemperature2C != null)
- return this.panelTemperature2C;
- double _tmp = (double) ((panelTemperature2() / 1024.0));
- this.panelTemperature2C = _tmp;
- return this.panelTemperature2C;
- }
- private int dummy;
- private int spiCommandStatus;
- private int supervisorEnableStatus;
- private long supervisorUptime;
- private long iobcUptime;
- private long iobcResetCount;
- private int iobcMeasureTemperature;
- private int iobcMeasure3v3In;
- private int iobcMeasure3v3;
- private int iobcMeasure2vReference;
- private int iobcMeasure1v8;
- private int iobcMeasure1v0;
- private int iobcMeasureCurrent3v3;
- private int iobcMeasureCurrent1v8;
- private int iobcMeasureCurrent1v0;
- private int iobcMeasureVoltRtc;
- private int iobcAdcUpdateFlag;
- private int iobcCrc8;
- private int photodiode1;
- private int photodiode2;
- private int photodiode3;
- private int photodiode4;
- private int photodiode5;
- private int photodiode6;
- private int panelTemperature1;
- private int panelTemperature2;
- private int panelTemperature3;
- private int panelTemperature4;
- private int panelTemperature5;
- private int panelTemperature6;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public int dummy() { return dummy; }
- public int spiCommandStatus() { return spiCommandStatus; }
- public int supervisorEnableStatus() { return supervisorEnableStatus; }
- public long supervisorUptime() { return supervisorUptime; }
- public long iobcUptime() { return iobcUptime; }
- public long iobcResetCount() { return iobcResetCount; }
- public int iobcMeasureTemperature() { return iobcMeasureTemperature; }
- public int iobcMeasure3v3In() { return iobcMeasure3v3In; }
- public int iobcMeasure3v3() { return iobcMeasure3v3; }
- public int iobcMeasure2vReference() { return iobcMeasure2vReference; }
- public int iobcMeasure1v8() { return iobcMeasure1v8; }
- public int iobcMeasure1v0() { return iobcMeasure1v0; }
- public int iobcMeasureCurrent3v3() { return iobcMeasureCurrent3v3; }
- public int iobcMeasureCurrent1v8() { return iobcMeasureCurrent1v8; }
- public int iobcMeasureCurrent1v0() { return iobcMeasureCurrent1v0; }
- public int iobcMeasureVoltRtc() { return iobcMeasureVoltRtc; }
- public int iobcAdcUpdateFlag() { return iobcAdcUpdateFlag; }
- public int iobcCrc8() { return iobcCrc8; }
- public int photodiode1() { return photodiode1; }
- public int photodiode2() { return photodiode2; }
- public int photodiode3() { return photodiode3; }
- public int photodiode4() { return photodiode4; }
- public int photodiode5() { return photodiode5; }
- public int photodiode6() { return photodiode6; }
- public int panelTemperature1() { return panelTemperature1; }
- public int panelTemperature2() { return panelTemperature2; }
- public int panelTemperature3() { return panelTemperature3; }
- public int panelTemperature4() { return panelTemperature4; }
- public int panelTemperature5() { return panelTemperature5; }
- public int panelTemperature6() { return panelTemperature6; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class ImtqHk extends KaitaiStruct {
- public static ImtqHk fromFile(String fileName) throws IOException {
- return new ImtqHk(new ByteBufferKaitaiStream(fileName));
- }
-
- public ImtqHk(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public ImtqHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public ImtqHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.digitaleVoltage = this._io.readU2be();
- this.analogVoltage = this._io.readU2be();
- this.digitalCurrent = this._io.readU2be();
- this.analogCurrent = this._io.readU2be();
- this.measureCoilXCurrent = this._io.readU2be();
- this.measureCoilYCurrent = this._io.readU2be();
- this.measureCoilZCurrent = this._io.readU2be();
- this.measureCoilXTemperature = this._io.readU2be();
- this.measureCoilYTemperature = this._io.readU2be();
- this.measureCoilZTemperature = this._io.readU2be();
- this.mcuTemperature = this._io.readU2be();
- this.imtqSystemStateMode = this._io.readU1();
- this.imtqSystemStateError = this._io.readU1();
- this.imtqSystemStateConfiguration = this._io.readU1();
- this.imtqSystemStateUptime = this._io.readU4be();
- }
- private Integer analogCurrentRaw;
- public Integer analogCurrentRaw() {
- if (this.analogCurrentRaw != null)
- return this.analogCurrentRaw;
- int _tmp = (int) (analogCurrent());
- this.analogCurrentRaw = _tmp;
- return this.analogCurrentRaw;
- }
- private Double measureCoilYTemperatureC;
- public Double measureCoilYTemperatureC() {
- if (this.measureCoilYTemperatureC != null)
- return this.measureCoilYTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
- this.measureCoilYTemperatureC = _tmp;
- return this.measureCoilYTemperatureC;
- }
- private Integer digitalCurrentRaw;
- public Integer digitalCurrentRaw() {
- if (this.digitalCurrentRaw != null)
- return this.digitalCurrentRaw;
- int _tmp = (int) (digitalCurrent());
- this.digitalCurrentRaw = _tmp;
- return this.digitalCurrentRaw;
- }
- private Integer imtqSystemStateModeRaw;
- public Integer imtqSystemStateModeRaw() {
- if (this.imtqSystemStateModeRaw != null)
- return this.imtqSystemStateModeRaw;
- int _tmp = (int) (imtqSystemStateMode());
- this.imtqSystemStateModeRaw = _tmp;
- return this.imtqSystemStateModeRaw;
- }
- private Double measureCoilZCurrentMa;
- public Double measureCoilZCurrentMa() {
- if (this.measureCoilZCurrentMa != null)
- return this.measureCoilZCurrentMa;
- double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
- this.measureCoilZCurrentMa = _tmp;
- return this.measureCoilZCurrentMa;
- }
- private Double measureCoilZTemperatureC;
- public Double measureCoilZTemperatureC() {
- if (this.measureCoilZTemperatureC != null)
- return this.measureCoilZTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
- this.measureCoilZTemperatureC = _tmp;
- return this.measureCoilZTemperatureC;
- }
- private Double measureCoilXCurrentMa;
- public Double measureCoilXCurrentMa() {
- if (this.measureCoilXCurrentMa != null)
- return this.measureCoilXCurrentMa;
- double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
- this.measureCoilXCurrentMa = _tmp;
- return this.measureCoilXCurrentMa;
- }
- private Double measureCoilYCurrentMa;
- public Double measureCoilYCurrentMa() {
- if (this.measureCoilYCurrentMa != null)
- return this.measureCoilYCurrentMa;
- double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
- this.measureCoilYCurrentMa = _tmp;
- return this.measureCoilYCurrentMa;
- }
- private Double digitaleVoltageV;
- public Double digitaleVoltageV() {
- if (this.digitaleVoltageV != null)
- return this.digitaleVoltageV;
- double _tmp = (double) (((2 * (2.5 / 4095)) * digitaleVoltage()));
- this.digitaleVoltageV = _tmp;
- return this.digitaleVoltageV;
- }
- private Double analogVoltageV;
- public Double analogVoltageV() {
- if (this.analogVoltageV != null)
- return this.analogVoltageV;
- double _tmp = (double) (((2 * (2.5 / 4095)) * analogVoltage()));
- this.analogVoltageV = _tmp;
- return this.analogVoltageV;
- }
- private Long imtqSystemStateUptimeRaw;
- public Long imtqSystemStateUptimeRaw() {
- if (this.imtqSystemStateUptimeRaw != null)
- return this.imtqSystemStateUptimeRaw;
- long _tmp = (long) (imtqSystemStateUptime());
- this.imtqSystemStateUptimeRaw = _tmp;
- return this.imtqSystemStateUptimeRaw;
- }
- private Double mcuTemperatureC;
- public Double mcuTemperatureC() {
- if (this.mcuTemperatureC != null)
- return this.mcuTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
- this.mcuTemperatureC = _tmp;
- return this.mcuTemperatureC;
- }
- private Integer imtqSystemStateConfigurationRaw;
- public Integer imtqSystemStateConfigurationRaw() {
- if (this.imtqSystemStateConfigurationRaw != null)
- return this.imtqSystemStateConfigurationRaw;
- int _tmp = (int) (imtqSystemStateConfiguration());
- this.imtqSystemStateConfigurationRaw = _tmp;
- return this.imtqSystemStateConfigurationRaw;
- }
- private Double measureCoilXTemperatureC;
- public Double measureCoilXTemperatureC() {
- if (this.measureCoilXTemperatureC != null)
- return this.measureCoilXTemperatureC;
- double _tmp = (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
- this.measureCoilXTemperatureC = _tmp;
- return this.measureCoilXTemperatureC;
- }
- private Integer imtqSystemStateErrorRaw;
- public Integer imtqSystemStateErrorRaw() {
- if (this.imtqSystemStateErrorRaw != null)
- return this.imtqSystemStateErrorRaw;
- int _tmp = (int) (imtqSystemStateError());
- this.imtqSystemStateErrorRaw = _tmp;
- return this.imtqSystemStateErrorRaw;
- }
- private int digitaleVoltage;
- private int analogVoltage;
- private int digitalCurrent;
- private int analogCurrent;
- private int measureCoilXCurrent;
- private int measureCoilYCurrent;
- private int measureCoilZCurrent;
- private int measureCoilXTemperature;
- private int measureCoilYTemperature;
- private int measureCoilZTemperature;
- private int mcuTemperature;
- private int imtqSystemStateMode;
- private int imtqSystemStateError;
- private int imtqSystemStateConfiguration;
- private long imtqSystemStateUptime;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public int digitaleVoltage() { return digitaleVoltage; }
- public int analogVoltage() { return analogVoltage; }
- public int digitalCurrent() { return digitalCurrent; }
- public int analogCurrent() { return analogCurrent; }
- public int measureCoilXCurrent() { return measureCoilXCurrent; }
- public int measureCoilYCurrent() { return measureCoilYCurrent; }
- public int measureCoilZCurrent() { return measureCoilZCurrent; }
- public int measureCoilXTemperature() { return measureCoilXTemperature; }
- public int measureCoilYTemperature() { return measureCoilYTemperature; }
- public int measureCoilZTemperature() { return measureCoilZTemperature; }
- public int mcuTemperature() { return mcuTemperature; }
- public int imtqSystemStateMode() { return imtqSystemStateMode; }
- public int imtqSystemStateError() { return imtqSystemStateError; }
- public int imtqSystemStateConfiguration() { return imtqSystemStateConfiguration; }
- public long imtqSystemStateUptime() { return imtqSystemStateUptime; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class PacketSecondaryHeader extends KaitaiStruct {
- public static PacketSecondaryHeader fromFile(String fileName) throws IOException {
- return new PacketSecondaryHeader(new ByteBufferKaitaiStream(fileName));
- }
-
- public PacketSecondaryHeader(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public PacketSecondaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public PacketSecondaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.tmPacketPusVersionNumber = this._io.readBitsInt(4);
- this.spacecraftTimeReferenceStatus = this._io.readBitsInt(4);
- this._io.alignToByte();
- this.serviceTypeId = this._io.readU1();
- this.messageSubtypeId = this._io.readU1();
- this.messageTypeCounter = this._io.readU2be();
- this.destinationId = this._io.readU2be();
- this.time = this._io.readU4be();
- this.dummy1 = this._io.readU2be();
- this.dummy2 = this._io.readU1();
- this.sid = this._io.readU1();
- }
- private long tmPacketPusVersionNumber;
- private long spacecraftTimeReferenceStatus;
- private int serviceTypeId;
- private int messageSubtypeId;
- private int messageTypeCounter;
- private int destinationId;
- private long time;
- private int dummy1;
- private int dummy2;
- private int sid;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public long tmPacketPusVersionNumber() { return tmPacketPusVersionNumber; }
- public long spacecraftTimeReferenceStatus() { return spacecraftTimeReferenceStatus; }
- public int serviceTypeId() { return serviceTypeId; }
- public int messageSubtypeId() { return messageSubtypeId; }
- public int messageTypeCounter() { return messageTypeCounter; }
- public int destinationId() { return destinationId; }
- public long time() { return time; }
- public int dummy1() { return dummy1; }
- public int dummy2() { return dummy2; }
- public int sid() { return sid; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class MsgOrUnknow extends KaitaiStruct {
- public static MsgOrUnknow fromFile(String fileName) throws IOException {
- return new MsgOrUnknow(new ByteBufferKaitaiStream(fileName));
- }
-
- public MsgOrUnknow(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public MsgOrUnknow(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public MsgOrUnknow(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.data = this._io.readBytesFull();
- }
- private byte[] dataByte;
- public byte[] dataByte() {
- if (this.dataByte != null)
- return this.dataByte;
- this.dataByte = data();
- return this.dataByte;
- }
- private byte[] data;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public byte[] data() { return data; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class CallsignRaw extends KaitaiStruct {
- public static CallsignRaw fromFile(String fileName) throws IOException {
- return new CallsignRaw(new ByteBufferKaitaiStream(fileName));
- }
-
- public CallsignRaw(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public CallsignRaw(KaitaiStream _io, Uvsqsat.Ax25Header _parent) {
- this(_io, _parent, null);
- }
-
- public CallsignRaw(KaitaiStream _io, Uvsqsat.Ax25Header _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this._raw__raw_callsignRor = this._io.readBytes(6);
- this._raw_callsignRor = KaitaiStream.processRotateLeft(this._raw__raw_callsignRor, 8 - (1), 1);
- KaitaiStream _io__raw_callsignRor = new ByteBufferKaitaiStream(_raw_callsignRor);
- this.callsignRor = new Callsign(_io__raw_callsignRor, this, _root);
- }
- private Callsign callsignRor;
- private Uvsqsat _root;
- private Uvsqsat.Ax25Header _parent;
- private byte[] _raw__raw_callsignRor;
- private byte[] _raw_callsignRor;
- public Callsign callsignRor() { return callsignRor; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.Ax25Header _parent() { return _parent; }
- public byte[] _raw__raw_callsignRor() { return _raw__raw_callsignRor; }
- public byte[] _raw_callsignRor() { return _raw_callsignRor; }
- }
- public static class IepsHkStatus extends KaitaiStruct {
- public static IepsHkStatus fromFile(String fileName) throws IOException {
- return new IepsHkStatus(new ByteBufferKaitaiStream(fileName));
- }
-
- public IepsHkStatus(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public IepsHkStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public IepsHkStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.hKStid = this._io.readU1();
- this.hKIvid = this._io.readU1();
- this.hKRc = this._io.readU1();
- this.hKBid = this._io.readU1();
- this.hKCmderr = this._io.readBitsInt(4);
- this.hKStat = this._io.readBitsInt(4);
- this._io.alignToByte();
- this.voltBrdSupRaw = this._io.readU2be();
- this.tempRaw = this._io.readU2be();
- this.vDistInputRaw = this._io.readU2be();
- this.iDistInputRaw = this._io.readU2be();
- this.pDistInputRaw = this._io.readU2be();
- this.vBattInputRaw = this._io.readU2be();
- this.iBattInputRaw = this._io.readU2be();
- this.pBattInputRaw = this._io.readU2be();
- this.statObcOn = this._io.readU2be();
- this.statObcOcf = this._io.readU2be();
- this.batStat = this._io.readU2be();
- this.batTemp2Raw = this._io.readU2be();
- this.voltVd0 = this._io.readU2be();
- this.voltVd1 = this._io.readU2be();
- this.voltVd2 = this._io.readU2be();
- this.vObc00 = this._io.readU2be();
- this.iObc00 = this._io.readU2be();
- this.pObc00 = this._io.readU2be();
- this.vObc01 = this._io.readU2be();
- this.iObc01 = this._io.readU2be();
- this.pObc01 = this._io.readU2be();
- this.vObc02 = this._io.readU2be();
- this.iObc02 = this._io.readU2be();
- this.pObc02 = this._io.readU2be();
- this.vObc03 = this._io.readU2be();
- this.iObc03 = this._io.readU2be();
- this.pObc03 = this._io.readU2be();
- this.vObc05 = this._io.readU2be();
- this.iObc05 = this._io.readU2be();
- this.pObc05 = this._io.readU2be();
- this.vObc06 = this._io.readU2be();
- this.iObc06 = this._io.readU2be();
- this.pObc06 = this._io.readU2be();
- this.cc1 = this._io.readBytes(8);
- this.cc2 = this._io.readBytes(8);
- this.cc3 = this._io.readBytes(8);
- this.statusStid = this._io.readU1();
- this.statusIvid = this._io.readU1();
- this.statusRc = this._io.readU1();
- this.statusBid = this._io.readU1();
- this.statusCmderr = this._io.readBitsInt(4);
- this.statusStat = this._io.readBitsInt(4);
- this._io.alignToByte();
- this.mode = this._io.readU1();
- this.conf = this._io.readU1();
- this.resetCause = this._io.readU1();
- this.uptime = this._io.readU4be();
- this.error = this._io.readU2be();
- this.rcCntPwron = this._io.readU2be();
- this.rcCntWdg = this._io.readU2be();
- this.rcCntCmd = this._io.readU2be();
- this.rcCntMcu = this._io.readU2be();
- this.rcCntEmlopo = this._io.readU2be();
- this.prevcmdElapsed = this._io.readU2be();
- }
- private Integer rcCntPwronRaw;
- public Integer rcCntPwronRaw() {
- if (this.rcCntPwronRaw != null)
- return this.rcCntPwronRaw;
- int _tmp = (int) (rcCntPwron());
- this.rcCntPwronRaw = _tmp;
- return this.rcCntPwronRaw;
- }
- private Double vDistInputRawV;
- public Double vDistInputRawV() {
- if (this.vDistInputRawV != null)
- return this.vDistInputRawV;
- double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
- this.vDistInputRawV = _tmp;
- return this.vDistInputRawV;
- }
- private Double iObc05Ma;
- public Double iObc05Ma() {
- if (this.iObc05Ma != null)
- return this.iObc05Ma;
- double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
- this.iObc05Ma = _tmp;
- return this.iObc05Ma;
- }
- private Double pObc05Mw;
- public Double pObc05Mw() {
- if (this.pObc05Mw != null)
- return this.pObc05Mw;
- double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
- this.pObc05Mw = _tmp;
- return this.pObc05Mw;
- }
- private Integer statObcOnRaw;
- public Integer statObcOnRaw() {
- if (this.statObcOnRaw != null)
- return this.statObcOnRaw;
- int _tmp = (int) (statObcOn());
- this.statObcOnRaw = _tmp;
- return this.statObcOnRaw;
- }
- private Long statusStatRaw;
- public Long statusStatRaw() {
- if (this.statusStatRaw != null)
- return this.statusStatRaw;
- long _tmp = (long) (statusStat());
- this.statusStatRaw = _tmp;
- return this.statusStatRaw;
- }
- private Integer hKRcRaw;
- public Integer hKRcRaw() {
- if (this.hKRcRaw != null)
- return this.hKRcRaw;
- int _tmp = (int) (hKRc());
- this.hKRcRaw = _tmp;
- return this.hKRcRaw;
- }
- private Double pObc00Mw;
- public Double pObc00Mw() {
- if (this.pObc00Mw != null)
- return this.pObc00Mw;
- double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
- this.pObc00Mw = _tmp;
- return this.pObc00Mw;
- }
- private Double vObc02V;
- public Double vObc02V() {
- if (this.vObc02V != null)
- return this.vObc02V;
- double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
- this.vObc02V = _tmp;
- return this.vObc02V;
- }
- private Double pObc06Mw;
- public Double pObc06Mw() {
- if (this.pObc06Mw != null)
- return this.pObc06Mw;
- double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
- this.pObc06Mw = _tmp;
- return this.pObc06Mw;
- }
- private Integer modeRaw;
- public Integer modeRaw() {
- if (this.modeRaw != null)
- return this.modeRaw;
- int _tmp = (int) (mode());
- this.modeRaw = _tmp;
- return this.modeRaw;
- }
- private Long statusCmderrRaw;
- public Long statusCmderrRaw() {
- if (this.statusCmderrRaw != null)
- return this.statusCmderrRaw;
- long _tmp = (long) (statusCmderr());
- this.statusCmderrRaw = _tmp;
- return this.statusCmderrRaw;
- }
- private Double pObc01Mw;
- public Double pObc01Mw() {
- if (this.pObc01Mw != null)
- return this.pObc01Mw;
- double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
- this.pObc01Mw = _tmp;
- return this.pObc01Mw;
- }
- private Integer rcCntCmdRaw;
- public Integer rcCntCmdRaw() {
- if (this.rcCntCmdRaw != null)
- return this.rcCntCmdRaw;
- int _tmp = (int) (rcCntCmd());
- this.rcCntCmdRaw = _tmp;
- return this.rcCntCmdRaw;
- }
- private Integer statObcOcfRaw;
- public Integer statObcOcfRaw() {
- if (this.statObcOcfRaw != null)
- return this.statObcOcfRaw;
- int _tmp = (int) (statObcOcf());
- this.statObcOcfRaw = _tmp;
- return this.statObcOcfRaw;
- }
- private Integer voltVd2Raw;
- public Integer voltVd2Raw() {
- if (this.voltVd2Raw != null)
- return this.voltVd2Raw;
- int _tmp = (int) (voltVd2());
- this.voltVd2Raw = _tmp;
- return this.voltVd2Raw;
- }
- private Long uptimeRaw;
- public Long uptimeRaw() {
- if (this.uptimeRaw != null)
- return this.uptimeRaw;
- long _tmp = (long) (uptime());
- this.uptimeRaw = _tmp;
- return this.uptimeRaw;
- }
- private Double voltBrdSupRawV;
- public Double voltBrdSupRawV() {
- if (this.voltBrdSupRawV != null)
- return this.voltBrdSupRawV;
- double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
- this.voltBrdSupRawV = _tmp;
- return this.voltBrdSupRawV;
- }
- private Double iObc00Ma;
- public Double iObc00Ma() {
- if (this.iObc00Ma != null)
- return this.iObc00Ma;
- double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
- this.iObc00Ma = _tmp;
- return this.iObc00Ma;
- }
- private Integer rcCntWdgRaw;
- public Integer rcCntWdgRaw() {
- if (this.rcCntWdgRaw != null)
- return this.rcCntWdgRaw;
- int _tmp = (int) (rcCntWdg());
- this.rcCntWdgRaw = _tmp;
- return this.rcCntWdgRaw;
- }
- private Double pDistInputRawMw;
- public Double pDistInputRawMw() {
- if (this.pDistInputRawMw != null)
- return this.pDistInputRawMw;
- double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
- this.pDistInputRawMw = _tmp;
- return this.pDistInputRawMw;
- }
- private Integer batStatRaw;
- public Integer batStatRaw() {
- if (this.batStatRaw != null)
- return this.batStatRaw;
- int _tmp = (int) (batStat());
- this.batStatRaw = _tmp;
- return this.batStatRaw;
- }
- private Double vObc06V;
- public Double vObc06V() {
- if (this.vObc06V != null)
- return this.vObc06V;
- double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
- this.vObc06V = _tmp;
- return this.vObc06V;
- }
- private Double iObc03Ma;
- public Double iObc03Ma() {
- if (this.iObc03Ma != null)
- return this.iObc03Ma;
- double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
- this.iObc03Ma = _tmp;
- return this.iObc03Ma;
- }
- private Double vObc03V;
- public Double vObc03V() {
- if (this.vObc03V != null)
- return this.vObc03V;
- double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
- this.vObc03V = _tmp;
- return this.vObc03V;
- }
- private Integer hKBidRaw;
- public Integer hKBidRaw() {
- if (this.hKBidRaw != null)
- return this.hKBidRaw;
- int _tmp = (int) (hKBid());
- this.hKBidRaw = _tmp;
- return this.hKBidRaw;
- }
- private Double iBattInputRawMa;
- public Double iBattInputRawMa() {
- if (this.iBattInputRawMa != null)
- return this.iBattInputRawMa;
- double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
- this.iBattInputRawMa = _tmp;
- return this.iBattInputRawMa;
- }
- private Integer hKIvidRaw;
- public Integer hKIvidRaw() {
- if (this.hKIvidRaw != null)
- return this.hKIvidRaw;
- int _tmp = (int) (hKIvid());
- this.hKIvidRaw = _tmp;
- return this.hKIvidRaw;
- }
- private Double iObc02Ma;
- public Double iObc02Ma() {
- if (this.iObc02Ma != null)
- return this.iObc02Ma;
- double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
- this.iObc02Ma = _tmp;
- return this.iObc02Ma;
- }
- private Integer statusStidRaw;
- public Integer statusStidRaw() {
- if (this.statusStidRaw != null)
- return this.statusStidRaw;
- int _tmp = (int) (statusStid());
- this.statusStidRaw = _tmp;
- return this.statusStidRaw;
- }
- private Double iObc06Ma;
- public Double iObc06Ma() {
- if (this.iObc06Ma != null)
- return this.iObc06Ma;
- double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
- this.iObc06Ma = _tmp;
- return this.iObc06Ma;
- }
- private Integer statusRcRaw;
- public Integer statusRcRaw() {
- if (this.statusRcRaw != null)
- return this.statusRcRaw;
- int _tmp = (int) (statusRc());
- this.statusRcRaw = _tmp;
- return this.statusRcRaw;
- }
- private byte[] cc2Byte;
- public byte[] cc2Byte() {
- if (this.cc2Byte != null)
- return this.cc2Byte;
- this.cc2Byte = cc2();
- return this.cc2Byte;
- }
- private Integer errorRaw;
- public Integer errorRaw() {
- if (this.errorRaw != null)
- return this.errorRaw;
- int _tmp = (int) (error());
- this.errorRaw = _tmp;
- return this.errorRaw;
- }
- private Double iDistInputRawMa;
- public Double iDistInputRawMa() {
- if (this.iDistInputRawMa != null)
- return this.iDistInputRawMa;
- double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
- this.iDistInputRawMa = _tmp;
- return this.iDistInputRawMa;
- }
- private Double vObc01V;
- public Double vObc01V() {
- if (this.vObc01V != null)
- return this.vObc01V;
- double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
- this.vObc01V = _tmp;
- return this.vObc01V;
- }
- private Double pBattInputRawMw;
- public Double pBattInputRawMw() {
- if (this.pBattInputRawMw != null)
- return this.pBattInputRawMw;
- double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
- this.pBattInputRawMw = _tmp;
- return this.pBattInputRawMw;
- }
- private Double iObc01Ma;
- public Double iObc01Ma() {
- if (this.iObc01Ma != null)
- return this.iObc01Ma;
- double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
- this.iObc01Ma = _tmp;
- return this.iObc01Ma;
- }
- private Double tempRawT;
- public Double tempRawT() {
- if (this.tempRawT != null)
- return this.tempRawT;
- double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
- this.tempRawT = _tmp;
- return this.tempRawT;
- }
- private byte[] cc1Byte;
- public byte[] cc1Byte() {
- if (this.cc1Byte != null)
- return this.cc1Byte;
- this.cc1Byte = cc1();
- return this.cc1Byte;
- }
- private Integer rcCntEmlopoRaw;
- public Integer rcCntEmlopoRaw() {
- if (this.rcCntEmlopoRaw != null)
- return this.rcCntEmlopoRaw;
- int _tmp = (int) (rcCntEmlopo());
- this.rcCntEmlopoRaw = _tmp;
- return this.rcCntEmlopoRaw;
- }
- private Integer rcCntMcuRaw;
- public Integer rcCntMcuRaw() {
- if (this.rcCntMcuRaw != null)
- return this.rcCntMcuRaw;
- int _tmp = (int) (rcCntMcu());
- this.rcCntMcuRaw = _tmp;
- return this.rcCntMcuRaw;
- }
- private Integer statusBidRaw;
- public Integer statusBidRaw() {
- if (this.statusBidRaw != null)
- return this.statusBidRaw;
- int _tmp = (int) (statusBid());
- this.statusBidRaw = _tmp;
- return this.statusBidRaw;
- }
- private Integer statusIvidRaw;
- public Integer statusIvidRaw() {
- if (this.statusIvidRaw != null)
- return this.statusIvidRaw;
- int _tmp = (int) (statusIvid());
- this.statusIvidRaw = _tmp;
- return this.statusIvidRaw;
- }
- private Double pObc03Mw;
- public Double pObc03Mw() {
- if (this.pObc03Mw != null)
- return this.pObc03Mw;
- double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
- this.pObc03Mw = _tmp;
- return this.pObc03Mw;
- }
- private Integer voltVd1Raw;
- public Integer voltVd1Raw() {
- if (this.voltVd1Raw != null)
- return this.voltVd1Raw;
- int _tmp = (int) (voltVd1());
- this.voltVd1Raw = _tmp;
- return this.voltVd1Raw;
- }
- private byte[] cc3Byte;
- public byte[] cc3Byte() {
- if (this.cc3Byte != null)
- return this.cc3Byte;
- this.cc3Byte = cc3();
- return this.cc3Byte;
- }
- private Double vObc05V;
- public Double vObc05V() {
- if (this.vObc05V != null)
- return this.vObc05V;
- double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
- this.vObc05V = _tmp;
- return this.vObc05V;
- }
- private Double vObc00V;
- public Double vObc00V() {
- if (this.vObc00V != null)
- return this.vObc00V;
- double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
- this.vObc00V = _tmp;
- return this.vObc00V;
- }
- private Integer voltVd0Raw;
- public Integer voltVd0Raw() {
- if (this.voltVd0Raw != null)
- return this.voltVd0Raw;
- int _tmp = (int) (voltVd0());
- this.voltVd0Raw = _tmp;
- return this.voltVd0Raw;
- }
- private Long hKCmderrRaw;
- public Long hKCmderrRaw() {
- if (this.hKCmderrRaw != null)
- return this.hKCmderrRaw;
- long _tmp = (long) (hKCmderr());
- this.hKCmderrRaw = _tmp;
- return this.hKCmderrRaw;
- }
- private Double batTemp2RawT;
- public Double batTemp2RawT() {
- if (this.batTemp2RawT != null)
- return this.batTemp2RawT;
- double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
- this.batTemp2RawT = _tmp;
- return this.batTemp2RawT;
- }
- private Double vBattInputRawV;
- public Double vBattInputRawV() {
- if (this.vBattInputRawV != null)
- return this.vBattInputRawV;
- double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
- this.vBattInputRawV = _tmp;
- return this.vBattInputRawV;
- }
- private Integer resetCauseRaw;
- public Integer resetCauseRaw() {
- if (this.resetCauseRaw != null)
- return this.resetCauseRaw;
- int _tmp = (int) (resetCause());
- this.resetCauseRaw = _tmp;
- return this.resetCauseRaw;
- }
- private Integer hKStidRaw;
- public Integer hKStidRaw() {
- if (this.hKStidRaw != null)
- return this.hKStidRaw;
- int _tmp = (int) (hKStid());
- this.hKStidRaw = _tmp;
- return this.hKStidRaw;
- }
- private Double pObc02Mw;
- public Double pObc02Mw() {
- if (this.pObc02Mw != null)
- return this.pObc02Mw;
- double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
- this.pObc02Mw = _tmp;
- return this.pObc02Mw;
- }
- private Long hKStatRaw;
- public Long hKStatRaw() {
- if (this.hKStatRaw != null)
- return this.hKStatRaw;
- long _tmp = (long) (hKStat());
- this.hKStatRaw = _tmp;
- return this.hKStatRaw;
- }
- private Integer confRaw;
- public Integer confRaw() {
- if (this.confRaw != null)
- return this.confRaw;
- int _tmp = (int) (conf());
- this.confRaw = _tmp;
- return this.confRaw;
- }
- private Integer prevcmdElapsedRaw;
- public Integer prevcmdElapsedRaw() {
- if (this.prevcmdElapsedRaw != null)
- return this.prevcmdElapsedRaw;
- int _tmp = (int) (prevcmdElapsed());
- this.prevcmdElapsedRaw = _tmp;
- return this.prevcmdElapsedRaw;
- }
- private int hKStid;
- private int hKIvid;
- private int hKRc;
- private int hKBid;
- private long hKCmderr;
- private long hKStat;
- private int voltBrdSupRaw;
- private int tempRaw;
- private int vDistInputRaw;
- private int iDistInputRaw;
- private int pDistInputRaw;
- private int vBattInputRaw;
- private int iBattInputRaw;
- private int pBattInputRaw;
- private int statObcOn;
- private int statObcOcf;
- private int batStat;
- private int batTemp2Raw;
- private int voltVd0;
- private int voltVd1;
- private int voltVd2;
- private int vObc00;
- private int iObc00;
- private int pObc00;
- private int vObc01;
- private int iObc01;
- private int pObc01;
- private int vObc02;
- private int iObc02;
- private int pObc02;
- private int vObc03;
- private int iObc03;
- private int pObc03;
- private int vObc05;
- private int iObc05;
- private int pObc05;
- private int vObc06;
- private int iObc06;
- private int pObc06;
- private byte[] cc1;
- private byte[] cc2;
- private byte[] cc3;
- private int statusStid;
- private int statusIvid;
- private int statusRc;
- private int statusBid;
- private long statusCmderr;
- private long statusStat;
- private int mode;
- private int conf;
- private int resetCause;
- private long uptime;
- private int error;
- private int rcCntPwron;
- private int rcCntWdg;
- private int rcCntCmd;
- private int rcCntMcu;
- private int rcCntEmlopo;
- private int prevcmdElapsed;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public int hKStid() { return hKStid; }
- public int hKIvid() { return hKIvid; }
- public int hKRc() { return hKRc; }
- public int hKBid() { return hKBid; }
- public long hKCmderr() { return hKCmderr; }
- public long hKStat() { return hKStat; }
- public int voltBrdSupRaw() { return voltBrdSupRaw; }
- public int tempRaw() { return tempRaw; }
- public int vDistInputRaw() { return vDistInputRaw; }
- public int iDistInputRaw() { return iDistInputRaw; }
- public int pDistInputRaw() { return pDistInputRaw; }
- public int vBattInputRaw() { return vBattInputRaw; }
- public int iBattInputRaw() { return iBattInputRaw; }
- public int pBattInputRaw() { return pBattInputRaw; }
- public int statObcOn() { return statObcOn; }
- public int statObcOcf() { return statObcOcf; }
- public int batStat() { return batStat; }
- public int batTemp2Raw() { return batTemp2Raw; }
- public int voltVd0() { return voltVd0; }
- public int voltVd1() { return voltVd1; }
- public int voltVd2() { return voltVd2; }
- public int vObc00() { return vObc00; }
- public int iObc00() { return iObc00; }
- public int pObc00() { return pObc00; }
- public int vObc01() { return vObc01; }
- public int iObc01() { return iObc01; }
- public int pObc01() { return pObc01; }
- public int vObc02() { return vObc02; }
- public int iObc02() { return iObc02; }
- public int pObc02() { return pObc02; }
- public int vObc03() { return vObc03; }
- public int iObc03() { return iObc03; }
- public int pObc03() { return pObc03; }
- public int vObc05() { return vObc05; }
- public int iObc05() { return iObc05; }
- public int pObc05() { return pObc05; }
- public int vObc06() { return vObc06; }
- public int iObc06() { return iObc06; }
- public int pObc06() { return pObc06; }
- public byte[] cc1() { return cc1; }
- public byte[] cc2() { return cc2; }
- public byte[] cc3() { return cc3; }
- public int statusStid() { return statusStid; }
- public int statusIvid() { return statusIvid; }
- public int statusRc() { return statusRc; }
- public int statusBid() { return statusBid; }
- public long statusCmderr() { return statusCmderr; }
- public long statusStat() { return statusStat; }
- public int mode() { return mode; }
- public int conf() { return conf; }
- public int resetCause() { return resetCause; }
- public long uptime() { return uptime; }
- public int error() { return error; }
- public int rcCntPwron() { return rcCntPwron; }
- public int rcCntWdg() { return rcCntWdg; }
- public int rcCntCmd() { return rcCntCmd; }
- public int rcCntMcu() { return rcCntMcu; }
- public int rcCntEmlopo() { return rcCntEmlopo; }
- public int prevcmdElapsed() { return prevcmdElapsed; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- public static class AntsHk extends KaitaiStruct {
- public static AntsHk fromFile(String fileName) throws IOException {
- return new AntsHk(new ByteBufferKaitaiStream(fileName));
- }
-
- public AntsHk(KaitaiStream _io) {
- this(_io, null, null);
- }
-
- public AntsHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
- this(_io, _parent, null);
- }
-
- public AntsHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
- super(_io);
- this._parent = _parent;
- this._root = _root;
- _read();
- }
- private void _read() {
- this.sideAAntsTemperature = this._io.readU2be();
- this.sideAAntsDeploymentStatus = this._io.readU2be();
- this.sideAAntsUptime = this._io.readU4be();
- this.sideADeploymentCountAntenna1 = this._io.readU1();
- this.sideADeploymentCountAntenna2 = this._io.readU1();
- this.sideADeploymentCountAntenna3 = this._io.readU1();
- this.sideADeploymentCountAntenna4 = this._io.readU1();
- this.sideADeploymentTimeAntenna1 = this._io.readU2be();
- this.sideADeploymentTimeAntenna2 = this._io.readU2be();
- this.sideADeploymentTimeAntenna3 = this._io.readU2be();
- this.sideADeploymentTimeAntenna4 = this._io.readU2be();
- this.sideBAntsTemperature = this._io.readU2be();
- this.sideBAntsDeploymentStatus = this._io.readU2be();
- this.sideBAntsUptime = this._io.readU2be();
- this.sideBDeploymentCountAntenna1 = this._io.readU1();
- this.sideBDeploymentCountAntenna2 = this._io.readU1();
- this.sideBDeploymentCountAntenna3 = this._io.readU1();
- this.sideBDeploymentCountAntenna4 = this._io.readU1();
- this.sideBDeploymentTimeAntenna1 = this._io.readU2be();
- this.sideBDeploymentTimeAntenna2 = this._io.readU2be();
- this.sideBDeploymentTimeAntenna3 = this._io.readU2be();
- this.sideBDeploymentTimeAntenna4 = this._io.readU2be();
- }
- private Integer sideBDeploymentCountAntenna3Raw;
- public Integer sideBDeploymentCountAntenna3Raw() {
- if (this.sideBDeploymentCountAntenna3Raw != null)
- return this.sideBDeploymentCountAntenna3Raw;
- int _tmp = (int) (sideBDeploymentCountAntenna3());
- this.sideBDeploymentCountAntenna3Raw = _tmp;
- return this.sideBDeploymentCountAntenna3Raw;
- }
- private Integer sideBDeploymentTimeAntenna1Raw;
- public Integer sideBDeploymentTimeAntenna1Raw() {
- if (this.sideBDeploymentTimeAntenna1Raw != null)
- return this.sideBDeploymentTimeAntenna1Raw;
- int _tmp = (int) (sideBDeploymentTimeAntenna1());
- this.sideBDeploymentTimeAntenna1Raw = _tmp;
- return this.sideBDeploymentTimeAntenna1Raw;
- }
- private Integer sideADeploymentTimeAntenna3Raw;
- public Integer sideADeploymentTimeAntenna3Raw() {
- if (this.sideADeploymentTimeAntenna3Raw != null)
- return this.sideADeploymentTimeAntenna3Raw;
- int _tmp = (int) (sideADeploymentTimeAntenna3());
- this.sideADeploymentTimeAntenna3Raw = _tmp;
- return this.sideADeploymentTimeAntenna3Raw;
- }
- private Integer sideBDeploymentCountAntenna4Raw;
- public Integer sideBDeploymentCountAntenna4Raw() {
- if (this.sideBDeploymentCountAntenna4Raw != null)
- return this.sideBDeploymentCountAntenna4Raw;
- int _tmp = (int) (sideBDeploymentCountAntenna4());
- this.sideBDeploymentCountAntenna4Raw = _tmp;
- return this.sideBDeploymentCountAntenna4Raw;
- }
- private Integer sideBDeploymentTimeAntenna2Raw;
- public Integer sideBDeploymentTimeAntenna2Raw() {
- if (this.sideBDeploymentTimeAntenna2Raw != null)
- return this.sideBDeploymentTimeAntenna2Raw;
- int _tmp = (int) (sideBDeploymentTimeAntenna2());
- this.sideBDeploymentTimeAntenna2Raw = _tmp;
- return this.sideBDeploymentTimeAntenna2Raw;
- }
- private Integer sideADeploymentCountAntenna3Raw;
- public Integer sideADeploymentCountAntenna3Raw() {
- if (this.sideADeploymentCountAntenna3Raw != null)
- return this.sideADeploymentCountAntenna3Raw;
- int _tmp = (int) (sideADeploymentCountAntenna3());
- this.sideADeploymentCountAntenna3Raw = _tmp;
- return this.sideADeploymentCountAntenna3Raw;
- }
- private Integer sideBDeploymentCountAntenna1Raw;
- public Integer sideBDeploymentCountAntenna1Raw() {
- if (this.sideBDeploymentCountAntenna1Raw != null)
- return this.sideBDeploymentCountAntenna1Raw;
- int _tmp = (int) (sideBDeploymentCountAntenna1());
- this.sideBDeploymentCountAntenna1Raw = _tmp;
- return this.sideBDeploymentCountAntenna1Raw;
- }
- private Integer sideADeploymentCountAntenna4Raw;
- public Integer sideADeploymentCountAntenna4Raw() {
- if (this.sideADeploymentCountAntenna4Raw != null)
- return this.sideADeploymentCountAntenna4Raw;
- int _tmp = (int) (sideADeploymentCountAntenna4());
- this.sideADeploymentCountAntenna4Raw = _tmp;
- return this.sideADeploymentCountAntenna4Raw;
- }
- private Integer sideADeploymentCountAntenna1Raw;
- public Integer sideADeploymentCountAntenna1Raw() {
- if (this.sideADeploymentCountAntenna1Raw != null)
- return this.sideADeploymentCountAntenna1Raw;
- int _tmp = (int) (sideADeploymentCountAntenna1());
- this.sideADeploymentCountAntenna1Raw = _tmp;
- return this.sideADeploymentCountAntenna1Raw;
- }
- private Long sideAAntsUptimeRaw;
- public Long sideAAntsUptimeRaw() {
- if (this.sideAAntsUptimeRaw != null)
- return this.sideAAntsUptimeRaw;
- long _tmp = (long) (sideAAntsUptime());
- this.sideAAntsUptimeRaw = _tmp;
- return this.sideAAntsUptimeRaw;
- }
- private Integer sideBDeploymentTimeAntenna3Raw;
- public Integer sideBDeploymentTimeAntenna3Raw() {
- if (this.sideBDeploymentTimeAntenna3Raw != null)
- return this.sideBDeploymentTimeAntenna3Raw;
- int _tmp = (int) (sideBDeploymentTimeAntenna3());
- this.sideBDeploymentTimeAntenna3Raw = _tmp;
- return this.sideBDeploymentTimeAntenna3Raw;
- }
- private Integer sideBAntsTemperatureRaw;
- public Integer sideBAntsTemperatureRaw() {
- if (this.sideBAntsTemperatureRaw != null)
- return this.sideBAntsTemperatureRaw;
- int _tmp = (int) (sideBAntsTemperature());
- this.sideBAntsTemperatureRaw = _tmp;
- return this.sideBAntsTemperatureRaw;
- }
- private Integer sideADeploymentTimeAntenna2Raw;
- public Integer sideADeploymentTimeAntenna2Raw() {
- if (this.sideADeploymentTimeAntenna2Raw != null)
- return this.sideADeploymentTimeAntenna2Raw;
- int _tmp = (int) (sideADeploymentTimeAntenna2());
- this.sideADeploymentTimeAntenna2Raw = _tmp;
- return this.sideADeploymentTimeAntenna2Raw;
- }
- private Integer sideBDeploymentTimeAntenna4Raw;
- public Integer sideBDeploymentTimeAntenna4Raw() {
- if (this.sideBDeploymentTimeAntenna4Raw != null)
- return this.sideBDeploymentTimeAntenna4Raw;
- int _tmp = (int) (sideBDeploymentTimeAntenna4());
- this.sideBDeploymentTimeAntenna4Raw = _tmp;
- return this.sideBDeploymentTimeAntenna4Raw;
- }
- private Integer sideBAntsDeploymentStatusRaw;
- public Integer sideBAntsDeploymentStatusRaw() {
- if (this.sideBAntsDeploymentStatusRaw != null)
- return this.sideBAntsDeploymentStatusRaw;
- int _tmp = (int) (sideBAntsDeploymentStatus());
- this.sideBAntsDeploymentStatusRaw = _tmp;
- return this.sideBAntsDeploymentStatusRaw;
- }
- private Integer sideADeploymentTimeAntenna1Raw;
- public Integer sideADeploymentTimeAntenna1Raw() {
- if (this.sideADeploymentTimeAntenna1Raw != null)
- return this.sideADeploymentTimeAntenna1Raw;
- int _tmp = (int) (sideADeploymentTimeAntenna1());
- this.sideADeploymentTimeAntenna1Raw = _tmp;
- return this.sideADeploymentTimeAntenna1Raw;
- }
- private Integer sideADeploymentTimeAntenna4Raw;
- public Integer sideADeploymentTimeAntenna4Raw() {
- if (this.sideADeploymentTimeAntenna4Raw != null)
- return this.sideADeploymentTimeAntenna4Raw;
- int _tmp = (int) (sideADeploymentTimeAntenna4());
- this.sideADeploymentTimeAntenna4Raw = _tmp;
- return this.sideADeploymentTimeAntenna4Raw;
- }
- private Integer sideAAntsTemperatureRaw;
- public Integer sideAAntsTemperatureRaw() {
- if (this.sideAAntsTemperatureRaw != null)
- return this.sideAAntsTemperatureRaw;
- int _tmp = (int) (sideAAntsTemperature());
- this.sideAAntsTemperatureRaw = _tmp;
- return this.sideAAntsTemperatureRaw;
- }
- private Integer sideAAntsDeploymentStatusRaw;
- public Integer sideAAntsDeploymentStatusRaw() {
- if (this.sideAAntsDeploymentStatusRaw != null)
- return this.sideAAntsDeploymentStatusRaw;
- int _tmp = (int) (sideAAntsDeploymentStatus());
- this.sideAAntsDeploymentStatusRaw = _tmp;
- return this.sideAAntsDeploymentStatusRaw;
- }
- private Integer sideBDeploymentCountAntenna2Raw;
- public Integer sideBDeploymentCountAntenna2Raw() {
- if (this.sideBDeploymentCountAntenna2Raw != null)
- return this.sideBDeploymentCountAntenna2Raw;
- int _tmp = (int) (sideBDeploymentCountAntenna2());
- this.sideBDeploymentCountAntenna2Raw = _tmp;
- return this.sideBDeploymentCountAntenna2Raw;
- }
- private Integer sideADeploymentCountAntenna2Raw;
- public Integer sideADeploymentCountAntenna2Raw() {
- if (this.sideADeploymentCountAntenna2Raw != null)
- return this.sideADeploymentCountAntenna2Raw;
- int _tmp = (int) (sideADeploymentCountAntenna2());
- this.sideADeploymentCountAntenna2Raw = _tmp;
- return this.sideADeploymentCountAntenna2Raw;
- }
- private Integer sideBAntsUptimeRaw;
- public Integer sideBAntsUptimeRaw() {
- if (this.sideBAntsUptimeRaw != null)
- return this.sideBAntsUptimeRaw;
- int _tmp = (int) (sideBAntsUptime());
- this.sideBAntsUptimeRaw = _tmp;
- return this.sideBAntsUptimeRaw;
- }
- private int sideAAntsTemperature;
- private int sideAAntsDeploymentStatus;
- private long sideAAntsUptime;
- private int sideADeploymentCountAntenna1;
- private int sideADeploymentCountAntenna2;
- private int sideADeploymentCountAntenna3;
- private int sideADeploymentCountAntenna4;
- private int sideADeploymentTimeAntenna1;
- private int sideADeploymentTimeAntenna2;
- private int sideADeploymentTimeAntenna3;
- private int sideADeploymentTimeAntenna4;
- private int sideBAntsTemperature;
- private int sideBAntsDeploymentStatus;
- private int sideBAntsUptime;
- private int sideBDeploymentCountAntenna1;
- private int sideBDeploymentCountAntenna2;
- private int sideBDeploymentCountAntenna3;
- private int sideBDeploymentCountAntenna4;
- private int sideBDeploymentTimeAntenna1;
- private int sideBDeploymentTimeAntenna2;
- private int sideBDeploymentTimeAntenna3;
- private int sideBDeploymentTimeAntenna4;
- private Uvsqsat _root;
- private Uvsqsat.UiFrame _parent;
- public int sideAAntsTemperature() { return sideAAntsTemperature; }
- public int sideAAntsDeploymentStatus() { return sideAAntsDeploymentStatus; }
- public long sideAAntsUptime() { return sideAAntsUptime; }
- public int sideADeploymentCountAntenna1() { return sideADeploymentCountAntenna1; }
- public int sideADeploymentCountAntenna2() { return sideADeploymentCountAntenna2; }
- public int sideADeploymentCountAntenna3() { return sideADeploymentCountAntenna3; }
- public int sideADeploymentCountAntenna4() { return sideADeploymentCountAntenna4; }
- public int sideADeploymentTimeAntenna1() { return sideADeploymentTimeAntenna1; }
- public int sideADeploymentTimeAntenna2() { return sideADeploymentTimeAntenna2; }
- public int sideADeploymentTimeAntenna3() { return sideADeploymentTimeAntenna3; }
- public int sideADeploymentTimeAntenna4() { return sideADeploymentTimeAntenna4; }
- public int sideBAntsTemperature() { return sideBAntsTemperature; }
- public int sideBAntsDeploymentStatus() { return sideBAntsDeploymentStatus; }
- public int sideBAntsUptime() { return sideBAntsUptime; }
- public int sideBDeploymentCountAntenna1() { return sideBDeploymentCountAntenna1; }
- public int sideBDeploymentCountAntenna2() { return sideBDeploymentCountAntenna2; }
- public int sideBDeploymentCountAntenna3() { return sideBDeploymentCountAntenna3; }
- public int sideBDeploymentCountAntenna4() { return sideBDeploymentCountAntenna4; }
- public int sideBDeploymentTimeAntenna1() { return sideBDeploymentTimeAntenna1; }
- public int sideBDeploymentTimeAntenna2() { return sideBDeploymentTimeAntenna2; }
- public int sideBDeploymentTimeAntenna3() { return sideBDeploymentTimeAntenna3; }
- public int sideBDeploymentTimeAntenna4() { return sideBDeploymentTimeAntenna4; }
- public Uvsqsat _root() { return _root; }
- public Uvsqsat.UiFrame _parent() { return _parent; }
- }
- private Ax25Frame ax25Frame;
+ this.ax25Header = new Ax25Header(this._io, this, _root);
+ switch ((ax25Header().ctl() & 19)) {
+ case 0:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 3:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 2:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ }
+ }
+
+ private Ax25Header ax25Header;
+ private KaitaiStruct payload;
private Uvsqsat _root;
- private KaitaiStruct _parent;
+ private Uvsqsat _parent;
- /**
- * @see Source
- */
- public Ax25Frame ax25Frame() { return ax25Frame; }
- public Uvsqsat _root() { return _root; }
- public KaitaiStruct _parent() { return _parent; }
+ public Ax25Header ax25Header() {
+ return ax25Header;
+ }
+
+ public KaitaiStruct payload() {
+ return payload;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Ax25Header extends KaitaiStruct {
+ public static Ax25Header fromFile(String fileName) throws IOException {
+ return new Ax25Header(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Ax25Header(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, Uvsqsat.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, Uvsqsat.Ax25Frame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.destCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.destSsidRaw = new SsidMask(this._io, this, _root);
+ this.srcCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.srcSsidRaw = new SsidMask(this._io, this, _root);
+ this.ctl = this._io.readU1();
+ }
+
+ private CallsignRaw destCallsignRaw;
+ private SsidMask destSsidRaw;
+ private CallsignRaw srcCallsignRaw;
+ private SsidMask srcSsidRaw;
+ private int ctl;
+ private Uvsqsat _root;
+ private Uvsqsat.Ax25Frame _parent;
+
+ public CallsignRaw destCallsignRaw() {
+ return destCallsignRaw;
+ }
+
+ public SsidMask destSsidRaw() {
+ return destSsidRaw;
+ }
+
+ public CallsignRaw srcCallsignRaw() {
+ return srcCallsignRaw;
+ }
+
+ public SsidMask srcSsidRaw() {
+ return srcSsidRaw;
+ }
+
+ public int ctl() {
+ return ctl;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class UiFrame extends KaitaiStruct {
+ public static UiFrame fromFile(String fileName) throws IOException {
+ return new UiFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public UiFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public UiFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public UiFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.packetPrimaryHeader = new PacketPrimaryHeader(this._io, this, _root);
+ this.packetSecondaryHeader = new PacketSecondaryHeader(this._io, this, _root);
+ switch (packetSecondaryHeader().sid()) {
+ case 14:
+ {
+ this.tlm = new AmsatAscii(this._io, this, _root);
+ break;
+ }
+ case 17:
+ {
+ this.tlm = new ObcStatus(this._io, this, _root);
+ break;
+ }
+ case 24:
+ {
+ this.tlm = new TrxvutxHk(this._io, this, _root);
+ break;
+ }
+ case 20:
+ {
+ this.tlm = new MainboardHk(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.tlm = new MainboardAllScience(this._io, this, _root);
+ break;
+ }
+ case 23:
+ {
+ this.tlm = new ImtqHk(this._io, this, _root);
+ break;
+ }
+ case 15:
+ {
+ this.tlm = new Beacon(this._io, this, _root);
+ break;
+ }
+ case 21:
+ {
+ this.tlm = new IepsHkStatus(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.tlm = new AntsHk(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.tlm = new ObcHk(this._io, this, _root);
+ break;
+ }
+ case 22:
+ {
+ this.tlm = new TrxvurxHk(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ }
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private PacketPrimaryHeader packetPrimaryHeader;
+ private PacketSecondaryHeader packetSecondaryHeader;
+ private KaitaiStruct tlm;
+ private byte[] ax25Info;
+ private Uvsqsat _root;
+ private Uvsqsat.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public PacketPrimaryHeader packetPrimaryHeader() {
+ return packetPrimaryHeader;
+ }
+
+ public PacketSecondaryHeader packetSecondaryHeader() {
+ return packetSecondaryHeader;
+ }
+
+ public KaitaiStruct tlm() {
+ return tlm;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Callsign extends KaitaiStruct {
+ public static Callsign fromFile(String fileName) throws IOException {
+ return new Callsign(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Callsign(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Callsign(KaitaiStream _io, Uvsqsat.CallsignRaw _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Callsign(KaitaiStream _io, Uvsqsat.CallsignRaw _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.callsign = new String(this._io.readBytes(6), Charset.forName("ASCII"));
+ }
+
+ private String callsign;
+ private Uvsqsat _root;
+ private Uvsqsat.CallsignRaw _parent;
+
+ public String callsign() {
+ return callsign;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.CallsignRaw _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketPrimaryHeader extends KaitaiStruct {
+ public static PacketPrimaryHeader fromFile(String fileName) throws IOException {
+ return new PacketPrimaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.packetVersionNumber = this._io.readBitsInt(3);
+ this.packetIdPacketType = this._io.readBitsInt(1) != 0;
+ this.packetIdSecondaryHeaderFlag = this._io.readBitsInt(1) != 0;
+ this.packetIdApplicationProcessId = this._io.readBitsInt(11);
+ this.packetSequenceControlSecquenceFlag = this._io.readBitsInt(2);
+ this.packetSequenceControlCountOrName = this._io.readBitsInt(14);
+ this._io.alignToByte();
+ this.packetDataLength = this._io.readU2be();
+ }
+
+ private long packetVersionNumber;
+ private boolean packetIdPacketType;
+ private boolean packetIdSecondaryHeaderFlag;
+ private long packetIdApplicationProcessId;
+ private long packetSequenceControlSecquenceFlag;
+ private long packetSequenceControlCountOrName;
+ private int packetDataLength;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public long packetVersionNumber() {
+ return packetVersionNumber;
+ }
+
+ public boolean packetIdPacketType() {
+ return packetIdPacketType;
+ }
+
+ public boolean packetIdSecondaryHeaderFlag() {
+ return packetIdSecondaryHeaderFlag;
+ }
+
+ public long packetIdApplicationProcessId() {
+ return packetIdApplicationProcessId;
+ }
+
+ public long packetSequenceControlSecquenceFlag() {
+ return packetSequenceControlSecquenceFlag;
+ }
+
+ public long packetSequenceControlCountOrName() {
+ return packetSequenceControlCountOrName;
+ }
+
+ public int packetDataLength() {
+ return packetDataLength;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class TrxvutxHk extends KaitaiStruct {
+ public static TrxvutxHk fromFile(String fileName) throws IOException {
+ return new TrxvutxHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public TrxvutxHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public TrxvutxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public TrxvutxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsInt(12);
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsInt(12);
+ this.trxvutxSupplyVoltage = this._io.readBitsInt(12);
+ this.trxvutxTotalSupplyCurrent = this._io.readBitsInt(12);
+ this.trxvutxTransmitterCurrent = this._io.readBitsInt(12);
+ this.trxvutxReceiverCurrent = this._io.readBitsInt(12);
+ this.trxvutxPowerAmplifierCurrent = this._io.readBitsInt(12);
+ this.trxvutxPowerAmplifierTemperature = this._io.readBitsInt(12);
+ this.trxvutxLocalOscillatorTemperature = this._io.readBitsInt(12);
+ this.trxvutxZeroPadding = this._io.readBitsInt(4);
+ this._io.alignToByte();
+ this.trxvuTxUptime = this._io.readU4be();
+ this.trxvuTxState = this._io.readU1();
+ }
+
+ private Double trxvutxTotalSupplyCurrentMa;
+
+ public Double trxvutxTotalSupplyCurrentMa() {
+ if (this.trxvutxTotalSupplyCurrentMa != null) return this.trxvutxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
+ this.trxvutxTotalSupplyCurrentMa = _tmp;
+ return this.trxvutxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvutxPowerAmplifierCurrentMa;
+
+ public Double trxvutxPowerAmplifierCurrentMa() {
+ if (this.trxvutxPowerAmplifierCurrentMa != null) return this.trxvutxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvutxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvutxPowerAmplifierCurrentMa;
+ }
+
+ private Long trxvuTxUptimeRaw;
+
+ public Long trxvuTxUptimeRaw() {
+ if (this.trxvuTxUptimeRaw != null) return this.trxvuTxUptimeRaw;
+ long _tmp = (long) (trxvuTxUptime());
+ this.trxvuTxUptimeRaw = _tmp;
+ return this.trxvuTxUptimeRaw;
+ }
+
+ private Double trxvutxSupplyVoltageV;
+
+ public Double trxvutxSupplyVoltageV() {
+ if (this.trxvutxSupplyVoltageV != null) return this.trxvutxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
+ this.trxvutxSupplyVoltageV = _tmp;
+ return this.trxvutxSupplyVoltageV;
+ }
+
+ private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxLocalOscillatorTemperatureC;
+
+ public Double trxvutxLocalOscillatorTemperatureC() {
+ if (this.trxvutxLocalOscillatorTemperatureC != null)
+ return this.trxvutxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvutxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvutxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxReceiverCurrentMa;
+
+ public Double trxvutxReceiverCurrentMa() {
+ if (this.trxvutxReceiverCurrentMa != null) return this.trxvutxReceiverCurrentMa;
+ double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
+ this.trxvutxReceiverCurrentMa = _tmp;
+ return this.trxvutxReceiverCurrentMa;
+ }
+
+ private Long trxvutxZeroPaddingRaw;
+
+ public Long trxvutxZeroPaddingRaw() {
+ if (this.trxvutxZeroPaddingRaw != null) return this.trxvutxZeroPaddingRaw;
+ long _tmp = (long) (trxvutxZeroPadding());
+ this.trxvutxZeroPaddingRaw = _tmp;
+ return this.trxvutxZeroPaddingRaw;
+ }
+
+ private Double trxvutxPowerAmplifierTemperatureC;
+
+ public Double trxvutxPowerAmplifierTemperatureC() {
+ if (this.trxvutxPowerAmplifierTemperatureC != null)
+ return this.trxvutxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvutxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvutxPowerAmplifierTemperatureC;
+ }
+
+ private Double trxvutxTransmitterCurrentMa;
+
+ public Double trxvutxTransmitterCurrentMa() {
+ if (this.trxvutxTransmitterCurrentMa != null) return this.trxvutxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
+ this.trxvutxTransmitterCurrentMa = _tmp;
+ return this.trxvutxTransmitterCurrentMa;
+ }
+
+ private Integer trxvuTxStateRaw;
+
+ public Integer trxvuTxStateRaw() {
+ if (this.trxvuTxStateRaw != null) return this.trxvuTxStateRaw;
+ int _tmp = (int) (trxvuTxState());
+ this.trxvuTxStateRaw = _tmp;
+ return this.trxvuTxStateRaw;
+ }
+
+ private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ private long trxvutxSupplyVoltage;
+ private long trxvutxTotalSupplyCurrent;
+ private long trxvutxTransmitterCurrent;
+ private long trxvutxReceiverCurrent;
+ private long trxvutxPowerAmplifierCurrent;
+ private long trxvutxPowerAmplifierTemperature;
+ private long trxvutxLocalOscillatorTemperature;
+ private long trxvutxZeroPadding;
+ private long trxvuTxUptime;
+ private int trxvuTxState;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ }
+
+ public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvutxSupplyVoltage() {
+ return trxvutxSupplyVoltage;
+ }
+
+ public long trxvutxTotalSupplyCurrent() {
+ return trxvutxTotalSupplyCurrent;
+ }
+
+ public long trxvutxTransmitterCurrent() {
+ return trxvutxTransmitterCurrent;
+ }
+
+ public long trxvutxReceiverCurrent() {
+ return trxvutxReceiverCurrent;
+ }
+
+ public long trxvutxPowerAmplifierCurrent() {
+ return trxvutxPowerAmplifierCurrent;
+ }
+
+ public long trxvutxPowerAmplifierTemperature() {
+ return trxvutxPowerAmplifierTemperature;
+ }
+
+ public long trxvutxLocalOscillatorTemperature() {
+ return trxvutxLocalOscillatorTemperature;
+ }
+
+ public long trxvutxZeroPadding() {
+ return trxvutxZeroPadding;
+ }
+
+ public long trxvuTxUptime() {
+ return trxvuTxUptime;
+ }
+
+ public int trxvuTxState() {
+ return trxvuTxState;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardAllScience extends KaitaiStruct {
+ public static MainboardAllScience fromFile(String fileName) throws IOException {
+ return new MainboardAllScience(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardAllScience(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardScienceTime = this._io.readU4be();
+ this.teachWearOn = this._io.readU1();
+ this.frequenceOfAcquisitions = this._io.readU2be();
+ this.gain = this._io.readU4be();
+ this.numberOfAcquisitionCommanded = this._io.readU2be();
+ this.numberOfRealAcquisition = this._io.readU2be();
+ this.hkPlus5v = this._io.readU4be();
+ this.hkMinus5v = this._io.readU4be();
+ this.hkMinus5vPolar = this._io.readU4be();
+ this.hkTempAdc = this._io.readU4be();
+ this.hkFeePlusXVref = this._io.readU4be();
+ this.hkFeeMinusXVref = this._io.readU4be();
+ this.hkFeePlusYVref = this._io.readU4be();
+ this.hkFeeMinusYVref = this._io.readU4be();
+ this.feePlusXErs1Signal = this._io.readU4be();
+ this.feePlusXErs1Temperature = this._io.readU4be();
+ this.feePlusXErs2Signal = this._io.readU4be();
+ this.feePlusXErs2Temperature = this._io.readU4be();
+ this.feePlusXErs3Signal = this._io.readU4be();
+ this.feePlusXErs3Temperature = this._io.readU4be();
+ this.feePlusXUvsSignal = this._io.readU4be();
+ this.feeMinusXErs1Signal = this._io.readU4be();
+ this.feeMinusXErs1Temperature = this._io.readU4be();
+ this.feeMinusXErs2Signal = this._io.readU4be();
+ this.feeMinusXErs2Temperature = this._io.readU4be();
+ this.feeMinusXErs3Signal = this._io.readU4be();
+ this.feeMinusXErs3Temperature = this._io.readU4be();
+ this.feeMinusXUvsSignal = this._io.readU4be();
+ this.feePlusYErs1Signal = this._io.readU4be();
+ this.feePlusYErs1Temperature = this._io.readU4be();
+ this.feePlusYErs2Signal = this._io.readU4be();
+ this.feePlusYErs2Temperature = this._io.readU4be();
+ this.feePlusYErs3Signal = this._io.readU4be();
+ this.feePlusYErs3Temperature = this._io.readU4be();
+ this.feePlusYUvsSignal = this._io.readU4be();
+ this.feeMinusYErs1Signal = this._io.readU4be();
+ this.feeMinusYErs1Temperature = this._io.readU4be();
+ this.feeMinusYErs2Signal = this._io.readU4be();
+ this.feeMinusYErs2Temperature = this._io.readU4be();
+ this.feeMinusYErs3Signal = this._io.readU4be();
+ this.feeMinusYErs3Temperature = this._io.readU4be();
+ this.feeMinusYUvsSignal = this._io.readU4be();
+ this.teachwearAccX = this._io.readU2be();
+ this.teachwearAccY = this._io.readU2be();
+ this.teachwearAccZ = this._io.readU2be();
+ this.teachwearDegC = this._io.readU2be();
+ this.teachwearGyroX = this._io.readU2be();
+ this.teachwearGyroY = this._io.readU2be();
+ this.teachwearGyroZ = this._io.readU2be();
+ this.teachwearMagnX = this._io.readU2be();
+ this.teachwearMagnY = this._io.readU2be();
+ this.teachwearMagnZ = this._io.readU2be();
+ this.teachwearState = this._io.readU1();
+ this.teachwearResetReason = this._io.readU1();
+ this.teachwearCrc = this._io.readU2be();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ }
+
+ private Long feePlusYErs1SignalRaw;
+
+ public Long feePlusYErs1SignalRaw() {
+ if (this.feePlusYErs1SignalRaw != null) return this.feePlusYErs1SignalRaw;
+ long _tmp = (long) (feePlusYErs1Signal());
+ this.feePlusYErs1SignalRaw = _tmp;
+ return this.feePlusYErs1SignalRaw;
+ }
+
+ private Long feeMinusYErs1TemperatureRaw;
+
+ public Long feeMinusYErs1TemperatureRaw() {
+ if (this.feeMinusYErs1TemperatureRaw != null) return this.feeMinusYErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs1Temperature());
+ this.feeMinusYErs1TemperatureRaw = _tmp;
+ return this.feeMinusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearCRCRaw;
+
+ public Integer teachwearCRCRaw() {
+ if (this.teachwearCRCRaw != null) return this.teachwearCRCRaw;
+ int _tmp = (int) (teachwearCrc());
+ this.teachwearCRCRaw = _tmp;
+ return this.teachwearCRCRaw;
+ }
+
+ private Long feePlusXErs2SignalRaw;
+
+ public Long feePlusXErs2SignalRaw() {
+ if (this.feePlusXErs2SignalRaw != null) return this.feePlusXErs2SignalRaw;
+ long _tmp = (long) (feePlusXErs2Signal());
+ this.feePlusXErs2SignalRaw = _tmp;
+ return this.feePlusXErs2SignalRaw;
+ }
+
+ private Long hkFeePlusXVrefRaw;
+
+ public Long hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ long _tmp = (long) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Long feeMinusYUvsSignalRaw;
+
+ public Long feeMinusYUvsSignalRaw() {
+ if (this.feeMinusYUvsSignalRaw != null) return this.feeMinusYUvsSignalRaw;
+ long _tmp = (long) (feeMinusYUvsSignal());
+ this.feeMinusYUvsSignalRaw = _tmp;
+ return this.feeMinusYUvsSignalRaw;
+ }
+
+ private Integer teachwearMagnYRaw;
+
+ public Integer teachwearMagnYRaw() {
+ if (this.teachwearMagnYRaw != null) return this.teachwearMagnYRaw;
+ int _tmp = (int) (teachwearMagnY());
+ this.teachwearMagnYRaw = _tmp;
+ return this.teachwearMagnYRaw;
+ }
+
+ private Long hkMinus5vPolarRaw;
+
+ public Long hkMinus5vPolarRaw() {
+ if (this.hkMinus5vPolarRaw != null) return this.hkMinus5vPolarRaw;
+ long _tmp = (long) (hkMinus5vPolar());
+ this.hkMinus5vPolarRaw = _tmp;
+ return this.hkMinus5vPolarRaw;
+ }
+
+ private Integer teachwearGyroZRaw;
+
+ public Integer teachwearGyroZRaw() {
+ if (this.teachwearGyroZRaw != null) return this.teachwearGyroZRaw;
+ int _tmp = (int) (teachwearGyroZ());
+ this.teachwearGyroZRaw = _tmp;
+ return this.teachwearGyroZRaw;
+ }
+
+ private Long feePlusXErs2TemperatureRaw;
+
+ public Long feePlusXErs2TemperatureRaw() {
+ if (this.feePlusXErs2TemperatureRaw != null) return this.feePlusXErs2TemperatureRaw;
+ long _tmp = (long) (feePlusXErs2Temperature());
+ this.feePlusXErs2TemperatureRaw = _tmp;
+ return this.feePlusXErs2TemperatureRaw;
+ }
+
+ private Long feeMinusYErs3TemperatureRaw;
+
+ public Long feeMinusYErs3TemperatureRaw() {
+ if (this.feeMinusYErs3TemperatureRaw != null) return this.feeMinusYErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs3Temperature());
+ this.feeMinusYErs3TemperatureRaw = _tmp;
+ return this.feeMinusYErs3TemperatureRaw;
+ }
+
+ private Long feePlusYUvsSignalRaw;
+
+ public Long feePlusYUvsSignalRaw() {
+ if (this.feePlusYUvsSignalRaw != null) return this.feePlusYUvsSignalRaw;
+ long _tmp = (long) (feePlusYUvsSignal());
+ this.feePlusYUvsSignalRaw = _tmp;
+ return this.feePlusYUvsSignalRaw;
+ }
+
+ private Long hkTempAdcRaw;
+
+ public Long hkTempAdcRaw() {
+ if (this.hkTempAdcRaw != null) return this.hkTempAdcRaw;
+ long _tmp = (long) (hkTempAdc());
+ this.hkTempAdcRaw = _tmp;
+ return this.hkTempAdcRaw;
+ }
+
+ private Long feePlusXErs3TemperatureRaw;
+
+ public Long feePlusXErs3TemperatureRaw() {
+ if (this.feePlusXErs3TemperatureRaw != null) return this.feePlusXErs3TemperatureRaw;
+ long _tmp = (long) (feePlusXErs3Temperature());
+ this.feePlusXErs3TemperatureRaw = _tmp;
+ return this.feePlusXErs3TemperatureRaw;
+ }
+
+ private Long hkFeePlusYVrefRaw;
+
+ public Long hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ long _tmp = (long) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Long feeMinusYErs3SignalRaw;
+
+ public Long feeMinusYErs3SignalRaw() {
+ if (this.feeMinusYErs3SignalRaw != null) return this.feeMinusYErs3SignalRaw;
+ long _tmp = (long) (feeMinusYErs3Signal());
+ this.feeMinusYErs3SignalRaw = _tmp;
+ return this.feeMinusYErs3SignalRaw;
+ }
+
+ private Long feeMinusXErs2SignalRaw;
+
+ public Long feeMinusXErs2SignalRaw() {
+ if (this.feeMinusXErs2SignalRaw != null) return this.feeMinusXErs2SignalRaw;
+ long _tmp = (long) (feeMinusXErs2Signal());
+ this.feeMinusXErs2SignalRaw = _tmp;
+ return this.feeMinusXErs2SignalRaw;
+ }
+
+ private Integer numberOfAcquisitionCommandedRaw;
+
+ public Integer numberOfAcquisitionCommandedRaw() {
+ if (this.numberOfAcquisitionCommandedRaw != null) return this.numberOfAcquisitionCommandedRaw;
+ int _tmp = (int) (numberOfAcquisitionCommanded());
+ this.numberOfAcquisitionCommandedRaw = _tmp;
+ return this.numberOfAcquisitionCommandedRaw;
+ }
+
+ private Long gainRaw;
+
+ public Long gainRaw() {
+ if (this.gainRaw != null) return this.gainRaw;
+ long _tmp = (long) (gain());
+ this.gainRaw = _tmp;
+ return this.gainRaw;
+ }
+
+ private Long feeMinusYErs1SignalRaw;
+
+ public Long feeMinusYErs1SignalRaw() {
+ if (this.feeMinusYErs1SignalRaw != null) return this.feeMinusYErs1SignalRaw;
+ long _tmp = (long) (feeMinusYErs1Signal());
+ this.feeMinusYErs1SignalRaw = _tmp;
+ return this.feeMinusYErs1SignalRaw;
+ }
+
+ private Integer teachwearAccZRaw;
+
+ public Integer teachwearAccZRaw() {
+ if (this.teachwearAccZRaw != null) return this.teachwearAccZRaw;
+ int _tmp = (int) (teachwearAccZ());
+ this.teachwearAccZRaw = _tmp;
+ return this.teachwearAccZRaw;
+ }
+
+ private Long mainboardScienceTimeRaw;
+
+ public Long mainboardScienceTimeRaw() {
+ if (this.mainboardScienceTimeRaw != null) return this.mainboardScienceTimeRaw;
+ long _tmp = (long) (mainboardScienceTime());
+ this.mainboardScienceTimeRaw = _tmp;
+ return this.mainboardScienceTimeRaw;
+ }
+
+ private Long feePlusXErs3SignalRaw;
+
+ public Long feePlusXErs3SignalRaw() {
+ if (this.feePlusXErs3SignalRaw != null) return this.feePlusXErs3SignalRaw;
+ long _tmp = (long) (feePlusXErs3Signal());
+ this.feePlusXErs3SignalRaw = _tmp;
+ return this.feePlusXErs3SignalRaw;
+ }
+
+ private Integer teachwearAccXRaw;
+
+ public Integer teachwearAccXRaw() {
+ if (this.teachwearAccXRaw != null) return this.teachwearAccXRaw;
+ int _tmp = (int) (teachwearAccX());
+ this.teachwearAccXRaw = _tmp;
+ return this.teachwearAccXRaw;
+ }
+
+ private Long feeMinusXUvsSignalRaw;
+
+ public Long feeMinusXUvsSignalRaw() {
+ if (this.feeMinusXUvsSignalRaw != null) return this.feeMinusXUvsSignalRaw;
+ long _tmp = (long) (feeMinusXUvsSignal());
+ this.feeMinusXUvsSignalRaw = _tmp;
+ return this.feeMinusXUvsSignalRaw;
+ }
+
+ private Long feePlusYErs3TemperatureRaw;
+
+ public Long feePlusYErs3TemperatureRaw() {
+ if (this.feePlusYErs3TemperatureRaw != null) return this.feePlusYErs3TemperatureRaw;
+ long _tmp = (long) (feePlusYErs3Temperature());
+ this.feePlusYErs3TemperatureRaw = _tmp;
+ return this.feePlusYErs3TemperatureRaw;
+ }
+
+ private Long feeMinusXErs1TemperatureRaw;
+
+ public Long feeMinusXErs1TemperatureRaw() {
+ if (this.feeMinusXErs1TemperatureRaw != null) return this.feeMinusXErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs1Temperature());
+ this.feeMinusXErs1TemperatureRaw = _tmp;
+ return this.feeMinusXErs1TemperatureRaw;
+ }
+
+ private Long hkPlus5vRaw;
+
+ public Long hkPlus5vRaw() {
+ if (this.hkPlus5vRaw != null) return this.hkPlus5vRaw;
+ long _tmp = (long) (hkPlus5v());
+ this.hkPlus5vRaw = _tmp;
+ return this.hkPlus5vRaw;
+ }
+
+ private Integer numberOfRealAcquisitionRaw;
+
+ public Integer numberOfRealAcquisitionRaw() {
+ if (this.numberOfRealAcquisitionRaw != null) return this.numberOfRealAcquisitionRaw;
+ int _tmp = (int) (numberOfRealAcquisition());
+ this.numberOfRealAcquisitionRaw = _tmp;
+ return this.numberOfRealAcquisitionRaw;
+ }
+
+ private Long feePlusYErs2SignalRaw;
+
+ public Long feePlusYErs2SignalRaw() {
+ if (this.feePlusYErs2SignalRaw != null) return this.feePlusYErs2SignalRaw;
+ long _tmp = (long) (feePlusYErs2Signal());
+ this.feePlusYErs2SignalRaw = _tmp;
+ return this.feePlusYErs2SignalRaw;
+ }
+
+ private Integer teachWearOnRaw;
+
+ public Integer teachWearOnRaw() {
+ if (this.teachWearOnRaw != null) return this.teachWearOnRaw;
+ int _tmp = (int) (teachWearOn());
+ this.teachWearOnRaw = _tmp;
+ return this.teachWearOnRaw;
+ }
+
+ private Integer frequenceOfAcquisitionsRaw;
+
+ public Integer frequenceOfAcquisitionsRaw() {
+ if (this.frequenceOfAcquisitionsRaw != null) return this.frequenceOfAcquisitionsRaw;
+ int _tmp = (int) (frequenceOfAcquisitions());
+ this.frequenceOfAcquisitionsRaw = _tmp;
+ return this.frequenceOfAcquisitionsRaw;
+ }
+
+ private Long feePlusYErs2TemperatureRaw;
+
+ public Long feePlusYErs2TemperatureRaw() {
+ if (this.feePlusYErs2TemperatureRaw != null) return this.feePlusYErs2TemperatureRaw;
+ long _tmp = (long) (feePlusYErs2Temperature());
+ this.feePlusYErs2TemperatureRaw = _tmp;
+ return this.feePlusYErs2TemperatureRaw;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer teachwearMagnXRaw;
+
+ public Integer teachwearMagnXRaw() {
+ if (this.teachwearMagnXRaw != null) return this.teachwearMagnXRaw;
+ int _tmp = (int) (teachwearMagnX());
+ this.teachwearMagnXRaw = _tmp;
+ return this.teachwearMagnXRaw;
+ }
+
+ private Long feeMinusXErs1SignalRaw;
+
+ public Long feeMinusXErs1SignalRaw() {
+ if (this.feeMinusXErs1SignalRaw != null) return this.feeMinusXErs1SignalRaw;
+ long _tmp = (long) (feeMinusXErs1Signal());
+ this.feeMinusXErs1SignalRaw = _tmp;
+ return this.feeMinusXErs1SignalRaw;
+ }
+
+ private Long feeMinusXErs3SignalRaw;
+
+ public Long feeMinusXErs3SignalRaw() {
+ if (this.feeMinusXErs3SignalRaw != null) return this.feeMinusXErs3SignalRaw;
+ long _tmp = (long) (feeMinusXErs3Signal());
+ this.feeMinusXErs3SignalRaw = _tmp;
+ return this.feeMinusXErs3SignalRaw;
+ }
+
+ private Long feeMinusYErs2SignalRaw;
+
+ public Long feeMinusYErs2SignalRaw() {
+ if (this.feeMinusYErs2SignalRaw != null) return this.feeMinusYErs2SignalRaw;
+ long _tmp = (long) (feeMinusYErs2Signal());
+ this.feeMinusYErs2SignalRaw = _tmp;
+ return this.feeMinusYErs2SignalRaw;
+ }
+
+ private Long feeMinusYErs2TemperatureRaw;
+
+ public Long feeMinusYErs2TemperatureRaw() {
+ if (this.feeMinusYErs2TemperatureRaw != null) return this.feeMinusYErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs2Temperature());
+ this.feeMinusYErs2TemperatureRaw = _tmp;
+ return this.feeMinusYErs2TemperatureRaw;
+ }
+
+ private Long feeMinusXErs2TemperatureRaw;
+
+ public Long feeMinusXErs2TemperatureRaw() {
+ if (this.feeMinusXErs2TemperatureRaw != null) return this.feeMinusXErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs2Temperature());
+ this.feeMinusXErs2TemperatureRaw = _tmp;
+ return this.feeMinusXErs2TemperatureRaw;
+ }
+
+ private Long feePlusXErs1TemperatureRaw;
+
+ public Long feePlusXErs1TemperatureRaw() {
+ if (this.feePlusXErs1TemperatureRaw != null) return this.feePlusXErs1TemperatureRaw;
+ long _tmp = (long) (feePlusXErs1Temperature());
+ this.feePlusXErs1TemperatureRaw = _tmp;
+ return this.feePlusXErs1TemperatureRaw;
+ }
+
+ private Long hkFeeMinusXVrefRaw;
+
+ public Long hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ long _tmp = (long) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Long feePlusYErs1TemperatureRaw;
+
+ public Long feePlusYErs1TemperatureRaw() {
+ if (this.feePlusYErs1TemperatureRaw != null) return this.feePlusYErs1TemperatureRaw;
+ long _tmp = (long) (feePlusYErs1Temperature());
+ this.feePlusYErs1TemperatureRaw = _tmp;
+ return this.feePlusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearGyroXRaw;
+
+ public Integer teachwearGyroXRaw() {
+ if (this.teachwearGyroXRaw != null) return this.teachwearGyroXRaw;
+ int _tmp = (int) (teachwearGyroX());
+ this.teachwearGyroXRaw = _tmp;
+ return this.teachwearGyroXRaw;
+ }
+
+ private Long feePlusXUvsSignalRaw;
+
+ public Long feePlusXUvsSignalRaw() {
+ if (this.feePlusXUvsSignalRaw != null) return this.feePlusXUvsSignalRaw;
+ long _tmp = (long) (feePlusXUvsSignal());
+ this.feePlusXUvsSignalRaw = _tmp;
+ return this.feePlusXUvsSignalRaw;
+ }
+
+ private Long hkFeeMinusYVrefRaw;
+
+ public Long hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ long _tmp = (long) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private Integer teachwearStateRaw;
+
+ public Integer teachwearStateRaw() {
+ if (this.teachwearStateRaw != null) return this.teachwearStateRaw;
+ int _tmp = (int) (teachwearState());
+ this.teachwearStateRaw = _tmp;
+ return this.teachwearStateRaw;
+ }
+
+ private Long feePlusXErs1SignalRaw;
+
+ public Long feePlusXErs1SignalRaw() {
+ if (this.feePlusXErs1SignalRaw != null) return this.feePlusXErs1SignalRaw;
+ long _tmp = (long) (feePlusXErs1Signal());
+ this.feePlusXErs1SignalRaw = _tmp;
+ return this.feePlusXErs1SignalRaw;
+ }
+
+ private Long hkMinus5vRaw;
+
+ public Long hkMinus5vRaw() {
+ if (this.hkMinus5vRaw != null) return this.hkMinus5vRaw;
+ long _tmp = (long) (hkMinus5v());
+ this.hkMinus5vRaw = _tmp;
+ return this.hkMinus5vRaw;
+ }
+
+ private Long feeMinusXErs3TemperatureRaw;
+
+ public Long feeMinusXErs3TemperatureRaw() {
+ if (this.feeMinusXErs3TemperatureRaw != null) return this.feeMinusXErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs3Temperature());
+ this.feeMinusXErs3TemperatureRaw = _tmp;
+ return this.feeMinusXErs3TemperatureRaw;
+ }
+
+ private Integer teachwearResetReasonRaw;
+
+ public Integer teachwearResetReasonRaw() {
+ if (this.teachwearResetReasonRaw != null) return this.teachwearResetReasonRaw;
+ int _tmp = (int) (teachwearResetReason());
+ this.teachwearResetReasonRaw = _tmp;
+ return this.teachwearResetReasonRaw;
+ }
+
+ private Integer teachwearDegCRaw;
+
+ public Integer teachwearDegCRaw() {
+ if (this.teachwearDegCRaw != null) return this.teachwearDegCRaw;
+ int _tmp = (int) (teachwearDegC());
+ this.teachwearDegCRaw = _tmp;
+ return this.teachwearDegCRaw;
+ }
+
+ private Integer teachwearGyroYRaw;
+
+ public Integer teachwearGyroYRaw() {
+ if (this.teachwearGyroYRaw != null) return this.teachwearGyroYRaw;
+ int _tmp = (int) (teachwearGyroY());
+ this.teachwearGyroYRaw = _tmp;
+ return this.teachwearGyroYRaw;
+ }
+
+ private Integer teachwearMagnZRaw;
+
+ public Integer teachwearMagnZRaw() {
+ if (this.teachwearMagnZRaw != null) return this.teachwearMagnZRaw;
+ int _tmp = (int) (teachwearMagnZ());
+ this.teachwearMagnZRaw = _tmp;
+ return this.teachwearMagnZRaw;
+ }
+
+ private Long feePlusYErs3SignalRaw;
+
+ public Long feePlusYErs3SignalRaw() {
+ if (this.feePlusYErs3SignalRaw != null) return this.feePlusYErs3SignalRaw;
+ long _tmp = (long) (feePlusYErs3Signal());
+ this.feePlusYErs3SignalRaw = _tmp;
+ return this.feePlusYErs3SignalRaw;
+ }
+
+ private Integer teachwearAccYRaw;
+
+ public Integer teachwearAccYRaw() {
+ if (this.teachwearAccYRaw != null) return this.teachwearAccYRaw;
+ int _tmp = (int) (teachwearAccY());
+ this.teachwearAccYRaw = _tmp;
+ return this.teachwearAccYRaw;
+ }
+
+ private long mainboardScienceTime;
+ private int teachWearOn;
+ private int frequenceOfAcquisitions;
+ private long gain;
+ private int numberOfAcquisitionCommanded;
+ private int numberOfRealAcquisition;
+ private long hkPlus5v;
+ private long hkMinus5v;
+ private long hkMinus5vPolar;
+ private long hkTempAdc;
+ private long hkFeePlusXVref;
+ private long hkFeeMinusXVref;
+ private long hkFeePlusYVref;
+ private long hkFeeMinusYVref;
+ private long feePlusXErs1Signal;
+ private long feePlusXErs1Temperature;
+ private long feePlusXErs2Signal;
+ private long feePlusXErs2Temperature;
+ private long feePlusXErs3Signal;
+ private long feePlusXErs3Temperature;
+ private long feePlusXUvsSignal;
+ private long feeMinusXErs1Signal;
+ private long feeMinusXErs1Temperature;
+ private long feeMinusXErs2Signal;
+ private long feeMinusXErs2Temperature;
+ private long feeMinusXErs3Signal;
+ private long feeMinusXErs3Temperature;
+ private long feeMinusXUvsSignal;
+ private long feePlusYErs1Signal;
+ private long feePlusYErs1Temperature;
+ private long feePlusYErs2Signal;
+ private long feePlusYErs2Temperature;
+ private long feePlusYErs3Signal;
+ private long feePlusYErs3Temperature;
+ private long feePlusYUvsSignal;
+ private long feeMinusYErs1Signal;
+ private long feeMinusYErs1Temperature;
+ private long feeMinusYErs2Signal;
+ private long feeMinusYErs2Temperature;
+ private long feeMinusYErs3Signal;
+ private long feeMinusYErs3Temperature;
+ private long feeMinusYUvsSignal;
+ private int teachwearAccX;
+ private int teachwearAccY;
+ private int teachwearAccZ;
+ private int teachwearDegC;
+ private int teachwearGyroX;
+ private int teachwearGyroY;
+ private int teachwearGyroZ;
+ private int teachwearMagnX;
+ private int teachwearMagnY;
+ private int teachwearMagnZ;
+ private int teachwearState;
+ private int teachwearResetReason;
+ private int teachwearCrc;
+ private long nbTmSinceFirstStart;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public long mainboardScienceTime() {
+ return mainboardScienceTime;
+ }
+
+ public int teachWearOn() {
+ return teachWearOn;
+ }
+
+ public int frequenceOfAcquisitions() {
+ return frequenceOfAcquisitions;
+ }
+
+ public long gain() {
+ return gain;
+ }
+
+ public int numberOfAcquisitionCommanded() {
+ return numberOfAcquisitionCommanded;
+ }
+
+ public int numberOfRealAcquisition() {
+ return numberOfRealAcquisition;
+ }
+
+ public long hkPlus5v() {
+ return hkPlus5v;
+ }
+
+ public long hkMinus5v() {
+ return hkMinus5v;
+ }
+
+ public long hkMinus5vPolar() {
+ return hkMinus5vPolar;
+ }
+
+ public long hkTempAdc() {
+ return hkTempAdc;
+ }
+
+ public long hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public long hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public long hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public long hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public long feePlusXErs1Signal() {
+ return feePlusXErs1Signal;
+ }
+
+ public long feePlusXErs1Temperature() {
+ return feePlusXErs1Temperature;
+ }
+
+ public long feePlusXErs2Signal() {
+ return feePlusXErs2Signal;
+ }
+
+ public long feePlusXErs2Temperature() {
+ return feePlusXErs2Temperature;
+ }
+
+ public long feePlusXErs3Signal() {
+ return feePlusXErs3Signal;
+ }
+
+ public long feePlusXErs3Temperature() {
+ return feePlusXErs3Temperature;
+ }
+
+ public long feePlusXUvsSignal() {
+ return feePlusXUvsSignal;
+ }
+
+ public long feeMinusXErs1Signal() {
+ return feeMinusXErs1Signal;
+ }
+
+ public long feeMinusXErs1Temperature() {
+ return feeMinusXErs1Temperature;
+ }
+
+ public long feeMinusXErs2Signal() {
+ return feeMinusXErs2Signal;
+ }
+
+ public long feeMinusXErs2Temperature() {
+ return feeMinusXErs2Temperature;
+ }
+
+ public long feeMinusXErs3Signal() {
+ return feeMinusXErs3Signal;
+ }
+
+ public long feeMinusXErs3Temperature() {
+ return feeMinusXErs3Temperature;
+ }
+
+ public long feeMinusXUvsSignal() {
+ return feeMinusXUvsSignal;
+ }
+
+ public long feePlusYErs1Signal() {
+ return feePlusYErs1Signal;
+ }
+
+ public long feePlusYErs1Temperature() {
+ return feePlusYErs1Temperature;
+ }
+
+ public long feePlusYErs2Signal() {
+ return feePlusYErs2Signal;
+ }
+
+ public long feePlusYErs2Temperature() {
+ return feePlusYErs2Temperature;
+ }
+
+ public long feePlusYErs3Signal() {
+ return feePlusYErs3Signal;
+ }
+
+ public long feePlusYErs3Temperature() {
+ return feePlusYErs3Temperature;
+ }
+
+ public long feePlusYUvsSignal() {
+ return feePlusYUvsSignal;
+ }
+
+ public long feeMinusYErs1Signal() {
+ return feeMinusYErs1Signal;
+ }
+
+ public long feeMinusYErs1Temperature() {
+ return feeMinusYErs1Temperature;
+ }
+
+ public long feeMinusYErs2Signal() {
+ return feeMinusYErs2Signal;
+ }
+
+ public long feeMinusYErs2Temperature() {
+ return feeMinusYErs2Temperature;
+ }
+
+ public long feeMinusYErs3Signal() {
+ return feeMinusYErs3Signal;
+ }
+
+ public long feeMinusYErs3Temperature() {
+ return feeMinusYErs3Temperature;
+ }
+
+ public long feeMinusYUvsSignal() {
+ return feeMinusYUvsSignal;
+ }
+
+ public int teachwearAccX() {
+ return teachwearAccX;
+ }
+
+ public int teachwearAccY() {
+ return teachwearAccY;
+ }
+
+ public int teachwearAccZ() {
+ return teachwearAccZ;
+ }
+
+ public int teachwearDegC() {
+ return teachwearDegC;
+ }
+
+ public int teachwearGyroX() {
+ return teachwearGyroX;
+ }
+
+ public int teachwearGyroY() {
+ return teachwearGyroY;
+ }
+
+ public int teachwearGyroZ() {
+ return teachwearGyroZ;
+ }
+
+ public int teachwearMagnX() {
+ return teachwearMagnX;
+ }
+
+ public int teachwearMagnY() {
+ return teachwearMagnY;
+ }
+
+ public int teachwearMagnZ() {
+ return teachwearMagnZ;
+ }
+
+ public int teachwearState() {
+ return teachwearState;
+ }
+
+ public int teachwearResetReason() {
+ return teachwearResetReason;
+ }
+
+ public int teachwearCrc() {
+ return teachwearCrc;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AmsatAscii extends KaitaiStruct {
+ public static AmsatAscii fromFile(String fileName) throws IOException {
+ return new AmsatAscii(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AmsatAscii(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.message = new String(this._io.readBytesFull(), Charset.forName("UTF-8"));
+ }
+
+ private String messageStr;
+
+ public String messageStr() {
+ if (this.messageStr != null) return this.messageStr;
+ this.messageStr = message();
+ return this.messageStr;
+ }
+
+ private String message;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public String message() {
+ return message;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class TrxvurxHk extends KaitaiStruct {
+ public static TrxvurxHk fromFile(String fileName) throws IOException {
+ return new TrxvurxHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public TrxvurxHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public TrxvurxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public TrxvurxHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsInt(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsInt(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsInt(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsInt(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsInt(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsInt(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsInt(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsInt(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsInt(12);
+ this.trxvurxZeroPadding = this._io.readBitsInt(4);
+ this._io.alignToByte();
+ this.trxvuRxUptime = this._io.readU4be();
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
+
+ public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ double _tmp =
+ (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
+ this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalDopplerHz;
+
+ public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ double _tmp =
+ (double)
+ (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552)
+ - 22300));
+ this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ }
+
+ private Double trxvurxSupplyVoltageV;
+
+ public Double trxvurxSupplyVoltageV() {
+ if (this.trxvurxSupplyVoltageV != null) return this.trxvurxSupplyVoltageV;
+ double _tmp = (double) ((trxvurxSupplyVoltage() * 0.00488));
+ this.trxvurxSupplyVoltageV = _tmp;
+ return this.trxvurxSupplyVoltageV;
+ }
+
+ private Double trxvurxLocalOscillatorTemperatureC;
+
+ public Double trxvurxLocalOscillatorTemperatureC() {
+ if (this.trxvurxLocalOscillatorTemperatureC != null)
+ return this.trxvurxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvurxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvurxTransmitterCurrentMa;
+
+ public Double trxvurxTransmitterCurrentMa() {
+ if (this.trxvurxTransmitterCurrentMa != null) return this.trxvurxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
+ this.trxvurxTransmitterCurrentMa = _tmp;
+ return this.trxvurxTransmitterCurrentMa;
+ }
+
+ private Long trxvurxZeroPaddingRaw;
+
+ public Long trxvurxZeroPaddingRaw() {
+ if (this.trxvurxZeroPaddingRaw != null) return this.trxvurxZeroPaddingRaw;
+ long _tmp = (long) (trxvurxZeroPadding());
+ this.trxvurxZeroPaddingRaw = _tmp;
+ return this.trxvurxZeroPaddingRaw;
+ }
+
+ private Double trxvurxPowerAmplifierCurrentMa;
+
+ public Double trxvurxPowerAmplifierCurrentMa() {
+ if (this.trxvurxPowerAmplifierCurrentMa != null) return this.trxvurxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvurxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvurxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxTotalSupplyCurrentMa;
+
+ public Double trxvurxTotalSupplyCurrentMa() {
+ if (this.trxvurxTotalSupplyCurrentMa != null) return this.trxvurxTotalSupplyCurrentMa;
+ double _tmp = (double) ((trxvurxTotalSupplyCurrent() * 0.16643964));
+ this.trxvurxTotalSupplyCurrentMa = _tmp;
+ return this.trxvurxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvurxPowerAmplifierTemperatureC;
+
+ public Double trxvurxPowerAmplifierTemperatureC() {
+ if (this.trxvurxPowerAmplifierTemperatureC != null)
+ return this.trxvurxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvurxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureC;
+ }
+
+ private Long trxvuRxUptimeRaw;
+
+ public Long trxvuRxUptimeRaw() {
+ if (this.trxvuRxUptimeRaw != null) return this.trxvuRxUptimeRaw;
+ long _tmp = (long) (trxvuRxUptime());
+ this.trxvuRxUptimeRaw = _tmp;
+ return this.trxvuRxUptimeRaw;
+ }
+
+ private Double trxvurxReceiverCurrentMa;
+
+ public Double trxvurxReceiverCurrentMa() {
+ if (this.trxvurxReceiverCurrentMa != null) return this.trxvurxReceiverCurrentMa;
+ double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
+ this.trxvurxReceiverCurrentMa = _tmp;
+ return this.trxvurxReceiverCurrentMa;
+ }
+
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private long trxvurxZeroPadding;
+ private long trxvuRxUptime;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public long trxvurxZeroPadding() {
+ return trxvurxZeroPadding;
+ }
+
+ public long trxvuRxUptime() {
+ return trxvuRxUptime;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardHk extends KaitaiStruct {
+ public static MainboardHk fromFile(String fileName) throws IOException {
+ return new MainboardHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardHkTime = this._io.readU4be();
+ this.hkPlus5V = this._io.readU2be();
+ this.hkMinus5V = this._io.readU2be();
+ this.hkMinusPolar = this._io.readU2be();
+ this.hkTempADC = this._io.readU2be();
+ this.hkFeePlusXVref = this._io.readU2be();
+ this.hkFeeMinusXVref = this._io.readU2be();
+ this.hkFeePlusYVref = this._io.readU2be();
+ this.hkFeeMinusYVref = this._io.readU2be();
+ }
+
+ private Integer hkFeePlusXVrefRaw;
+
+ public Integer hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ int _tmp = (int) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Integer hkFeePlusYVrefRaw;
+
+ public Integer hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ int _tmp = (int) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Integer hkPlus5VRaw;
+
+ public Integer hkPlus5VRaw() {
+ if (this.hkPlus5VRaw != null) return this.hkPlus5VRaw;
+ int _tmp = (int) (hkPlus5V());
+ this.hkPlus5VRaw = _tmp;
+ return this.hkPlus5VRaw;
+ }
+
+ private Integer hkTempADCRaw;
+
+ public Integer hkTempADCRaw() {
+ if (this.hkTempADCRaw != null) return this.hkTempADCRaw;
+ int _tmp = (int) (hkTempADC());
+ this.hkTempADCRaw = _tmp;
+ return this.hkTempADCRaw;
+ }
+
+ private Long mainboardHKTimeRaw;
+
+ public Long mainboardHKTimeRaw() {
+ if (this.mainboardHKTimeRaw != null) return this.mainboardHKTimeRaw;
+ long _tmp = (long) (mainboardHkTime());
+ this.mainboardHKTimeRaw = _tmp;
+ return this.mainboardHKTimeRaw;
+ }
+
+ private Integer hkMinusPolarRaw;
+
+ public Integer hkMinusPolarRaw() {
+ if (this.hkMinusPolarRaw != null) return this.hkMinusPolarRaw;
+ int _tmp = (int) (hkMinusPolar());
+ this.hkMinusPolarRaw = _tmp;
+ return this.hkMinusPolarRaw;
+ }
+
+ private Integer hkMinus5VRaw;
+
+ public Integer hkMinus5VRaw() {
+ if (this.hkMinus5VRaw != null) return this.hkMinus5VRaw;
+ int _tmp = (int) (hkMinus5V());
+ this.hkMinus5VRaw = _tmp;
+ return this.hkMinus5VRaw;
+ }
+
+ private Integer hkFeeMinusXVrefRaw;
+
+ public Integer hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ int _tmp = (int) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Integer hkFeeMinusYVrefRaw;
+
+ public Integer hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ int _tmp = (int) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private long mainboardHkTime;
+ private int hkPlus5V;
+ private int hkMinus5V;
+ private int hkMinusPolar;
+ private int hkTempADC;
+ private int hkFeePlusXVref;
+ private int hkFeeMinusXVref;
+ private int hkFeePlusYVref;
+ private int hkFeeMinusYVref;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public long mainboardHkTime() {
+ return mainboardHkTime;
+ }
+
+ public int hkPlus5V() {
+ return hkPlus5V;
+ }
+
+ public int hkMinus5V() {
+ return hkMinus5V;
+ }
+
+ public int hkMinusPolar() {
+ return hkMinusPolar;
+ }
+
+ public int hkTempADC() {
+ return hkTempADC;
+ }
+
+ public int hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public int hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public int hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public int hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IFrame extends KaitaiStruct {
+ public static IFrame fromFile(String fileName) throws IOException {
+ return new IFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IFrame(KaitaiStream _io, Uvsqsat.Ax25Frame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private byte[] ax25Info;
+ private Uvsqsat _root;
+ private Uvsqsat.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class ObcStatus extends KaitaiStruct {
+ public static ObcStatus fromFile(String fileName) throws IOException {
+ return new ObcStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public ObcStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public ObcStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public ObcStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorIndexOfSubsystem = this._io.readU1();
+ this.supervisorMajorVersion = this._io.readU1();
+ this.supervisorMinorVersion = this._io.readU1();
+ this.supervisorPatchVersion = this._io.readU1();
+ this.supervisorGitHeadVersion = this._io.readU4be();
+ this.supervisorSerialNumber = this._io.readU2be();
+ this.compilationInformation = this._io.readBytes(19);
+ this.clockSpeed = this._io.readU1();
+ this.codeType = this._io.readU1();
+ this.crc8 = this._io.readU1();
+ this.swMmode = this._io.readU1();
+ this.lastResetReason = this._io.readU1();
+ this.reserved = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.reserved2 = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU4be();
+ this.nbBadTcSinceFirstStart = this._io.readU4be();
+ this.nbTmInSdcard = this._io.readU4be();
+ this.sdcardStatus = this._io.readU1();
+ this.sdcardLastError = this._io.readU4be();
+ this.oldTimeTMInSdcard = this._io.readBitsInt(56);
+ this.newTimeTMInSdcard = this._io.readBitsInt(56);
+ }
+
+ private Long newTimeTMInSdcardRaw;
+
+ public Long newTimeTMInSdcardRaw() {
+ if (this.newTimeTMInSdcardRaw != null) return this.newTimeTMInSdcardRaw;
+ long _tmp = (long) (newTimeTMInSdcard());
+ this.newTimeTMInSdcardRaw = _tmp;
+ return this.newTimeTMInSdcardRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Integer clockSpeedRaw;
+
+ public Integer clockSpeedRaw() {
+ if (this.clockSpeedRaw != null) return this.clockSpeedRaw;
+ int _tmp = (int) (clockSpeed());
+ this.clockSpeedRaw = _tmp;
+ return this.clockSpeedRaw;
+ }
+
+ private Integer lastResetReasonRaw;
+
+ public Integer lastResetReasonRaw() {
+ if (this.lastResetReasonRaw != null) return this.lastResetReasonRaw;
+ int _tmp = (int) (lastResetReason());
+ this.lastResetReasonRaw = _tmp;
+ return this.lastResetReasonRaw;
+ }
+
+ private Integer supervisorIndexOfSubsystemRaw;
+
+ public Integer supervisorIndexOfSubsystemRaw() {
+ if (this.supervisorIndexOfSubsystemRaw != null) return this.supervisorIndexOfSubsystemRaw;
+ int _tmp = (int) (supervisorIndexOfSubsystem());
+ this.supervisorIndexOfSubsystemRaw = _tmp;
+ return this.supervisorIndexOfSubsystemRaw;
+ }
+
+ private Integer crc8Raw;
+
+ public Integer crc8Raw() {
+ if (this.crc8Raw != null) return this.crc8Raw;
+ int _tmp = (int) (crc8());
+ this.crc8Raw = _tmp;
+ return this.crc8Raw;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Long supervisorGitHeadVersionRaw;
+
+ public Long supervisorGitHeadVersionRaw() {
+ if (this.supervisorGitHeadVersionRaw != null) return this.supervisorGitHeadVersionRaw;
+ long _tmp = (long) (supervisorGitHeadVersion());
+ this.supervisorGitHeadVersionRaw = _tmp;
+ return this.supervisorGitHeadVersionRaw;
+ }
+
+ private Integer supervisorMajorVersionRaw;
+
+ public Integer supervisorMajorVersionRaw() {
+ if (this.supervisorMajorVersionRaw != null) return this.supervisorMajorVersionRaw;
+ int _tmp = (int) (supervisorMajorVersion());
+ this.supervisorMajorVersionRaw = _tmp;
+ return this.supervisorMajorVersionRaw;
+ }
+
+ private byte[] compilationInformationByte;
+
+ public byte[] compilationInformationByte() {
+ if (this.compilationInformationByte != null) return this.compilationInformationByte;
+ this.compilationInformationByte = compilationInformation();
+ return this.compilationInformationByte;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer supervisorMinorVersionRaw;
+
+ public Integer supervisorMinorVersionRaw() {
+ if (this.supervisorMinorVersionRaw != null) return this.supervisorMinorVersionRaw;
+ int _tmp = (int) (supervisorMinorVersion());
+ this.supervisorMinorVersionRaw = _tmp;
+ return this.supervisorMinorVersionRaw;
+ }
+
+ private Integer sdcardStatusRaw;
+
+ public Integer sdcardStatusRaw() {
+ if (this.sdcardStatusRaw != null) return this.sdcardStatusRaw;
+ int _tmp = (int) (sdcardStatus());
+ this.sdcardStatusRaw = _tmp;
+ return this.sdcardStatusRaw;
+ }
+
+ private Integer supervisorPatchVersionRaw;
+
+ public Integer supervisorPatchVersionRaw() {
+ if (this.supervisorPatchVersionRaw != null) return this.supervisorPatchVersionRaw;
+ int _tmp = (int) (supervisorPatchVersion());
+ this.supervisorPatchVersionRaw = _tmp;
+ return this.supervisorPatchVersionRaw;
+ }
+
+ private Integer reservedRaw;
+
+ public Integer reservedRaw() {
+ if (this.reservedRaw != null) return this.reservedRaw;
+ int _tmp = (int) (reserved());
+ this.reservedRaw = _tmp;
+ return this.reservedRaw;
+ }
+
+ private Integer supervisorSerialNumberRaw;
+
+ public Integer supervisorSerialNumberRaw() {
+ if (this.supervisorSerialNumberRaw != null) return this.supervisorSerialNumberRaw;
+ int _tmp = (int) (supervisorSerialNumber());
+ this.supervisorSerialNumberRaw = _tmp;
+ return this.supervisorSerialNumberRaw;
+ }
+
+ private Long nbTmInSdcardRaw;
+
+ public Long nbTmInSdcardRaw() {
+ if (this.nbTmInSdcardRaw != null) return this.nbTmInSdcardRaw;
+ long _tmp = (long) (nbTmInSdcard());
+ this.nbTmInSdcardRaw = _tmp;
+ return this.nbTmInSdcardRaw;
+ }
+
+ private Integer reserved2Raw;
+
+ public Integer reserved2Raw() {
+ if (this.reserved2Raw != null) return this.reserved2Raw;
+ int _tmp = (int) (reserved2());
+ this.reserved2Raw = _tmp;
+ return this.reserved2Raw;
+ }
+
+ private Integer swMmodeRaw;
+
+ public Integer swMmodeRaw() {
+ if (this.swMmodeRaw != null) return this.swMmodeRaw;
+ int _tmp = (int) (swMmode());
+ this.swMmodeRaw = _tmp;
+ return this.swMmodeRaw;
+ }
+
+ private Integer codeTypeRaw;
+
+ public Integer codeTypeRaw() {
+ if (this.codeTypeRaw != null) return this.codeTypeRaw;
+ int _tmp = (int) (codeType());
+ this.codeTypeRaw = _tmp;
+ return this.codeTypeRaw;
+ }
+
+ private Long oldTimeTMInSdcardRaw;
+
+ public Long oldTimeTMInSdcardRaw() {
+ if (this.oldTimeTMInSdcardRaw != null) return this.oldTimeTMInSdcardRaw;
+ long _tmp = (long) (oldTimeTMInSdcard());
+ this.oldTimeTMInSdcardRaw = _tmp;
+ return this.oldTimeTMInSdcardRaw;
+ }
+
+ private Integer dummydummy;
+
+ public Integer dummydummy() {
+ if (this.dummydummy != null) return this.dummydummy;
+ int _tmp = (int) (dummy());
+ this.dummydummy = _tmp;
+ return this.dummydummy;
+ }
+
+ private Long nbTcSinceFirstStartRaw;
+
+ public Long nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ long _tmp = (long) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Long sdcardLastErrorRaw;
+
+ public Long sdcardLastErrorRaw() {
+ if (this.sdcardLastErrorRaw != null) return this.sdcardLastErrorRaw;
+ long _tmp = (long) (sdcardLastError());
+ this.sdcardLastErrorRaw = _tmp;
+ return this.sdcardLastErrorRaw;
+ }
+
+ private Long nbBadTcSinceFirstStartRaw;
+
+ public Long nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ long _tmp = (long) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorIndexOfSubsystem;
+ private int supervisorMajorVersion;
+ private int supervisorMinorVersion;
+ private int supervisorPatchVersion;
+ private long supervisorGitHeadVersion;
+ private int supervisorSerialNumber;
+ private byte[] compilationInformation;
+ private int clockSpeed;
+ private int codeType;
+ private int crc8;
+ private int swMmode;
+ private int lastResetReason;
+ private int reserved;
+ private int nbReset;
+ private int reserved2;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTcSinceFirstStart;
+ private long nbBadTcSinceFirstStart;
+ private long nbTmInSdcard;
+ private int sdcardStatus;
+ private long sdcardLastError;
+ private long oldTimeTMInSdcard;
+ private long newTimeTMInSdcard;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorIndexOfSubsystem() {
+ return supervisorIndexOfSubsystem;
+ }
+
+ public int supervisorMajorVersion() {
+ return supervisorMajorVersion;
+ }
+
+ public int supervisorMinorVersion() {
+ return supervisorMinorVersion;
+ }
+
+ public int supervisorPatchVersion() {
+ return supervisorPatchVersion;
+ }
+
+ public long supervisorGitHeadVersion() {
+ return supervisorGitHeadVersion;
+ }
+
+ public int supervisorSerialNumber() {
+ return supervisorSerialNumber;
+ }
+
+ public byte[] compilationInformation() {
+ return compilationInformation;
+ }
+
+ public int clockSpeed() {
+ return clockSpeed;
+ }
+
+ public int codeType() {
+ return codeType;
+ }
+
+ public int crc8() {
+ return crc8;
+ }
+
+ public int swMmode() {
+ return swMmode;
+ }
+
+ public int lastResetReason() {
+ return lastResetReason;
+ }
+
+ public int reserved() {
+ return reserved;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int reserved2() {
+ return reserved2;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public long nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long nbTmInSdcard() {
+ return nbTmInSdcard;
+ }
+
+ public int sdcardStatus() {
+ return sdcardStatus;
+ }
+
+ public long sdcardLastError() {
+ return sdcardLastError;
+ }
+
+ public long oldTimeTMInSdcard() {
+ return oldTimeTMInSdcard;
+ }
+
+ public long newTimeTMInSdcard() {
+ return newTimeTMInSdcard;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class SsidMask extends KaitaiStruct {
+ public static SsidMask fromFile(String fileName) throws IOException {
+ return new SsidMask(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public SsidMask(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public SsidMask(KaitaiStream _io, Uvsqsat.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public SsidMask(KaitaiStream _io, Uvsqsat.Ax25Header _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ssidMask = this._io.readU1();
+ }
+
+ private Integer ssid;
+
+ public Integer ssid() {
+ if (this.ssid != null) return this.ssid;
+ int _tmp = (int) (((ssidMask() & 15) >> 1));
+ this.ssid = _tmp;
+ return this.ssid;
+ }
+
+ private int ssidMask;
+ private Uvsqsat _root;
+ private Uvsqsat.Ax25Header _parent;
+
+ public int ssidMask() {
+ return ssidMask;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.Ax25Header _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Beacon extends KaitaiStruct {
+ public static Beacon fromFile(String fileName) throws IOException {
+ return new Beacon(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Beacon(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Beacon(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Beacon(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.swMode = this._io.readU1();
+ this.lastResetReason = this._io.readU1();
+ this.resetOrder = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.formatSdcardOrder = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU4be();
+ this.nbTcPingSinceFirstStart = this._io.readU4be();
+ this.nbBadTcSinceFirstStart = this._io.readU4be();
+ this.nbTmInSdcard = this._io.readU4be();
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsInt(12);
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsInt(12);
+ this.trxvutxSupplyVoltage = this._io.readBitsInt(12);
+ this.trxvutxTotalSupplyCurrent = this._io.readBitsInt(12);
+ this.trxvutxTransmitterCurrent = this._io.readBitsInt(12);
+ this.trxvutxReceiverCurrent = this._io.readBitsInt(12);
+ this.trxvutxPowerAmplifierCurrent = this._io.readBitsInt(12);
+ this.trxvutxPowerAmplifierTemperature = this._io.readBitsInt(12);
+ this.trxvutxLocalOscillatorTemperature = this._io.readBitsInt(12);
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsInt(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsInt(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsInt(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsInt(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsInt(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsInt(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsInt(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsInt(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsInt(12);
+ this._io.alignToByte();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.measureCoilXCurrent = this._io.readU2be();
+ this.measureCoilYCurrent = this._io.readU2be();
+ this.measureCoilZCurrent = this._io.readU2be();
+ this.measureCoilXTemperature = this._io.readU2be();
+ this.measureCoilYTemperature = this._io.readU2be();
+ this.measureCoilZTemperature = this._io.readU2be();
+ this.mcuTemperature = this._io.readU2be();
+ this.sideAAntsTemperature = this._io.readU2be();
+ this.sideAAntsDeploymentStatus = this._io.readU2be();
+ this.voltBrdSupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vDistInputRaw = this._io.readU2be();
+ this.iDistInputRaw = this._io.readU2be();
+ this.pDistInputRaw = this._io.readU2be();
+ this.vBattInputRaw = this._io.readU2be();
+ this.iBattInputRaw = this._io.readU2be();
+ this.pBattInputRaw = this._io.readU2be();
+ this.statObcOn = this._io.readU2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vObc00 = this._io.readU2be();
+ this.iObc00 = this._io.readU2be();
+ this.pObc00 = this._io.readU2be();
+ this.vObc01 = this._io.readU2be();
+ this.iObc01 = this._io.readU2be();
+ this.pObc01 = this._io.readU2be();
+ this.vObc02 = this._io.readU2be();
+ this.iObc02 = this._io.readU2be();
+ this.pObc02 = this._io.readU2be();
+ this.vObc03 = this._io.readU2be();
+ this.iObc03 = this._io.readU2be();
+ this.pObc03 = this._io.readU2be();
+ this.vObc05 = this._io.readU2be();
+ this.iObc05 = this._io.readU2be();
+ this.pObc05 = this._io.readU2be();
+ this.vObc06 = this._io.readU2be();
+ this.iObc06 = this._io.readU2be();
+ this.pObc06 = this._io.readU2be();
+ this.statusStid = this._io.readU1();
+ this.statusIvid = this._io.readU1();
+ this.statusRc = this._io.readU1();
+ this.statusBid = this._io.readU1();
+ this.statusCmderr = this._io.readBitsInt(4);
+ this.statusStat = this._io.readBitsInt(4);
+ this._io.alignToByte();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.uptime = this._io.readU4be();
+ this.error = this._io.readU2be();
+ this.rcCntPwron = this._io.readU2be();
+ this.rcCntWdg = this._io.readU2be();
+ this.rcCntCmd = this._io.readU2be();
+ this.rcCntMcu = this._io.readU2be();
+ this.rcCntEmlopo = this._io.readU2be();
+ this.prevcmdElapsed = this._io.readU2be();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Double measureCoilYTemperatureC;
+
+ public Double measureCoilYTemperatureC() {
+ if (this.measureCoilYTemperatureC != null) return this.measureCoilYTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilYTemperatureC = _tmp;
+ return this.measureCoilYTemperatureC;
+ }
+
+ private Integer rcCntPwronRaw;
+
+ public Integer rcCntPwronRaw() {
+ if (this.rcCntPwronRaw != null) return this.rcCntPwronRaw;
+ int _tmp = (int) (rcCntPwron());
+ this.rcCntPwronRaw = _tmp;
+ return this.rcCntPwronRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ /** : value Nominal = 0 No deploy = 0x11 Deployment Debug = 0xDB */
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Double vDistInputRawV;
+
+ public Double vDistInputRawV() {
+ if (this.vDistInputRawV != null) return this.vDistInputRawV;
+ double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vDistInputRawV = _tmp;
+ return this.vDistInputRawV;
+ }
+
+ private Double iObc05Ma;
+
+ public Double iObc05Ma() {
+ if (this.iObc05Ma != null) return this.iObc05Ma;
+ double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
+ this.iObc05Ma = _tmp;
+ return this.iObc05Ma;
+ }
+
+ private Double trxvutxTotalSupplyCurrentMa;
+
+ public Double trxvutxTotalSupplyCurrentMa() {
+ if (this.trxvutxTotalSupplyCurrentMa != null) return this.trxvutxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
+ this.trxvutxTotalSupplyCurrentMa = _tmp;
+ return this.trxvutxTotalSupplyCurrentMa;
+ }
+
+ private Integer lastResetReasonRaw;
+
+ /**
+ * : last reset value First start = 0 TC Init received = 0x80 No TC since 4 days = 0x81 Unknown
+ * reason = 0x81
+ */
+ public Integer lastResetReasonRaw() {
+ if (this.lastResetReasonRaw != null) return this.lastResetReasonRaw;
+ int _tmp = (int) (lastResetReason());
+ this.lastResetReasonRaw = _tmp;
+ return this.lastResetReasonRaw;
+ }
+
+ private Double trxvutxPowerAmplifierCurrentMa;
+
+ public Double trxvutxPowerAmplifierCurrentMa() {
+ if (this.trxvutxPowerAmplifierCurrentMa != null) return this.trxvutxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvutxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvutxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
+
+ public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ double _tmp =
+ (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
+ this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ }
+
+ private Double pObc05Mw;
+
+ public Double pObc05Mw() {
+ if (this.pObc05Mw != null) return this.pObc05Mw;
+ double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
+ this.pObc05Mw = _tmp;
+ return this.pObc05Mw;
+ }
+
+ private Integer statObcOnRaw;
+
+ /** bit n = 1 indicates the channel n is ON 9 firsts bits used */
+ public Integer statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ int _tmp = (int) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Long statusStatRaw;
+
+ public Long statusStatRaw() {
+ if (this.statusStatRaw != null) return this.statusStatRaw;
+ long _tmp = (long) (statusStat());
+ this.statusStatRaw = _tmp;
+ return this.statusStatRaw;
+ }
+
+ private Double pObc00Mw;
+
+ public Double pObc00Mw() {
+ if (this.pObc00Mw != null) return this.pObc00Mw;
+ double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
+ this.pObc00Mw = _tmp;
+ return this.pObc00Mw;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalDopplerHz;
+
+ public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ double _tmp =
+ (double)
+ (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552)
+ - 22300));
+ this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ }
+
+ private Double vObc02V;
+
+ public Double vObc02V() {
+ if (this.vObc02V != null) return this.vObc02V;
+ double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
+ this.vObc02V = _tmp;
+ return this.vObc02V;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Double trxvurxSupplyVoltageV;
+
+ public Double trxvurxSupplyVoltageV() {
+ if (this.trxvurxSupplyVoltageV != null) return this.trxvurxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvurxSupplyVoltage()));
+ this.trxvurxSupplyVoltageV = _tmp;
+ return this.trxvurxSupplyVoltageV;
+ }
+
+ private Double pObc06Mw;
+
+ public Double pObc06Mw() {
+ if (this.pObc06Mw != null) return this.pObc06Mw;
+ double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
+ this.pObc06Mw = _tmp;
+ return this.pObc06Mw;
+ }
+
+ private Integer modeRaw;
+
+ /** value : 0 = Startup 1 = Nominal 2 = Safety 3 = Emergency low power 8 */
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Double trxvurxLocalOscillatorTemperatureC;
+
+ public Double trxvurxLocalOscillatorTemperatureC() {
+ if (this.trxvurxLocalOscillatorTemperatureC != null)
+ return this.trxvurxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvurxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureC;
+ }
+
+ private Long statusCmderrRaw;
+
+ public Long statusCmderrRaw() {
+ if (this.statusCmderrRaw != null) return this.statusCmderrRaw;
+ long _tmp = (long) (statusCmderr());
+ this.statusCmderrRaw = _tmp;
+ return this.statusCmderrRaw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Double pObc01Mw;
+
+ public Double pObc01Mw() {
+ if (this.pObc01Mw != null) return this.pObc01Mw;
+ double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
+ this.pObc01Mw = _tmp;
+ return this.pObc01Mw;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Double trxvurxTransmitterCurrentMa;
+
+ public Double trxvurxTransmitterCurrentMa() {
+ if (this.trxvurxTransmitterCurrentMa != null) return this.trxvurxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
+ this.trxvurxTransmitterCurrentMa = _tmp;
+ return this.trxvurxTransmitterCurrentMa;
+ }
+
+ private Integer rcCntCmdRaw;
+
+ public Integer rcCntCmdRaw() {
+ if (this.rcCntCmdRaw != null) return this.rcCntCmdRaw;
+ int _tmp = (int) (rcCntCmd());
+ this.rcCntCmdRaw = _tmp;
+ return this.rcCntCmdRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ /** value : IDLE = 0 SELFTEST = 1 DETUMBLE = 2 */
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Integer statObcOcfRaw;
+
+ /** bit n = 1 indicates a overcurrent on the channel n 9 firsts bits used */
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Double measureCoilZCurrentMa;
+
+ public Double measureCoilZCurrentMa() {
+ if (this.measureCoilZCurrentMa != null) return this.measureCoilZCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
+ this.measureCoilZCurrentMa = _tmp;
+ return this.measureCoilZCurrentMa;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long uptimeRaw;
+
+ public Long uptimeRaw() {
+ if (this.uptimeRaw != null) return this.uptimeRaw;
+ long _tmp = (long) (uptime());
+ this.uptimeRaw = _tmp;
+ return this.uptimeRaw;
+ }
+
+ private Double voltBrdSupRawV;
+
+ public Double voltBrdSupRawV() {
+ if (this.voltBrdSupRawV != null) return this.voltBrdSupRawV;
+ double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
+ this.voltBrdSupRawV = _tmp;
+ return this.voltBrdSupRawV;
+ }
+
+ private Double measureCoilZTemperatureC;
+
+ public Double measureCoilZTemperatureC() {
+ if (this.measureCoilZTemperatureC != null) return this.measureCoilZTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilZTemperatureC = _tmp;
+ return this.measureCoilZTemperatureC;
+ }
+
+ private Double iObc00Ma;
+
+ public Double iObc00Ma() {
+ if (this.iObc00Ma != null) return this.iObc00Ma;
+ double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
+ this.iObc00Ma = _tmp;
+ return this.iObc00Ma;
+ }
+
+ private Integer rcCntWdgRaw;
+
+ public Integer rcCntWdgRaw() {
+ if (this.rcCntWdgRaw != null) return this.rcCntWdgRaw;
+ int _tmp = (int) (rcCntWdg());
+ this.rcCntWdgRaw = _tmp;
+ return this.rcCntWdgRaw;
+ }
+
+ private Double pDistInputRawMw;
+
+ public Double pDistInputRawMw() {
+ if (this.pDistInputRawMw != null) return this.pDistInputRawMw;
+ double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
+ this.pDistInputRawMw = _tmp;
+ return this.pDistInputRawMw;
+ }
+
+ private Double measureCoilXCurrentMa;
+
+ public Double measureCoilXCurrentMa() {
+ if (this.measureCoilXCurrentMa != null) return this.measureCoilXCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
+ this.measureCoilXCurrentMa = _tmp;
+ return this.measureCoilXCurrentMa;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Integer resetOrderRaw;
+
+ /** Order by TC = 0xCA No order = 0 */
+ public Integer resetOrderRaw() {
+ if (this.resetOrderRaw != null) return this.resetOrderRaw;
+ int _tmp = (int) (resetOrder());
+ this.resetOrderRaw = _tmp;
+ return this.resetOrderRaw;
+ }
+
+ private Double trxvutxSupplyVoltageV;
+
+ public Double trxvutxSupplyVoltageV() {
+ if (this.trxvutxSupplyVoltageV != null) return this.trxvutxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
+ this.trxvutxSupplyVoltageV = _tmp;
+ return this.trxvutxSupplyVoltageV;
+ }
+
+ private Double vObc06V;
+
+ public Double vObc06V() {
+ if (this.vObc06V != null) return this.vObc06V;
+ double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
+ this.vObc06V = _tmp;
+ return this.vObc06V;
+ }
+
+ private Double iObc03Ma;
+
+ public Double iObc03Ma() {
+ if (this.iObc03Ma != null) return this.iObc03Ma;
+ double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
+ this.iObc03Ma = _tmp;
+ return this.iObc03Ma;
+ }
+
+ private Double vObc03V;
+
+ public Double vObc03V() {
+ if (this.vObc03V != null) return this.vObc03V;
+ double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
+ this.vObc03V = _tmp;
+ return this.vObc03V;
+ }
+
+ private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Double iBattInputRawMa;
+
+ public Double iBattInputRawMa() {
+ if (this.iBattInputRawMa != null) return this.iBattInputRawMa;
+ double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
+ this.iBattInputRawMa = _tmp;
+ return this.iBattInputRawMa;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Double trxvutxLocalOscillatorTemperatureC;
+
+ public Double trxvutxLocalOscillatorTemperatureC() {
+ if (this.trxvutxLocalOscillatorTemperatureC != null)
+ return this.trxvutxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvutxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvutxLocalOscillatorTemperatureC;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Double iObc02Ma;
+
+ public Double iObc02Ma() {
+ if (this.iObc02Ma != null) return this.iObc02Ma;
+ double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
+ this.iObc02Ma = _tmp;
+ return this.iObc02Ma;
+ }
+
+ private Integer statusStidRaw;
+
+ public Integer statusStidRaw() {
+ if (this.statusStidRaw != null) return this.statusStidRaw;
+ int _tmp = (int) (statusStid());
+ this.statusStidRaw = _tmp;
+ return this.statusStidRaw;
+ }
+
+ private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double iObc06Ma;
+
+ public Double iObc06Ma() {
+ if (this.iObc06Ma != null) return this.iObc06Ma;
+ double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
+ this.iObc06Ma = _tmp;
+ return this.iObc06Ma;
+ }
+
+ private Integer statusRcRaw;
+
+ public Integer statusRcRaw() {
+ if (this.statusRcRaw != null) return this.statusRcRaw;
+ int _tmp = (int) (statusRc());
+ this.statusRcRaw = _tmp;
+ return this.statusRcRaw;
+ }
+
+ private Integer errorRaw;
+
+ public Integer errorRaw() {
+ if (this.errorRaw != null) return this.errorRaw;
+ int _tmp = (int) (error());
+ this.errorRaw = _tmp;
+ return this.errorRaw;
+ }
+
+ private Double iDistInputRawMa;
+
+ public Double iDistInputRawMa() {
+ if (this.iDistInputRawMa != null) return this.iDistInputRawMa;
+ double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
+ this.iDistInputRawMa = _tmp;
+ return this.iDistInputRawMa;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Double measureCoilYCurrentMa;
+
+ public Double measureCoilYCurrentMa() {
+ if (this.measureCoilYCurrentMa != null) return this.measureCoilYCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
+ this.measureCoilYCurrentMa = _tmp;
+ return this.measureCoilYCurrentMa;
+ }
+
+ private Double vObc01V;
+
+ public Double vObc01V() {
+ if (this.vObc01V != null) return this.vObc01V;
+ double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
+ this.vObc01V = _tmp;
+ return this.vObc01V;
+ }
+
+ private Double pBattInputRawMw;
+
+ public Double pBattInputRawMw() {
+ if (this.pBattInputRawMw != null) return this.pBattInputRawMw;
+ double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
+ this.pBattInputRawMw = _tmp;
+ return this.pBattInputRawMw;
+ }
+
+ private Double iObc01Ma;
+
+ public Double iObc01Ma() {
+ if (this.iObc01Ma != null) return this.iObc01Ma;
+ double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
+ this.iObc01Ma = _tmp;
+ return this.iObc01Ma;
+ }
+
+ private Long nbTmInSdcardRaw;
+
+ public Long nbTmInSdcardRaw() {
+ if (this.nbTmInSdcardRaw != null) return this.nbTmInSdcardRaw;
+ long _tmp = (long) (nbTmInSdcard());
+ this.nbTmInSdcardRaw = _tmp;
+ return this.nbTmInSdcardRaw;
+ }
+
+ private Double tempRawT;
+
+ public Double tempRawT() {
+ if (this.tempRawT != null) return this.tempRawT;
+ double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
+ this.tempRawT = _tmp;
+ return this.tempRawT;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Double trxvutxReceiverCurrentMa;
+
+ public Double trxvutxReceiverCurrentMa() {
+ if (this.trxvutxReceiverCurrentMa != null) return this.trxvutxReceiverCurrentMa;
+ double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
+ this.trxvutxReceiverCurrentMa = _tmp;
+ return this.trxvutxReceiverCurrentMa;
+ }
+
+ private Integer rcCntEmlopoRaw;
+
+ public Integer rcCntEmlopoRaw() {
+ if (this.rcCntEmlopoRaw != null) return this.rcCntEmlopoRaw;
+ int _tmp = (int) (rcCntEmlopo());
+ this.rcCntEmlopoRaw = _tmp;
+ return this.rcCntEmlopoRaw;
+ }
+
+ private Integer rcCntMcuRaw;
+
+ public Integer rcCntMcuRaw() {
+ if (this.rcCntMcuRaw != null) return this.rcCntMcuRaw;
+ int _tmp = (int) (rcCntMcu());
+ this.rcCntMcuRaw = _tmp;
+ return this.rcCntMcuRaw;
+ }
+
+ private Integer statusBidRaw;
+
+ public Integer statusBidRaw() {
+ if (this.statusBidRaw != null) return this.statusBidRaw;
+ int _tmp = (int) (statusBid());
+ this.statusBidRaw = _tmp;
+ return this.statusBidRaw;
+ }
+
+ private Integer statusIvidRaw;
+
+ public Integer statusIvidRaw() {
+ if (this.statusIvidRaw != null) return this.statusIvidRaw;
+ int _tmp = (int) (statusIvid());
+ this.statusIvidRaw = _tmp;
+ return this.statusIvidRaw;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Double pObc03Mw;
+
+ public Double pObc03Mw() {
+ if (this.pObc03Mw != null) return this.pObc03Mw;
+ double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
+ this.pObc03Mw = _tmp;
+ return this.pObc03Mw;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private Double trxvurxPowerAmplifierCurrentMa;
+
+ public Double trxvurxPowerAmplifierCurrentMa() {
+ if (this.trxvurxPowerAmplifierCurrentMa != null) return this.trxvurxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvurxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvurxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxTotalSupplyCurrentMa;
+
+ public Double trxvurxTotalSupplyCurrentMa() {
+ if (this.trxvurxTotalSupplyCurrentMa != null) return this.trxvurxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvurxTotalSupplyCurrent()));
+ this.trxvurxTotalSupplyCurrentMa = _tmp;
+ return this.trxvurxTotalSupplyCurrentMa;
+ }
+
+ private Double vObc05V;
+
+ public Double vObc05V() {
+ if (this.vObc05V != null) return this.vObc05V;
+ double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
+ this.vObc05V = _tmp;
+ return this.vObc05V;
+ }
+
+ private Double trxvutxPowerAmplifierTemperatureC;
+
+ public Double trxvutxPowerAmplifierTemperatureC() {
+ if (this.trxvutxPowerAmplifierTemperatureC != null)
+ return this.trxvutxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvutxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvutxPowerAmplifierTemperatureC;
+ }
+
+ private Long nbTcSinceFirstStartRaw;
+
+ public Long nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ long _tmp = (long) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Double trxvutxTransmitterCurrentMa;
+
+ public Double trxvutxTransmitterCurrentMa() {
+ if (this.trxvutxTransmitterCurrentMa != null) return this.trxvutxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
+ this.trxvutxTransmitterCurrentMa = _tmp;
+ return this.trxvutxTransmitterCurrentMa;
+ }
+
+ private Double mcuTemperatureC;
+
+ public Double mcuTemperatureC() {
+ if (this.mcuTemperatureC != null) return this.mcuTemperatureC;
+ double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
+ this.mcuTemperatureC = _tmp;
+ return this.mcuTemperatureC;
+ }
+
+ private Double vObc00V;
+
+ public Double vObc00V() {
+ if (this.vObc00V != null) return this.vObc00V;
+ double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
+ this.vObc00V = _tmp;
+ return this.vObc00V;
+ }
+
+ private Long nbTcPingSinceFirstStartRaw;
+
+ public Long nbTcPingSinceFirstStartRaw() {
+ if (this.nbTcPingSinceFirstStartRaw != null) return this.nbTcPingSinceFirstStartRaw;
+ long _tmp = (long) (nbTcPingSinceFirstStart());
+ this.nbTcPingSinceFirstStartRaw = _tmp;
+ return this.nbTcPingSinceFirstStartRaw;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Double batTemp2RawT;
+
+ public Double batTemp2RawT() {
+ if (this.batTemp2RawT != null) return this.batTemp2RawT;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2RawT = _tmp;
+ return this.batTemp2RawT;
+ }
+
+ private Double vBattInputRawV;
+
+ public Double vBattInputRawV() {
+ if (this.vBattInputRawV != null) return this.vBattInputRawV;
+ double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vBattInputRawV = _tmp;
+ return this.vBattInputRawV;
+ }
+
+ private Double trxvurxPowerAmplifierTemperatureC;
+
+ public Double trxvurxPowerAmplifierTemperatureC() {
+ if (this.trxvurxPowerAmplifierTemperatureC != null)
+ return this.trxvurxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvurxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureC;
+ }
+
+ private Integer resetCauseRaw;
+
+ /**
+ * value : 0 = Power-on; system returned from an unpowered state (e.g. power cycle). 1 =
+ * Watchdog; system was reset due to watchdog timeout, caused by a too-long delay between
+ * command interactions with the parent system. 2 = Commanded; system was reset after having
+ * received a reset command. 3 = Control system reset; an upset in the EPS control system caused
+ * a reset. 4 = Emlopo; emergency low power mode was engaged because the input voltage dropped
+ * below the threshold.
+ */
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Long nbBadTcSinceFirstStartRaw;
+
+ public Long nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ long _tmp = (long) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Double pObc02Mw;
+
+ public Double pObc02Mw() {
+ if (this.pObc02Mw != null) return this.pObc02Mw;
+ double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
+ this.pObc02Mw = _tmp;
+ return this.pObc02Mw;
+ }
+
+ private Integer swModeRaw;
+
+ /**
+ * : mode value MODE_INIT = 0 MODE_DETUMBLING = 1 MODE_STANDBY = 2 MODE_OPERATIONAL = 3
+ * MODE_SAFE = 4 MODE_TRANSPONDER = 5
+ */
+ public Integer swModeRaw() {
+ if (this.swModeRaw != null) return this.swModeRaw;
+ int _tmp = (int) (swMode());
+ this.swModeRaw = _tmp;
+ return this.swModeRaw;
+ }
+
+ private Integer sideAAntsTemperatureRaw;
+
+ public Integer sideAAntsTemperatureRaw() {
+ if (this.sideAAntsTemperatureRaw != null) return this.sideAAntsTemperatureRaw;
+ int _tmp = (int) (sideAAntsTemperature());
+ this.sideAAntsTemperatureRaw = _tmp;
+ return this.sideAAntsTemperatureRaw;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Integer sideAAntsDeploymentStatusRaw;
+
+ public Integer sideAAntsDeploymentStatusRaw() {
+ if (this.sideAAntsDeploymentStatusRaw != null) return this.sideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (sideAAntsDeploymentStatus());
+ this.sideAAntsDeploymentStatusRaw = _tmp;
+ return this.sideAAntsDeploymentStatusRaw;
+ }
+
+ private Double measureCoilXTemperatureC;
+
+ public Double measureCoilXTemperatureC() {
+ if (this.measureCoilXTemperatureC != null) return this.measureCoilXTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilXTemperatureC = _tmp;
+ return this.measureCoilXTemperatureC;
+ }
+
+ private Integer confRaw;
+
+ /**
+ * value : 0 = Parameters have not been altered since the last load/save. 1 = Parameters have
+ * been altered since the last load/save.
+ */
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Integer formatSdcardOrderRaw;
+
+ /**
+ * Order to Format SdCard 0 = 0 Order to Format SdCard 1 = 1 Order to NOT Format SdCard 0 = 0xAC
+ * Order to NOT Format SdCard 1 = 0xAD
+ */
+ public Integer formatSdcardOrderRaw() {
+ if (this.formatSdcardOrderRaw != null) return this.formatSdcardOrderRaw;
+ int _tmp = (int) (formatSdcardOrder());
+ this.formatSdcardOrderRaw = _tmp;
+ return this.formatSdcardOrderRaw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private Double trxvurxReceiverCurrentMa;
+
+ public Double trxvurxReceiverCurrentMa() {
+ if (this.trxvurxReceiverCurrentMa != null) return this.trxvurxReceiverCurrentMa;
+ double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
+ this.trxvurxReceiverCurrentMa = _tmp;
+ return this.trxvurxReceiverCurrentMa;
+ }
+
+ private Integer prevcmdElapsedRaw;
+
+ public Integer prevcmdElapsedRaw() {
+ if (this.prevcmdElapsedRaw != null) return this.prevcmdElapsedRaw;
+ int _tmp = (int) (prevcmdElapsed());
+ this.prevcmdElapsedRaw = _tmp;
+ return this.prevcmdElapsedRaw;
+ }
+
+ private int swMode;
+ private int lastResetReason;
+ private int resetOrder;
+ private int nbReset;
+ private int formatSdcardOrder;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTcSinceFirstStart;
+ private long nbTcPingSinceFirstStart;
+ private long nbBadTcSinceFirstStart;
+ private long nbTmInSdcard;
+ private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ private long trxvutxSupplyVoltage;
+ private long trxvutxTotalSupplyCurrent;
+ private long trxvutxTransmitterCurrent;
+ private long trxvutxReceiverCurrent;
+ private long trxvutxPowerAmplifierCurrent;
+ private long trxvutxPowerAmplifierTemperature;
+ private long trxvutxLocalOscillatorTemperature;
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private int imtqSystemStateMode;
+ private int measureCoilXCurrent;
+ private int measureCoilYCurrent;
+ private int measureCoilZCurrent;
+ private int measureCoilXTemperature;
+ private int measureCoilYTemperature;
+ private int measureCoilZTemperature;
+ private int mcuTemperature;
+ private int sideAAntsTemperature;
+ private int sideAAntsDeploymentStatus;
+ private int voltBrdSupRaw;
+ private int tempRaw;
+ private int vDistInputRaw;
+ private int iDistInputRaw;
+ private int pDistInputRaw;
+ private int vBattInputRaw;
+ private int iBattInputRaw;
+ private int pBattInputRaw;
+ private int statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private int vObc00;
+ private int iObc00;
+ private int pObc00;
+ private int vObc01;
+ private int iObc01;
+ private int pObc01;
+ private int vObc02;
+ private int iObc02;
+ private int pObc02;
+ private int vObc03;
+ private int iObc03;
+ private int pObc03;
+ private int vObc05;
+ private int iObc05;
+ private int pObc05;
+ private int vObc06;
+ private int iObc06;
+ private int pObc06;
+ private int statusStid;
+ private int statusIvid;
+ private int statusRc;
+ private int statusBid;
+ private long statusCmderr;
+ private long statusStat;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long uptime;
+ private int error;
+ private int rcCntPwron;
+ private int rcCntWdg;
+ private int rcCntCmd;
+ private int rcCntMcu;
+ private int rcCntEmlopo;
+ private int prevcmdElapsed;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public int swMode() {
+ return swMode;
+ }
+
+ public int lastResetReason() {
+ return lastResetReason;
+ }
+
+ public int resetOrder() {
+ return resetOrder;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int formatSdcardOrder() {
+ return formatSdcardOrder;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public long nbTcPingSinceFirstStart() {
+ return nbTcPingSinceFirstStart;
+ }
+
+ public long nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long nbTmInSdcard() {
+ return nbTmInSdcard;
+ }
+
+ public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ }
+
+ public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvutxSupplyVoltage() {
+ return trxvutxSupplyVoltage;
+ }
+
+ public long trxvutxTotalSupplyCurrent() {
+ return trxvutxTotalSupplyCurrent;
+ }
+
+ public long trxvutxTransmitterCurrent() {
+ return trxvutxTransmitterCurrent;
+ }
+
+ public long trxvutxReceiverCurrent() {
+ return trxvutxReceiverCurrent;
+ }
+
+ public long trxvutxPowerAmplifierCurrent() {
+ return trxvutxPowerAmplifierCurrent;
+ }
+
+ public long trxvutxPowerAmplifierTemperature() {
+ return trxvutxPowerAmplifierTemperature;
+ }
+
+ public long trxvutxLocalOscillatorTemperature() {
+ return trxvutxLocalOscillatorTemperature;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public int measureCoilXCurrent() {
+ return measureCoilXCurrent;
+ }
+
+ public int measureCoilYCurrent() {
+ return measureCoilYCurrent;
+ }
+
+ public int measureCoilZCurrent() {
+ return measureCoilZCurrent;
+ }
+
+ public int measureCoilXTemperature() {
+ return measureCoilXTemperature;
+ }
+
+ public int measureCoilYTemperature() {
+ return measureCoilYTemperature;
+ }
+
+ public int measureCoilZTemperature() {
+ return measureCoilZTemperature;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int sideAAntsTemperature() {
+ return sideAAntsTemperature;
+ }
+
+ public int sideAAntsDeploymentStatus() {
+ return sideAAntsDeploymentStatus;
+ }
+
+ public int voltBrdSupRaw() {
+ return voltBrdSupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public int vDistInputRaw() {
+ return vDistInputRaw;
+ }
+
+ public int iDistInputRaw() {
+ return iDistInputRaw;
+ }
+
+ public int pDistInputRaw() {
+ return pDistInputRaw;
+ }
+
+ public int vBattInputRaw() {
+ return vBattInputRaw;
+ }
+
+ public int iBattInputRaw() {
+ return iBattInputRaw;
+ }
+
+ public int pBattInputRaw() {
+ return pBattInputRaw;
+ }
+
+ public int statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public int vObc00() {
+ return vObc00;
+ }
+
+ public int iObc00() {
+ return iObc00;
+ }
+
+ public int pObc00() {
+ return pObc00;
+ }
+
+ public int vObc01() {
+ return vObc01;
+ }
+
+ public int iObc01() {
+ return iObc01;
+ }
+
+ public int pObc01() {
+ return pObc01;
+ }
+
+ public int vObc02() {
+ return vObc02;
+ }
+
+ public int iObc02() {
+ return iObc02;
+ }
+
+ public int pObc02() {
+ return pObc02;
+ }
+
+ public int vObc03() {
+ return vObc03;
+ }
+
+ public int iObc03() {
+ return iObc03;
+ }
+
+ public int pObc03() {
+ return pObc03;
+ }
+
+ public int vObc05() {
+ return vObc05;
+ }
+
+ public int iObc05() {
+ return iObc05;
+ }
+
+ public int pObc05() {
+ return pObc05;
+ }
+
+ public int vObc06() {
+ return vObc06;
+ }
+
+ public int iObc06() {
+ return iObc06;
+ }
+
+ public int pObc06() {
+ return pObc06;
+ }
+
+ public int statusStid() {
+ return statusStid;
+ }
+
+ public int statusIvid() {
+ return statusIvid;
+ }
+
+ public int statusRc() {
+ return statusRc;
+ }
+
+ public int statusBid() {
+ return statusBid;
+ }
+
+ public long statusCmderr() {
+ return statusCmderr;
+ }
+
+ public long statusStat() {
+ return statusStat;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long uptime() {
+ return uptime;
+ }
+
+ public int error() {
+ return error;
+ }
+
+ public int rcCntPwron() {
+ return rcCntPwron;
+ }
+
+ public int rcCntWdg() {
+ return rcCntWdg;
+ }
+
+ public int rcCntCmd() {
+ return rcCntCmd;
+ }
+
+ public int rcCntMcu() {
+ return rcCntMcu;
+ }
+
+ public int rcCntEmlopo() {
+ return rcCntEmlopo;
+ }
+
+ public int prevcmdElapsed() {
+ return prevcmdElapsed;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class ObcHk extends KaitaiStruct {
+ public static ObcHk fromFile(String fileName) throws IOException {
+ return new ObcHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public ObcHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public ObcHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public ObcHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorEnableStatus = this._io.readU1();
+ this.supervisorUptime = this._io.readU4be();
+ this.iobcUptime = this._io.readU4be();
+ this.iobcResetCount = this._io.readU4be();
+ this.iobcMeasureTemperature = this._io.readU2be();
+ this.iobcMeasure3v3In = this._io.readU2be();
+ this.iobcMeasure3v3 = this._io.readU2be();
+ this.iobcMeasure2vReference = this._io.readU2be();
+ this.iobcMeasure1v8 = this._io.readU2be();
+ this.iobcMeasure1v0 = this._io.readU2be();
+ this.iobcMeasureCurrent3v3 = this._io.readU2be();
+ this.iobcMeasureCurrent1v8 = this._io.readU2be();
+ this.iobcMeasureCurrent1v0 = this._io.readU2be();
+ this.iobcMeasureVoltRtc = this._io.readU2be();
+ this.iobcAdcUpdateFlag = this._io.readU1();
+ this.iobcCrc8 = this._io.readU1();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Integer iobcMeasureTemperatureRaw;
+
+ public Integer iobcMeasureTemperatureRaw() {
+ if (this.iobcMeasureTemperatureRaw != null) return this.iobcMeasureTemperatureRaw;
+ int _tmp = (int) (iobcMeasureTemperature());
+ this.iobcMeasureTemperatureRaw = _tmp;
+ return this.iobcMeasureTemperatureRaw;
+ }
+
+ private Long supervisorUptimeRaw;
+
+ public Long supervisorUptimeRaw() {
+ if (this.supervisorUptimeRaw != null) return this.supervisorUptimeRaw;
+ long _tmp = (long) (supervisorUptime());
+ this.supervisorUptimeRaw = _tmp;
+ return this.supervisorUptimeRaw;
+ }
+
+ private Integer supervisorEnableStatusRaw;
+
+ public Integer supervisorEnableStatusRaw() {
+ if (this.supervisorEnableStatusRaw != null) return this.supervisorEnableStatusRaw;
+ int _tmp = (int) (supervisorEnableStatus());
+ this.supervisorEnableStatusRaw = _tmp;
+ return this.supervisorEnableStatusRaw;
+ }
+
+ private Integer iobcMeasure3v3InRaw;
+
+ public Integer iobcMeasure3v3InRaw() {
+ if (this.iobcMeasure3v3InRaw != null) return this.iobcMeasure3v3InRaw;
+ int _tmp = (int) (iobcMeasure3v3In());
+ this.iobcMeasure3v3InRaw = _tmp;
+ return this.iobcMeasure3v3InRaw;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Integer iobcMeasureCurrent1v0Raw;
+
+ public Integer iobcMeasureCurrent1v0Raw() {
+ if (this.iobcMeasureCurrent1v0Raw != null) return this.iobcMeasureCurrent1v0Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v0());
+ this.iobcMeasureCurrent1v0Raw = _tmp;
+ return this.iobcMeasureCurrent1v0Raw;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Integer dummyRaw;
+
+ public Integer dummyRaw() {
+ if (this.dummyRaw != null) return this.dummyRaw;
+ int _tmp = (int) (dummy());
+ this.dummyRaw = _tmp;
+ return this.dummyRaw;
+ }
+
+ private Integer iobcMeasureVoltRtcRaw;
+
+ public Integer iobcMeasureVoltRtcRaw() {
+ if (this.iobcMeasureVoltRtcRaw != null) return this.iobcMeasureVoltRtcRaw;
+ int _tmp = (int) (iobcMeasureVoltRtc());
+ this.iobcMeasureVoltRtcRaw = _tmp;
+ return this.iobcMeasureVoltRtcRaw;
+ }
+
+ private Integer iobcMeasure1v8Raw;
+
+ public Integer iobcMeasure1v8Raw() {
+ if (this.iobcMeasure1v8Raw != null) return this.iobcMeasure1v8Raw;
+ int _tmp = (int) (iobcMeasure1v8());
+ this.iobcMeasure1v8Raw = _tmp;
+ return this.iobcMeasure1v8Raw;
+ }
+
+ private Integer iobcMeasure2vReferenceRaw;
+
+ public Integer iobcMeasure2vReferenceRaw() {
+ if (this.iobcMeasure2vReferenceRaw != null) return this.iobcMeasure2vReferenceRaw;
+ int _tmp = (int) (iobcMeasure2vReference());
+ this.iobcMeasure2vReferenceRaw = _tmp;
+ return this.iobcMeasure2vReferenceRaw;
+ }
+
+ private Integer iobcMeasureCurrent1v8Raw;
+
+ public Integer iobcMeasureCurrent1v8Raw() {
+ if (this.iobcMeasureCurrent1v8Raw != null) return this.iobcMeasureCurrent1v8Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v8());
+ this.iobcMeasureCurrent1v8Raw = _tmp;
+ return this.iobcMeasureCurrent1v8Raw;
+ }
+
+ private Integer iobcMeasure3v3Raw;
+
+ public Integer iobcMeasure3v3Raw() {
+ if (this.iobcMeasure3v3Raw != null) return this.iobcMeasure3v3Raw;
+ int _tmp = (int) (iobcMeasure3v3());
+ this.iobcMeasure3v3Raw = _tmp;
+ return this.iobcMeasure3v3Raw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Integer iobcAdcUpdateFlagRaw;
+
+ public Integer iobcAdcUpdateFlagRaw() {
+ if (this.iobcAdcUpdateFlagRaw != null) return this.iobcAdcUpdateFlagRaw;
+ int _tmp = (int) (iobcAdcUpdateFlag());
+ this.iobcAdcUpdateFlagRaw = _tmp;
+ return this.iobcAdcUpdateFlagRaw;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Long iobcResetCountRaw;
+
+ public Long iobcResetCountRaw() {
+ if (this.iobcResetCountRaw != null) return this.iobcResetCountRaw;
+ long _tmp = (long) (iobcResetCount());
+ this.iobcResetCountRaw = _tmp;
+ return this.iobcResetCountRaw;
+ }
+
+ private Long iobcUptimeRaw;
+
+ public Long iobcUptimeRaw() {
+ if (this.iobcUptimeRaw != null) return this.iobcUptimeRaw;
+ long _tmp = (long) (iobcUptime());
+ this.iobcUptimeRaw = _tmp;
+ return this.iobcUptimeRaw;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Integer iobcMeasure1v0Raw;
+
+ public Integer iobcMeasure1v0Raw() {
+ if (this.iobcMeasure1v0Raw != null) return this.iobcMeasure1v0Raw;
+ int _tmp = (int) (iobcMeasure1v0());
+ this.iobcMeasure1v0Raw = _tmp;
+ return this.iobcMeasure1v0Raw;
+ }
+
+ private Integer iobcCrc8Raw;
+
+ public Integer iobcCrc8Raw() {
+ if (this.iobcCrc8Raw != null) return this.iobcCrc8Raw;
+ int _tmp = (int) (iobcCrc8());
+ this.iobcCrc8Raw = _tmp;
+ return this.iobcCrc8Raw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private Integer iobcMeasureCurrent3v3Raw;
+
+ public Integer iobcMeasureCurrent3v3Raw() {
+ if (this.iobcMeasureCurrent3v3Raw != null) return this.iobcMeasureCurrent3v3Raw;
+ int _tmp = (int) (iobcMeasureCurrent3v3());
+ this.iobcMeasureCurrent3v3Raw = _tmp;
+ return this.iobcMeasureCurrent3v3Raw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorEnableStatus;
+ private long supervisorUptime;
+ private long iobcUptime;
+ private long iobcResetCount;
+ private int iobcMeasureTemperature;
+ private int iobcMeasure3v3In;
+ private int iobcMeasure3v3;
+ private int iobcMeasure2vReference;
+ private int iobcMeasure1v8;
+ private int iobcMeasure1v0;
+ private int iobcMeasureCurrent3v3;
+ private int iobcMeasureCurrent1v8;
+ private int iobcMeasureCurrent1v0;
+ private int iobcMeasureVoltRtc;
+ private int iobcAdcUpdateFlag;
+ private int iobcCrc8;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorEnableStatus() {
+ return supervisorEnableStatus;
+ }
+
+ public long supervisorUptime() {
+ return supervisorUptime;
+ }
+
+ public long iobcUptime() {
+ return iobcUptime;
+ }
+
+ public long iobcResetCount() {
+ return iobcResetCount;
+ }
+
+ public int iobcMeasureTemperature() {
+ return iobcMeasureTemperature;
+ }
+
+ public int iobcMeasure3v3In() {
+ return iobcMeasure3v3In;
+ }
+
+ public int iobcMeasure3v3() {
+ return iobcMeasure3v3;
+ }
+
+ public int iobcMeasure2vReference() {
+ return iobcMeasure2vReference;
+ }
+
+ public int iobcMeasure1v8() {
+ return iobcMeasure1v8;
+ }
+
+ public int iobcMeasure1v0() {
+ return iobcMeasure1v0;
+ }
+
+ public int iobcMeasureCurrent3v3() {
+ return iobcMeasureCurrent3v3;
+ }
+
+ public int iobcMeasureCurrent1v8() {
+ return iobcMeasureCurrent1v8;
+ }
+
+ public int iobcMeasureCurrent1v0() {
+ return iobcMeasureCurrent1v0;
+ }
+
+ public int iobcMeasureVoltRtc() {
+ return iobcMeasureVoltRtc;
+ }
+
+ public int iobcAdcUpdateFlag() {
+ return iobcAdcUpdateFlag;
+ }
+
+ public int iobcCrc8() {
+ return iobcCrc8;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class ImtqHk extends KaitaiStruct {
+ public static ImtqHk fromFile(String fileName) throws IOException {
+ return new ImtqHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public ImtqHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.digitaleVoltage = this._io.readU2be();
+ this.analogVoltage = this._io.readU2be();
+ this.digitalCurrent = this._io.readU2be();
+ this.analogCurrent = this._io.readU2be();
+ this.measureCoilXCurrent = this._io.readU2be();
+ this.measureCoilYCurrent = this._io.readU2be();
+ this.measureCoilZCurrent = this._io.readU2be();
+ this.measureCoilXTemperature = this._io.readU2be();
+ this.measureCoilYTemperature = this._io.readU2be();
+ this.measureCoilZTemperature = this._io.readU2be();
+ this.mcuTemperature = this._io.readU2be();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.imtqSystemStateError = this._io.readU1();
+ this.imtqSystemStateConfiguration = this._io.readU1();
+ this.imtqSystemStateUptime = this._io.readU4be();
+ }
+
+ private Integer analogCurrentRaw;
+
+ public Integer analogCurrentRaw() {
+ if (this.analogCurrentRaw != null) return this.analogCurrentRaw;
+ int _tmp = (int) (analogCurrent());
+ this.analogCurrentRaw = _tmp;
+ return this.analogCurrentRaw;
+ }
+
+ private Double measureCoilYTemperatureC;
+
+ public Double measureCoilYTemperatureC() {
+ if (this.measureCoilYTemperatureC != null) return this.measureCoilYTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilYTemperatureC = _tmp;
+ return this.measureCoilYTemperatureC;
+ }
+
+ private Integer digitalCurrentRaw;
+
+ public Integer digitalCurrentRaw() {
+ if (this.digitalCurrentRaw != null) return this.digitalCurrentRaw;
+ int _tmp = (int) (digitalCurrent());
+ this.digitalCurrentRaw = _tmp;
+ return this.digitalCurrentRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Double measureCoilZCurrentMa;
+
+ public Double measureCoilZCurrentMa() {
+ if (this.measureCoilZCurrentMa != null) return this.measureCoilZCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
+ this.measureCoilZCurrentMa = _tmp;
+ return this.measureCoilZCurrentMa;
+ }
+
+ private Double measureCoilZTemperatureC;
+
+ public Double measureCoilZTemperatureC() {
+ if (this.measureCoilZTemperatureC != null) return this.measureCoilZTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilZTemperatureC = _tmp;
+ return this.measureCoilZTemperatureC;
+ }
+
+ private Double measureCoilXCurrentMa;
+
+ public Double measureCoilXCurrentMa() {
+ if (this.measureCoilXCurrentMa != null) return this.measureCoilXCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
+ this.measureCoilXCurrentMa = _tmp;
+ return this.measureCoilXCurrentMa;
+ }
+
+ private Double measureCoilYCurrentMa;
+
+ public Double measureCoilYCurrentMa() {
+ if (this.measureCoilYCurrentMa != null) return this.measureCoilYCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
+ this.measureCoilYCurrentMa = _tmp;
+ return this.measureCoilYCurrentMa;
+ }
+
+ private Double digitaleVoltageV;
+
+ public Double digitaleVoltageV() {
+ if (this.digitaleVoltageV != null) return this.digitaleVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * digitaleVoltage()));
+ this.digitaleVoltageV = _tmp;
+ return this.digitaleVoltageV;
+ }
+
+ private Double analogVoltageV;
+
+ public Double analogVoltageV() {
+ if (this.analogVoltageV != null) return this.analogVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * analogVoltage()));
+ this.analogVoltageV = _tmp;
+ return this.analogVoltageV;
+ }
+
+ private Long imtqSystemStateUptimeRaw;
+
+ public Long imtqSystemStateUptimeRaw() {
+ if (this.imtqSystemStateUptimeRaw != null) return this.imtqSystemStateUptimeRaw;
+ long _tmp = (long) (imtqSystemStateUptime());
+ this.imtqSystemStateUptimeRaw = _tmp;
+ return this.imtqSystemStateUptimeRaw;
+ }
+
+ private Double mcuTemperatureC;
+
+ public Double mcuTemperatureC() {
+ if (this.mcuTemperatureC != null) return this.mcuTemperatureC;
+ double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
+ this.mcuTemperatureC = _tmp;
+ return this.mcuTemperatureC;
+ }
+
+ private Integer imtqSystemStateConfigurationRaw;
+
+ public Integer imtqSystemStateConfigurationRaw() {
+ if (this.imtqSystemStateConfigurationRaw != null) return this.imtqSystemStateConfigurationRaw;
+ int _tmp = (int) (imtqSystemStateConfiguration());
+ this.imtqSystemStateConfigurationRaw = _tmp;
+ return this.imtqSystemStateConfigurationRaw;
+ }
+
+ private Double measureCoilXTemperatureC;
+
+ public Double measureCoilXTemperatureC() {
+ if (this.measureCoilXTemperatureC != null) return this.measureCoilXTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilXTemperatureC = _tmp;
+ return this.measureCoilXTemperatureC;
+ }
+
+ private Integer imtqSystemStateErrorRaw;
+
+ public Integer imtqSystemStateErrorRaw() {
+ if (this.imtqSystemStateErrorRaw != null) return this.imtqSystemStateErrorRaw;
+ int _tmp = (int) (imtqSystemStateError());
+ this.imtqSystemStateErrorRaw = _tmp;
+ return this.imtqSystemStateErrorRaw;
+ }
+
+ private int digitaleVoltage;
+ private int analogVoltage;
+ private int digitalCurrent;
+ private int analogCurrent;
+ private int measureCoilXCurrent;
+ private int measureCoilYCurrent;
+ private int measureCoilZCurrent;
+ private int measureCoilXTemperature;
+ private int measureCoilYTemperature;
+ private int measureCoilZTemperature;
+ private int mcuTemperature;
+ private int imtqSystemStateMode;
+ private int imtqSystemStateError;
+ private int imtqSystemStateConfiguration;
+ private long imtqSystemStateUptime;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public int digitaleVoltage() {
+ return digitaleVoltage;
+ }
+
+ public int analogVoltage() {
+ return analogVoltage;
+ }
+
+ public int digitalCurrent() {
+ return digitalCurrent;
+ }
+
+ public int analogCurrent() {
+ return analogCurrent;
+ }
+
+ public int measureCoilXCurrent() {
+ return measureCoilXCurrent;
+ }
+
+ public int measureCoilYCurrent() {
+ return measureCoilYCurrent;
+ }
+
+ public int measureCoilZCurrent() {
+ return measureCoilZCurrent;
+ }
+
+ public int measureCoilXTemperature() {
+ return measureCoilXTemperature;
+ }
+
+ public int measureCoilYTemperature() {
+ return measureCoilYTemperature;
+ }
+
+ public int measureCoilZTemperature() {
+ return measureCoilZTemperature;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public int imtqSystemStateError() {
+ return imtqSystemStateError;
+ }
+
+ public int imtqSystemStateConfiguration() {
+ return imtqSystemStateConfiguration;
+ }
+
+ public long imtqSystemStateUptime() {
+ return imtqSystemStateUptime;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketSecondaryHeader extends KaitaiStruct {
+ public static PacketSecondaryHeader fromFile(String fileName) throws IOException {
+ return new PacketSecondaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmPacketPusVersionNumber = this._io.readBitsInt(4);
+ this.spacecraftTimeReferenceStatus = this._io.readBitsInt(4);
+ this._io.alignToByte();
+ this.serviceTypeId = this._io.readU1();
+ this.messageSubtypeId = this._io.readU1();
+ this.messageTypeCounter = this._io.readU2be();
+ this.destinationId = this._io.readU2be();
+ this.time = this._io.readU4be();
+ this.dummy1 = this._io.readU2be();
+ this.dummy2 = this._io.readU1();
+ this.sid = this._io.readU1();
+ }
+
+ private long tmPacketPusVersionNumber;
+ private long spacecraftTimeReferenceStatus;
+ private int serviceTypeId;
+ private int messageSubtypeId;
+ private int messageTypeCounter;
+ private int destinationId;
+ private long time;
+ private int dummy1;
+ private int dummy2;
+ private int sid;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public long tmPacketPusVersionNumber() {
+ return tmPacketPusVersionNumber;
+ }
+
+ public long spacecraftTimeReferenceStatus() {
+ return spacecraftTimeReferenceStatus;
+ }
+
+ public int serviceTypeId() {
+ return serviceTypeId;
+ }
+
+ public int messageSubtypeId() {
+ return messageSubtypeId;
+ }
+
+ public int messageTypeCounter() {
+ return messageTypeCounter;
+ }
+
+ public int destinationId() {
+ return destinationId;
+ }
+
+ public long time() {
+ return time;
+ }
+
+ public int dummy1() {
+ return dummy1;
+ }
+
+ public int dummy2() {
+ return dummy2;
+ }
+
+ public int sid() {
+ return sid;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MsgOrUnknow extends KaitaiStruct {
+ public static MsgOrUnknow fromFile(String fileName) throws IOException {
+ return new MsgOrUnknow(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MsgOrUnknow(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.data = this._io.readBytesFull();
+ }
+
+ private byte[] dataByte;
+
+ public byte[] dataByte() {
+ if (this.dataByte != null) return this.dataByte;
+ this.dataByte = data();
+ return this.dataByte;
+ }
+
+ private byte[] data;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public byte[] data() {
+ return data;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class CallsignRaw extends KaitaiStruct {
+ public static CallsignRaw fromFile(String fileName) throws IOException {
+ return new CallsignRaw(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public CallsignRaw(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, Uvsqsat.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, Uvsqsat.Ax25Header _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this._raw__raw_callsignRor = this._io.readBytes(6);
+ this._raw_callsignRor =
+ KaitaiStream.processRotateLeft(this._raw__raw_callsignRor, 8 - (1), 1);
+ KaitaiStream _io__raw_callsignRor = new ByteBufferKaitaiStream(_raw_callsignRor);
+ this.callsignRor = new Callsign(_io__raw_callsignRor, this, _root);
+ }
+
+ private Callsign callsignRor;
+ private Uvsqsat _root;
+ private Uvsqsat.Ax25Header _parent;
+ private byte[] _raw__raw_callsignRor;
+ private byte[] _raw_callsignRor;
+
+ public Callsign callsignRor() {
+ return callsignRor;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.Ax25Header _parent() {
+ return _parent;
+ }
+
+ public byte[] _raw__raw_callsignRor() {
+ return _raw__raw_callsignRor;
+ }
+
+ public byte[] _raw_callsignRor() {
+ return _raw_callsignRor;
+ }
+ }
+
+ public static class IepsHkStatus extends KaitaiStruct {
+ public static IepsHkStatus fromFile(String fileName) throws IOException {
+ return new IepsHkStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IepsHkStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.hKStid = this._io.readU1();
+ this.hKIvid = this._io.readU1();
+ this.hKRc = this._io.readU1();
+ this.hKBid = this._io.readU1();
+ this.hKCmderr = this._io.readBitsInt(4);
+ this.hKStat = this._io.readBitsInt(4);
+ this._io.alignToByte();
+ this.voltBrdSupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vDistInputRaw = this._io.readU2be();
+ this.iDistInputRaw = this._io.readU2be();
+ this.pDistInputRaw = this._io.readU2be();
+ this.vBattInputRaw = this._io.readU2be();
+ this.iBattInputRaw = this._io.readU2be();
+ this.pBattInputRaw = this._io.readU2be();
+ this.statObcOn = this._io.readU2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vObc00 = this._io.readU2be();
+ this.iObc00 = this._io.readU2be();
+ this.pObc00 = this._io.readU2be();
+ this.vObc01 = this._io.readU2be();
+ this.iObc01 = this._io.readU2be();
+ this.pObc01 = this._io.readU2be();
+ this.vObc02 = this._io.readU2be();
+ this.iObc02 = this._io.readU2be();
+ this.pObc02 = this._io.readU2be();
+ this.vObc03 = this._io.readU2be();
+ this.iObc03 = this._io.readU2be();
+ this.pObc03 = this._io.readU2be();
+ this.vObc05 = this._io.readU2be();
+ this.iObc05 = this._io.readU2be();
+ this.pObc05 = this._io.readU2be();
+ this.vObc06 = this._io.readU2be();
+ this.iObc06 = this._io.readU2be();
+ this.pObc06 = this._io.readU2be();
+ this.cc1 = this._io.readBytes(8);
+ this.cc2 = this._io.readBytes(8);
+ this.cc3 = this._io.readBytes(8);
+ this.statusStid = this._io.readU1();
+ this.statusIvid = this._io.readU1();
+ this.statusRc = this._io.readU1();
+ this.statusBid = this._io.readU1();
+ this.statusCmderr = this._io.readBitsInt(4);
+ this.statusStat = this._io.readBitsInt(4);
+ this._io.alignToByte();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.uptime = this._io.readU4be();
+ this.error = this._io.readU2be();
+ this.rcCntPwron = this._io.readU2be();
+ this.rcCntWdg = this._io.readU2be();
+ this.rcCntCmd = this._io.readU2be();
+ this.rcCntMcu = this._io.readU2be();
+ this.rcCntEmlopo = this._io.readU2be();
+ this.prevcmdElapsed = this._io.readU2be();
+ }
+
+ private Integer rcCntPwronRaw;
+
+ public Integer rcCntPwronRaw() {
+ if (this.rcCntPwronRaw != null) return this.rcCntPwronRaw;
+ int _tmp = (int) (rcCntPwron());
+ this.rcCntPwronRaw = _tmp;
+ return this.rcCntPwronRaw;
+ }
+
+ private Double vDistInputRawV;
+
+ public Double vDistInputRawV() {
+ if (this.vDistInputRawV != null) return this.vDistInputRawV;
+ double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vDistInputRawV = _tmp;
+ return this.vDistInputRawV;
+ }
+
+ private Double iObc05Ma;
+
+ public Double iObc05Ma() {
+ if (this.iObc05Ma != null) return this.iObc05Ma;
+ double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
+ this.iObc05Ma = _tmp;
+ return this.iObc05Ma;
+ }
+
+ private Double pObc05Mw;
+
+ public Double pObc05Mw() {
+ if (this.pObc05Mw != null) return this.pObc05Mw;
+ double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
+ this.pObc05Mw = _tmp;
+ return this.pObc05Mw;
+ }
+
+ private Integer statObcOnRaw;
+
+ public Integer statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ int _tmp = (int) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Long statusStatRaw;
+
+ public Long statusStatRaw() {
+ if (this.statusStatRaw != null) return this.statusStatRaw;
+ long _tmp = (long) (statusStat());
+ this.statusStatRaw = _tmp;
+ return this.statusStatRaw;
+ }
+
+ private Integer hKRcRaw;
+
+ public Integer hKRcRaw() {
+ if (this.hKRcRaw != null) return this.hKRcRaw;
+ int _tmp = (int) (hKRc());
+ this.hKRcRaw = _tmp;
+ return this.hKRcRaw;
+ }
+
+ private Double pObc00Mw;
+
+ public Double pObc00Mw() {
+ if (this.pObc00Mw != null) return this.pObc00Mw;
+ double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
+ this.pObc00Mw = _tmp;
+ return this.pObc00Mw;
+ }
+
+ private Double vObc02V;
+
+ public Double vObc02V() {
+ if (this.vObc02V != null) return this.vObc02V;
+ double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
+ this.vObc02V = _tmp;
+ return this.vObc02V;
+ }
+
+ private Double pObc06Mw;
+
+ public Double pObc06Mw() {
+ if (this.pObc06Mw != null) return this.pObc06Mw;
+ double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
+ this.pObc06Mw = _tmp;
+ return this.pObc06Mw;
+ }
+
+ private Integer modeRaw;
+
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Long statusCmderrRaw;
+
+ public Long statusCmderrRaw() {
+ if (this.statusCmderrRaw != null) return this.statusCmderrRaw;
+ long _tmp = (long) (statusCmderr());
+ this.statusCmderrRaw = _tmp;
+ return this.statusCmderrRaw;
+ }
+
+ private Double pObc01Mw;
+
+ public Double pObc01Mw() {
+ if (this.pObc01Mw != null) return this.pObc01Mw;
+ double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
+ this.pObc01Mw = _tmp;
+ return this.pObc01Mw;
+ }
+
+ private Integer rcCntCmdRaw;
+
+ public Integer rcCntCmdRaw() {
+ if (this.rcCntCmdRaw != null) return this.rcCntCmdRaw;
+ int _tmp = (int) (rcCntCmd());
+ this.rcCntCmdRaw = _tmp;
+ return this.rcCntCmdRaw;
+ }
+
+ private Integer statObcOcfRaw;
+
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long uptimeRaw;
+
+ public Long uptimeRaw() {
+ if (this.uptimeRaw != null) return this.uptimeRaw;
+ long _tmp = (long) (uptime());
+ this.uptimeRaw = _tmp;
+ return this.uptimeRaw;
+ }
+
+ private Double voltBrdSupRawV;
+
+ public Double voltBrdSupRawV() {
+ if (this.voltBrdSupRawV != null) return this.voltBrdSupRawV;
+ double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
+ this.voltBrdSupRawV = _tmp;
+ return this.voltBrdSupRawV;
+ }
+
+ private Double iObc00Ma;
+
+ public Double iObc00Ma() {
+ if (this.iObc00Ma != null) return this.iObc00Ma;
+ double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
+ this.iObc00Ma = _tmp;
+ return this.iObc00Ma;
+ }
+
+ private Integer rcCntWdgRaw;
+
+ public Integer rcCntWdgRaw() {
+ if (this.rcCntWdgRaw != null) return this.rcCntWdgRaw;
+ int _tmp = (int) (rcCntWdg());
+ this.rcCntWdgRaw = _tmp;
+ return this.rcCntWdgRaw;
+ }
+
+ private Double pDistInputRawMw;
+
+ public Double pDistInputRawMw() {
+ if (this.pDistInputRawMw != null) return this.pDistInputRawMw;
+ double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
+ this.pDistInputRawMw = _tmp;
+ return this.pDistInputRawMw;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Double vObc06V;
+
+ public Double vObc06V() {
+ if (this.vObc06V != null) return this.vObc06V;
+ double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
+ this.vObc06V = _tmp;
+ return this.vObc06V;
+ }
+
+ private Double iObc03Ma;
+
+ public Double iObc03Ma() {
+ if (this.iObc03Ma != null) return this.iObc03Ma;
+ double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
+ this.iObc03Ma = _tmp;
+ return this.iObc03Ma;
+ }
+
+ private Double vObc03V;
+
+ public Double vObc03V() {
+ if (this.vObc03V != null) return this.vObc03V;
+ double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
+ this.vObc03V = _tmp;
+ return this.vObc03V;
+ }
+
+ private Integer hKBidRaw;
+
+ public Integer hKBidRaw() {
+ if (this.hKBidRaw != null) return this.hKBidRaw;
+ int _tmp = (int) (hKBid());
+ this.hKBidRaw = _tmp;
+ return this.hKBidRaw;
+ }
+
+ private Double iBattInputRawMa;
+
+ public Double iBattInputRawMa() {
+ if (this.iBattInputRawMa != null) return this.iBattInputRawMa;
+ double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
+ this.iBattInputRawMa = _tmp;
+ return this.iBattInputRawMa;
+ }
+
+ private Integer hKIvidRaw;
+
+ public Integer hKIvidRaw() {
+ if (this.hKIvidRaw != null) return this.hKIvidRaw;
+ int _tmp = (int) (hKIvid());
+ this.hKIvidRaw = _tmp;
+ return this.hKIvidRaw;
+ }
+
+ private Double iObc02Ma;
+
+ public Double iObc02Ma() {
+ if (this.iObc02Ma != null) return this.iObc02Ma;
+ double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
+ this.iObc02Ma = _tmp;
+ return this.iObc02Ma;
+ }
+
+ private Integer statusStidRaw;
+
+ public Integer statusStidRaw() {
+ if (this.statusStidRaw != null) return this.statusStidRaw;
+ int _tmp = (int) (statusStid());
+ this.statusStidRaw = _tmp;
+ return this.statusStidRaw;
+ }
+
+ private Double iObc06Ma;
+
+ public Double iObc06Ma() {
+ if (this.iObc06Ma != null) return this.iObc06Ma;
+ double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
+ this.iObc06Ma = _tmp;
+ return this.iObc06Ma;
+ }
+
+ private Integer statusRcRaw;
+
+ public Integer statusRcRaw() {
+ if (this.statusRcRaw != null) return this.statusRcRaw;
+ int _tmp = (int) (statusRc());
+ this.statusRcRaw = _tmp;
+ return this.statusRcRaw;
+ }
+
+ private byte[] cc2Byte;
+
+ public byte[] cc2Byte() {
+ if (this.cc2Byte != null) return this.cc2Byte;
+ this.cc2Byte = cc2();
+ return this.cc2Byte;
+ }
+
+ private Integer errorRaw;
+
+ public Integer errorRaw() {
+ if (this.errorRaw != null) return this.errorRaw;
+ int _tmp = (int) (error());
+ this.errorRaw = _tmp;
+ return this.errorRaw;
+ }
+
+ private Double iDistInputRawMa;
+
+ public Double iDistInputRawMa() {
+ if (this.iDistInputRawMa != null) return this.iDistInputRawMa;
+ double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
+ this.iDistInputRawMa = _tmp;
+ return this.iDistInputRawMa;
+ }
+
+ private Double vObc01V;
+
+ public Double vObc01V() {
+ if (this.vObc01V != null) return this.vObc01V;
+ double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
+ this.vObc01V = _tmp;
+ return this.vObc01V;
+ }
+
+ private Double pBattInputRawMw;
+
+ public Double pBattInputRawMw() {
+ if (this.pBattInputRawMw != null) return this.pBattInputRawMw;
+ double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
+ this.pBattInputRawMw = _tmp;
+ return this.pBattInputRawMw;
+ }
+
+ private Double iObc01Ma;
+
+ public Double iObc01Ma() {
+ if (this.iObc01Ma != null) return this.iObc01Ma;
+ double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
+ this.iObc01Ma = _tmp;
+ return this.iObc01Ma;
+ }
+
+ private Double tempRawT;
+
+ public Double tempRawT() {
+ if (this.tempRawT != null) return this.tempRawT;
+ double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
+ this.tempRawT = _tmp;
+ return this.tempRawT;
+ }
+
+ private byte[] cc1Byte;
+
+ public byte[] cc1Byte() {
+ if (this.cc1Byte != null) return this.cc1Byte;
+ this.cc1Byte = cc1();
+ return this.cc1Byte;
+ }
+
+ private Integer rcCntEmlopoRaw;
+
+ public Integer rcCntEmlopoRaw() {
+ if (this.rcCntEmlopoRaw != null) return this.rcCntEmlopoRaw;
+ int _tmp = (int) (rcCntEmlopo());
+ this.rcCntEmlopoRaw = _tmp;
+ return this.rcCntEmlopoRaw;
+ }
+
+ private Integer rcCntMcuRaw;
+
+ public Integer rcCntMcuRaw() {
+ if (this.rcCntMcuRaw != null) return this.rcCntMcuRaw;
+ int _tmp = (int) (rcCntMcu());
+ this.rcCntMcuRaw = _tmp;
+ return this.rcCntMcuRaw;
+ }
+
+ private Integer statusBidRaw;
+
+ public Integer statusBidRaw() {
+ if (this.statusBidRaw != null) return this.statusBidRaw;
+ int _tmp = (int) (statusBid());
+ this.statusBidRaw = _tmp;
+ return this.statusBidRaw;
+ }
+
+ private Integer statusIvidRaw;
+
+ public Integer statusIvidRaw() {
+ if (this.statusIvidRaw != null) return this.statusIvidRaw;
+ int _tmp = (int) (statusIvid());
+ this.statusIvidRaw = _tmp;
+ return this.statusIvidRaw;
+ }
+
+ private Double pObc03Mw;
+
+ public Double pObc03Mw() {
+ if (this.pObc03Mw != null) return this.pObc03Mw;
+ double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
+ this.pObc03Mw = _tmp;
+ return this.pObc03Mw;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private byte[] cc3Byte;
+
+ public byte[] cc3Byte() {
+ if (this.cc3Byte != null) return this.cc3Byte;
+ this.cc3Byte = cc3();
+ return this.cc3Byte;
+ }
+
+ private Double vObc05V;
+
+ public Double vObc05V() {
+ if (this.vObc05V != null) return this.vObc05V;
+ double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
+ this.vObc05V = _tmp;
+ return this.vObc05V;
+ }
+
+ private Double vObc00V;
+
+ public Double vObc00V() {
+ if (this.vObc00V != null) return this.vObc00V;
+ double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
+ this.vObc00V = _tmp;
+ return this.vObc00V;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Long hKCmderrRaw;
+
+ public Long hKCmderrRaw() {
+ if (this.hKCmderrRaw != null) return this.hKCmderrRaw;
+ long _tmp = (long) (hKCmderr());
+ this.hKCmderrRaw = _tmp;
+ return this.hKCmderrRaw;
+ }
+
+ private Double batTemp2RawT;
+
+ public Double batTemp2RawT() {
+ if (this.batTemp2RawT != null) return this.batTemp2RawT;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2RawT = _tmp;
+ return this.batTemp2RawT;
+ }
+
+ private Double vBattInputRawV;
+
+ public Double vBattInputRawV() {
+ if (this.vBattInputRawV != null) return this.vBattInputRawV;
+ double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vBattInputRawV = _tmp;
+ return this.vBattInputRawV;
+ }
+
+ private Integer resetCauseRaw;
+
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Integer hKStidRaw;
+
+ public Integer hKStidRaw() {
+ if (this.hKStidRaw != null) return this.hKStidRaw;
+ int _tmp = (int) (hKStid());
+ this.hKStidRaw = _tmp;
+ return this.hKStidRaw;
+ }
+
+ private Double pObc02Mw;
+
+ public Double pObc02Mw() {
+ if (this.pObc02Mw != null) return this.pObc02Mw;
+ double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
+ this.pObc02Mw = _tmp;
+ return this.pObc02Mw;
+ }
+
+ private Long hKStatRaw;
+
+ public Long hKStatRaw() {
+ if (this.hKStatRaw != null) return this.hKStatRaw;
+ long _tmp = (long) (hKStat());
+ this.hKStatRaw = _tmp;
+ return this.hKStatRaw;
+ }
+
+ private Integer confRaw;
+
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Integer prevcmdElapsedRaw;
+
+ public Integer prevcmdElapsedRaw() {
+ if (this.prevcmdElapsedRaw != null) return this.prevcmdElapsedRaw;
+ int _tmp = (int) (prevcmdElapsed());
+ this.prevcmdElapsedRaw = _tmp;
+ return this.prevcmdElapsedRaw;
+ }
+
+ private int hKStid;
+ private int hKIvid;
+ private int hKRc;
+ private int hKBid;
+ private long hKCmderr;
+ private long hKStat;
+ private int voltBrdSupRaw;
+ private int tempRaw;
+ private int vDistInputRaw;
+ private int iDistInputRaw;
+ private int pDistInputRaw;
+ private int vBattInputRaw;
+ private int iBattInputRaw;
+ private int pBattInputRaw;
+ private int statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private int vObc00;
+ private int iObc00;
+ private int pObc00;
+ private int vObc01;
+ private int iObc01;
+ private int pObc01;
+ private int vObc02;
+ private int iObc02;
+ private int pObc02;
+ private int vObc03;
+ private int iObc03;
+ private int pObc03;
+ private int vObc05;
+ private int iObc05;
+ private int pObc05;
+ private int vObc06;
+ private int iObc06;
+ private int pObc06;
+ private byte[] cc1;
+ private byte[] cc2;
+ private byte[] cc3;
+ private int statusStid;
+ private int statusIvid;
+ private int statusRc;
+ private int statusBid;
+ private long statusCmderr;
+ private long statusStat;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long uptime;
+ private int error;
+ private int rcCntPwron;
+ private int rcCntWdg;
+ private int rcCntCmd;
+ private int rcCntMcu;
+ private int rcCntEmlopo;
+ private int prevcmdElapsed;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public int hKStid() {
+ return hKStid;
+ }
+
+ public int hKIvid() {
+ return hKIvid;
+ }
+
+ public int hKRc() {
+ return hKRc;
+ }
+
+ public int hKBid() {
+ return hKBid;
+ }
+
+ public long hKCmderr() {
+ return hKCmderr;
+ }
+
+ public long hKStat() {
+ return hKStat;
+ }
+
+ public int voltBrdSupRaw() {
+ return voltBrdSupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public int vDistInputRaw() {
+ return vDistInputRaw;
+ }
+
+ public int iDistInputRaw() {
+ return iDistInputRaw;
+ }
+
+ public int pDistInputRaw() {
+ return pDistInputRaw;
+ }
+
+ public int vBattInputRaw() {
+ return vBattInputRaw;
+ }
+
+ public int iBattInputRaw() {
+ return iBattInputRaw;
+ }
+
+ public int pBattInputRaw() {
+ return pBattInputRaw;
+ }
+
+ public int statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public int vObc00() {
+ return vObc00;
+ }
+
+ public int iObc00() {
+ return iObc00;
+ }
+
+ public int pObc00() {
+ return pObc00;
+ }
+
+ public int vObc01() {
+ return vObc01;
+ }
+
+ public int iObc01() {
+ return iObc01;
+ }
+
+ public int pObc01() {
+ return pObc01;
+ }
+
+ public int vObc02() {
+ return vObc02;
+ }
+
+ public int iObc02() {
+ return iObc02;
+ }
+
+ public int pObc02() {
+ return pObc02;
+ }
+
+ public int vObc03() {
+ return vObc03;
+ }
+
+ public int iObc03() {
+ return iObc03;
+ }
+
+ public int pObc03() {
+ return pObc03;
+ }
+
+ public int vObc05() {
+ return vObc05;
+ }
+
+ public int iObc05() {
+ return iObc05;
+ }
+
+ public int pObc05() {
+ return pObc05;
+ }
+
+ public int vObc06() {
+ return vObc06;
+ }
+
+ public int iObc06() {
+ return iObc06;
+ }
+
+ public int pObc06() {
+ return pObc06;
+ }
+
+ public byte[] cc1() {
+ return cc1;
+ }
+
+ public byte[] cc2() {
+ return cc2;
+ }
+
+ public byte[] cc3() {
+ return cc3;
+ }
+
+ public int statusStid() {
+ return statusStid;
+ }
+
+ public int statusIvid() {
+ return statusIvid;
+ }
+
+ public int statusRc() {
+ return statusRc;
+ }
+
+ public int statusBid() {
+ return statusBid;
+ }
+
+ public long statusCmderr() {
+ return statusCmderr;
+ }
+
+ public long statusStat() {
+ return statusStat;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long uptime() {
+ return uptime;
+ }
+
+ public int error() {
+ return error;
+ }
+
+ public int rcCntPwron() {
+ return rcCntPwron;
+ }
+
+ public int rcCntWdg() {
+ return rcCntWdg;
+ }
+
+ public int rcCntCmd() {
+ return rcCntCmd;
+ }
+
+ public int rcCntMcu() {
+ return rcCntMcu;
+ }
+
+ public int rcCntEmlopo() {
+ return rcCntEmlopo;
+ }
+
+ public int prevcmdElapsed() {
+ return prevcmdElapsed;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AntsHk extends KaitaiStruct {
+ public static AntsHk fromFile(String fileName) throws IOException {
+ return new AntsHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AntsHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AntsHk(KaitaiStream _io, Uvsqsat.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AntsHk(KaitaiStream _io, Uvsqsat.UiFrame _parent, Uvsqsat _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.sideAAntsTemperature = this._io.readU2be();
+ this.sideAAntsDeploymentStatus = this._io.readU2be();
+ this.sideAAntsUptime = this._io.readU4be();
+ this.sideADeploymentCountAntenna1 = this._io.readU1();
+ this.sideADeploymentCountAntenna2 = this._io.readU1();
+ this.sideADeploymentCountAntenna3 = this._io.readU1();
+ this.sideADeploymentCountAntenna4 = this._io.readU1();
+ this.sideADeploymentTimeAntenna1 = this._io.readU2be();
+ this.sideADeploymentTimeAntenna2 = this._io.readU2be();
+ this.sideADeploymentTimeAntenna3 = this._io.readU2be();
+ this.sideADeploymentTimeAntenna4 = this._io.readU2be();
+ this.sideBAntsTemperature = this._io.readU2be();
+ this.sideBAntsDeploymentStatus = this._io.readU2be();
+ this.sideBAntsUptime = this._io.readU2be();
+ this.sideBDeploymentCountAntenna1 = this._io.readU1();
+ this.sideBDeploymentCountAntenna2 = this._io.readU1();
+ this.sideBDeploymentCountAntenna3 = this._io.readU1();
+ this.sideBDeploymentCountAntenna4 = this._io.readU1();
+ this.sideBDeploymentTimeAntenna1 = this._io.readU2be();
+ this.sideBDeploymentTimeAntenna2 = this._io.readU2be();
+ this.sideBDeploymentTimeAntenna3 = this._io.readU2be();
+ this.sideBDeploymentTimeAntenna4 = this._io.readU2be();
+ }
+
+ private Integer sideBDeploymentCountAntenna3Raw;
+
+ public Integer sideBDeploymentCountAntenna3Raw() {
+ if (this.sideBDeploymentCountAntenna3Raw != null) return this.sideBDeploymentCountAntenna3Raw;
+ int _tmp = (int) (sideBDeploymentCountAntenna3());
+ this.sideBDeploymentCountAntenna3Raw = _tmp;
+ return this.sideBDeploymentCountAntenna3Raw;
+ }
+
+ private Integer sideBDeploymentTimeAntenna1Raw;
+
+ public Integer sideBDeploymentTimeAntenna1Raw() {
+ if (this.sideBDeploymentTimeAntenna1Raw != null) return this.sideBDeploymentTimeAntenna1Raw;
+ int _tmp = (int) (sideBDeploymentTimeAntenna1());
+ this.sideBDeploymentTimeAntenna1Raw = _tmp;
+ return this.sideBDeploymentTimeAntenna1Raw;
+ }
+
+ private Integer sideADeploymentTimeAntenna3Raw;
+
+ public Integer sideADeploymentTimeAntenna3Raw() {
+ if (this.sideADeploymentTimeAntenna3Raw != null) return this.sideADeploymentTimeAntenna3Raw;
+ int _tmp = (int) (sideADeploymentTimeAntenna3());
+ this.sideADeploymentTimeAntenna3Raw = _tmp;
+ return this.sideADeploymentTimeAntenna3Raw;
+ }
+
+ private Integer sideBDeploymentCountAntenna4Raw;
+
+ public Integer sideBDeploymentCountAntenna4Raw() {
+ if (this.sideBDeploymentCountAntenna4Raw != null) return this.sideBDeploymentCountAntenna4Raw;
+ int _tmp = (int) (sideBDeploymentCountAntenna4());
+ this.sideBDeploymentCountAntenna4Raw = _tmp;
+ return this.sideBDeploymentCountAntenna4Raw;
+ }
+
+ private Integer sideBDeploymentTimeAntenna2Raw;
+
+ public Integer sideBDeploymentTimeAntenna2Raw() {
+ if (this.sideBDeploymentTimeAntenna2Raw != null) return this.sideBDeploymentTimeAntenna2Raw;
+ int _tmp = (int) (sideBDeploymentTimeAntenna2());
+ this.sideBDeploymentTimeAntenna2Raw = _tmp;
+ return this.sideBDeploymentTimeAntenna2Raw;
+ }
+
+ private Integer sideADeploymentCountAntenna3Raw;
+
+ public Integer sideADeploymentCountAntenna3Raw() {
+ if (this.sideADeploymentCountAntenna3Raw != null) return this.sideADeploymentCountAntenna3Raw;
+ int _tmp = (int) (sideADeploymentCountAntenna3());
+ this.sideADeploymentCountAntenna3Raw = _tmp;
+ return this.sideADeploymentCountAntenna3Raw;
+ }
+
+ private Integer sideBDeploymentCountAntenna1Raw;
+
+ public Integer sideBDeploymentCountAntenna1Raw() {
+ if (this.sideBDeploymentCountAntenna1Raw != null) return this.sideBDeploymentCountAntenna1Raw;
+ int _tmp = (int) (sideBDeploymentCountAntenna1());
+ this.sideBDeploymentCountAntenna1Raw = _tmp;
+ return this.sideBDeploymentCountAntenna1Raw;
+ }
+
+ private Integer sideADeploymentCountAntenna4Raw;
+
+ public Integer sideADeploymentCountAntenna4Raw() {
+ if (this.sideADeploymentCountAntenna4Raw != null) return this.sideADeploymentCountAntenna4Raw;
+ int _tmp = (int) (sideADeploymentCountAntenna4());
+ this.sideADeploymentCountAntenna4Raw = _tmp;
+ return this.sideADeploymentCountAntenna4Raw;
+ }
+
+ private Integer sideADeploymentCountAntenna1Raw;
+
+ public Integer sideADeploymentCountAntenna1Raw() {
+ if (this.sideADeploymentCountAntenna1Raw != null) return this.sideADeploymentCountAntenna1Raw;
+ int _tmp = (int) (sideADeploymentCountAntenna1());
+ this.sideADeploymentCountAntenna1Raw = _tmp;
+ return this.sideADeploymentCountAntenna1Raw;
+ }
+
+ private Long sideAAntsUptimeRaw;
+
+ public Long sideAAntsUptimeRaw() {
+ if (this.sideAAntsUptimeRaw != null) return this.sideAAntsUptimeRaw;
+ long _tmp = (long) (sideAAntsUptime());
+ this.sideAAntsUptimeRaw = _tmp;
+ return this.sideAAntsUptimeRaw;
+ }
+
+ private Integer sideBDeploymentTimeAntenna3Raw;
+
+ public Integer sideBDeploymentTimeAntenna3Raw() {
+ if (this.sideBDeploymentTimeAntenna3Raw != null) return this.sideBDeploymentTimeAntenna3Raw;
+ int _tmp = (int) (sideBDeploymentTimeAntenna3());
+ this.sideBDeploymentTimeAntenna3Raw = _tmp;
+ return this.sideBDeploymentTimeAntenna3Raw;
+ }
+
+ private Integer sideBAntsTemperatureRaw;
+
+ public Integer sideBAntsTemperatureRaw() {
+ if (this.sideBAntsTemperatureRaw != null) return this.sideBAntsTemperatureRaw;
+ int _tmp = (int) (sideBAntsTemperature());
+ this.sideBAntsTemperatureRaw = _tmp;
+ return this.sideBAntsTemperatureRaw;
+ }
+
+ private Integer sideADeploymentTimeAntenna2Raw;
+
+ public Integer sideADeploymentTimeAntenna2Raw() {
+ if (this.sideADeploymentTimeAntenna2Raw != null) return this.sideADeploymentTimeAntenna2Raw;
+ int _tmp = (int) (sideADeploymentTimeAntenna2());
+ this.sideADeploymentTimeAntenna2Raw = _tmp;
+ return this.sideADeploymentTimeAntenna2Raw;
+ }
+
+ private Integer sideBDeploymentTimeAntenna4Raw;
+
+ public Integer sideBDeploymentTimeAntenna4Raw() {
+ if (this.sideBDeploymentTimeAntenna4Raw != null) return this.sideBDeploymentTimeAntenna4Raw;
+ int _tmp = (int) (sideBDeploymentTimeAntenna4());
+ this.sideBDeploymentTimeAntenna4Raw = _tmp;
+ return this.sideBDeploymentTimeAntenna4Raw;
+ }
+
+ private Integer sideBAntsDeploymentStatusRaw;
+
+ public Integer sideBAntsDeploymentStatusRaw() {
+ if (this.sideBAntsDeploymentStatusRaw != null) return this.sideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (sideBAntsDeploymentStatus());
+ this.sideBAntsDeploymentStatusRaw = _tmp;
+ return this.sideBAntsDeploymentStatusRaw;
+ }
+
+ private Integer sideADeploymentTimeAntenna1Raw;
+
+ public Integer sideADeploymentTimeAntenna1Raw() {
+ if (this.sideADeploymentTimeAntenna1Raw != null) return this.sideADeploymentTimeAntenna1Raw;
+ int _tmp = (int) (sideADeploymentTimeAntenna1());
+ this.sideADeploymentTimeAntenna1Raw = _tmp;
+ return this.sideADeploymentTimeAntenna1Raw;
+ }
+
+ private Integer sideADeploymentTimeAntenna4Raw;
+
+ public Integer sideADeploymentTimeAntenna4Raw() {
+ if (this.sideADeploymentTimeAntenna4Raw != null) return this.sideADeploymentTimeAntenna4Raw;
+ int _tmp = (int) (sideADeploymentTimeAntenna4());
+ this.sideADeploymentTimeAntenna4Raw = _tmp;
+ return this.sideADeploymentTimeAntenna4Raw;
+ }
+
+ private Integer sideAAntsTemperatureRaw;
+
+ public Integer sideAAntsTemperatureRaw() {
+ if (this.sideAAntsTemperatureRaw != null) return this.sideAAntsTemperatureRaw;
+ int _tmp = (int) (sideAAntsTemperature());
+ this.sideAAntsTemperatureRaw = _tmp;
+ return this.sideAAntsTemperatureRaw;
+ }
+
+ private Integer sideAAntsDeploymentStatusRaw;
+
+ public Integer sideAAntsDeploymentStatusRaw() {
+ if (this.sideAAntsDeploymentStatusRaw != null) return this.sideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (sideAAntsDeploymentStatus());
+ this.sideAAntsDeploymentStatusRaw = _tmp;
+ return this.sideAAntsDeploymentStatusRaw;
+ }
+
+ private Integer sideBDeploymentCountAntenna2Raw;
+
+ public Integer sideBDeploymentCountAntenna2Raw() {
+ if (this.sideBDeploymentCountAntenna2Raw != null) return this.sideBDeploymentCountAntenna2Raw;
+ int _tmp = (int) (sideBDeploymentCountAntenna2());
+ this.sideBDeploymentCountAntenna2Raw = _tmp;
+ return this.sideBDeploymentCountAntenna2Raw;
+ }
+
+ private Integer sideADeploymentCountAntenna2Raw;
+
+ public Integer sideADeploymentCountAntenna2Raw() {
+ if (this.sideADeploymentCountAntenna2Raw != null) return this.sideADeploymentCountAntenna2Raw;
+ int _tmp = (int) (sideADeploymentCountAntenna2());
+ this.sideADeploymentCountAntenna2Raw = _tmp;
+ return this.sideADeploymentCountAntenna2Raw;
+ }
+
+ private Integer sideBAntsUptimeRaw;
+
+ public Integer sideBAntsUptimeRaw() {
+ if (this.sideBAntsUptimeRaw != null) return this.sideBAntsUptimeRaw;
+ int _tmp = (int) (sideBAntsUptime());
+ this.sideBAntsUptimeRaw = _tmp;
+ return this.sideBAntsUptimeRaw;
+ }
+
+ private int sideAAntsTemperature;
+ private int sideAAntsDeploymentStatus;
+ private long sideAAntsUptime;
+ private int sideADeploymentCountAntenna1;
+ private int sideADeploymentCountAntenna2;
+ private int sideADeploymentCountAntenna3;
+ private int sideADeploymentCountAntenna4;
+ private int sideADeploymentTimeAntenna1;
+ private int sideADeploymentTimeAntenna2;
+ private int sideADeploymentTimeAntenna3;
+ private int sideADeploymentTimeAntenna4;
+ private int sideBAntsTemperature;
+ private int sideBAntsDeploymentStatus;
+ private int sideBAntsUptime;
+ private int sideBDeploymentCountAntenna1;
+ private int sideBDeploymentCountAntenna2;
+ private int sideBDeploymentCountAntenna3;
+ private int sideBDeploymentCountAntenna4;
+ private int sideBDeploymentTimeAntenna1;
+ private int sideBDeploymentTimeAntenna2;
+ private int sideBDeploymentTimeAntenna3;
+ private int sideBDeploymentTimeAntenna4;
+ private Uvsqsat _root;
+ private Uvsqsat.UiFrame _parent;
+
+ public int sideAAntsTemperature() {
+ return sideAAntsTemperature;
+ }
+
+ public int sideAAntsDeploymentStatus() {
+ return sideAAntsDeploymentStatus;
+ }
+
+ public long sideAAntsUptime() {
+ return sideAAntsUptime;
+ }
+
+ public int sideADeploymentCountAntenna1() {
+ return sideADeploymentCountAntenna1;
+ }
+
+ public int sideADeploymentCountAntenna2() {
+ return sideADeploymentCountAntenna2;
+ }
+
+ public int sideADeploymentCountAntenna3() {
+ return sideADeploymentCountAntenna3;
+ }
+
+ public int sideADeploymentCountAntenna4() {
+ return sideADeploymentCountAntenna4;
+ }
+
+ public int sideADeploymentTimeAntenna1() {
+ return sideADeploymentTimeAntenna1;
+ }
+
+ public int sideADeploymentTimeAntenna2() {
+ return sideADeploymentTimeAntenna2;
+ }
+
+ public int sideADeploymentTimeAntenna3() {
+ return sideADeploymentTimeAntenna3;
+ }
+
+ public int sideADeploymentTimeAntenna4() {
+ return sideADeploymentTimeAntenna4;
+ }
+
+ public int sideBAntsTemperature() {
+ return sideBAntsTemperature;
+ }
+
+ public int sideBAntsDeploymentStatus() {
+ return sideBAntsDeploymentStatus;
+ }
+
+ public int sideBAntsUptime() {
+ return sideBAntsUptime;
+ }
+
+ public int sideBDeploymentCountAntenna1() {
+ return sideBDeploymentCountAntenna1;
+ }
+
+ public int sideBDeploymentCountAntenna2() {
+ return sideBDeploymentCountAntenna2;
+ }
+
+ public int sideBDeploymentCountAntenna3() {
+ return sideBDeploymentCountAntenna3;
+ }
+
+ public int sideBDeploymentCountAntenna4() {
+ return sideBDeploymentCountAntenna4;
+ }
+
+ public int sideBDeploymentTimeAntenna1() {
+ return sideBDeploymentTimeAntenna1;
+ }
+
+ public int sideBDeploymentTimeAntenna2() {
+ return sideBDeploymentTimeAntenna2;
+ }
+
+ public int sideBDeploymentTimeAntenna3() {
+ return sideBDeploymentTimeAntenna3;
+ }
+
+ public int sideBDeploymentTimeAntenna4() {
+ return sideBDeploymentTimeAntenna4;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public Uvsqsat.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ private Ax25Frame ax25Frame;
+ private Uvsqsat _root;
+ private KaitaiStruct _parent;
+
+ /** @see Source */
+ public Ax25Frame ax25Frame() {
+ return ax25Frame;
+ }
+
+ public Uvsqsat _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
}
diff --git a/ModuleInflux/src/test/java/org/josast/influxdb/influxdbUVSQsatTest.java b/ModuleInflux/src/test/java/org/josast/influxdb/influxdbUVSQsatTest.java
index 37c1430b5d5a5fd6fd18d41cb08f6a196af03c59..ca4c7e7a052f21d1038f219897f0d21382a86ceb 100644
--- a/ModuleInflux/src/test/java/org/josast/influxdb/influxdbUVSQsatTest.java
+++ b/ModuleInflux/src/test/java/org/josast/influxdb/influxdbUVSQsatTest.java
@@ -4,24 +4,27 @@ import junit.framework.TestCase;
public class influxdbUVSQsatTest extends TestCase {
- protected void setUp() throws Exception {
- super.setUp();
- }
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
- protected void tearDown() throws Exception {
- super.tearDown();
- }
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
- public void testStore() {
- // String data = "9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002386d9c840000000f02fe0002ac11000069fc0000001a000000030000000a0000694700503c60613a04124b002869869b1f7a360813b04024b00186886800084a0853085a088208830887054202310000080103cd1e230160005a1e2400080001006b0000800007101e2313f608011e1d00b1004e13fb002400060012ffff000013fa00a300150d4f01b4002e0d51005700091a05410180010001000058bb000001fe00a0000600000013000000050005000400060006000500006b8800006b1b00006c2300006bf600006c1900006be31bcd";
-
- // String data = "9882a89a9ea6e09882a89a9ea66303f00801c000001120050300000002387643c4000000090bb6d1";
- // String data = "9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002387578110000000f04fe0002ac000001b9d80000002600000005000000200001936000302c65312b03d2450029c79c980a68a6531290402440029c79c8ffffffffffffffffffffffffffffff02bc000007fa03781fa0014a004a1fa6feccffb30063000080000b3b1fa0141b07fa1f9d009d004e141d002b00060016fffeffffff470002ffff0d6001b2002c0d62004c00081a054101800100000007f8710000021200a40006000000130000000500050005000600050005ffffc19effffa5d0ffffbc26ffffbd8bffffb607ffffb037b582";
- //"observer\":\"G7WIQ-IO92js\",\"timestamp\":\"2021-01-30T21:30:39Z\",\"version\":\"2.0.2\",\"observation_id\":null},{\"norad_cat_id\":99749,\"transmitter\":\"\",\"app_source\":\"sids\",\"schema\":\"\",\"decoded\":\"\",\"frame\":\"9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002387577f30000000f04fe0002ac000001b9d20000002600000005000000200001936000402d65312b03e2450029c29c48bf62165312a03c2430019c29c4ffffffffffffffffffffffffffffff02ba000007fb03721fa10116004d1fa6fec5ffb30063000080000b351fa1141d07fb1f9d00a3004f141d002800060016ffff0000ff48000200000d6001a7002d0d62006400081a054101800100000007f8540000021200a4000600000013001c000500050005000500050003ffffc320ffffa7cbffffbe66ffffbebcffffb8a0ffffb1aa0152\",\"observer\":\"G7WIQ-IO92js\",\"timestamp\":\"2021-01-30T21:30:09Z\",\"version\":\"2.0.2\",\"observation_id\":null},{\"norad_cat_id\":99749,\"transmitter\":\"\",\"app_source\":\"sids\",\"schema\":\"\",\"decoded\":\"\",\"frame\":\"9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002387577f30000000f04fe0002ac000001b9d20000002600000005000000200001936000402d65312b03e2450029c29c48bf62165312a03c2430019c29c4ffffffffffffffffffffffffffffff02ba000007fb03721fa10116004d1fa6fec5ffb30063000080000b351fa1141d07fb1f9d00a3004f141d002800060016ffff0000ff48000200000d6001a7002d0d62006400081a054101800100000007f8540000021200a4000600000013001c000500050005000500050003ffffc320ffffa7cbffffbe66ffffbebcffffb8a0ffffb1aa0152";
- String data = "9882a89a9ea6e09882a89a9ea66303f00801c0000036200c0c000000023876443600000002000300030001004c1a00040238764418000000000300030001200900000204387644360000004a91";
- InfluxdbUVSQsatDB influxdbUVSQsatInstance = InfluxdbUVSQsatDB.getInstance();
- //influxdbUVSQsatInstance.connect("http://127.0.0.1:8086", "test", "test");
- influxdbUVSQsatInstance.store(data, "Xtof");
- }
+ public void testStore() {
+ // String data =
+ // "9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002386d9c840000000f02fe0002ac11000069fc0000001a000000030000000a0000694700503c60613a04124b002869869b1f7a360813b04024b00186886800084a0853085a088208830887054202310000080103cd1e230160005a1e2400080001006b0000800007101e2313f608011e1d00b1004e13fb002400060012ffff000013fa00a300150d4f01b4002e0d51005700091a05410180010001000058bb000001fe00a0000600000013000000050005000400060006000500006b8800006b1b00006c2300006bf600006c1900006be31bcd";
+ // String data =
+ // "9882a89a9ea6e09882a89a9ea66303f00801c000001120050300000002387643c4000000090bb6d1";
+ // String data =
+ // "9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002387578110000000f04fe0002ac000001b9d80000002600000005000000200001936000302c65312b03d2450029c79c980a68a6531290402440029c79c8ffffffffffffffffffffffffffffff02bc000007fa03781fa0014a004a1fa6feccffb30063000080000b3b1fa0141b07fa1f9d009d004e141d002b00060016fffeffffff470002ffff0d6001b2002c0d62004c00081a054101800100000007f8710000021200a40006000000130000000500050005000600050005ffffc19effffa5d0ffffbc26ffffbd8bffffb607ffffb037b582";
+ // "observer\":\"G7WIQ-IO92js\",\"timestamp\":\"2021-01-30T21:30:39Z\",\"version\":\"2.0.2\",\"observation_id\":null},{\"norad_cat_id\":99749,\"transmitter\":\"\",\"app_source\":\"sids\",\"schema\":\"\",\"decoded\":\"\",\"frame\":\"9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002387577f30000000f04fe0002ac000001b9d20000002600000005000000200001936000402d65312b03e2450029c29c48bf62165312a03c2430019c29c4ffffffffffffffffffffffffffffff02ba000007fb03721fa10116004d1fa6fec5ffb30063000080000b351fa1141d07fb1f9d00a3004f141d002800060016ffff0000ff48000200000d6001a7002d0d62006400081a054101800100000007f8540000021200a4000600000013001c000500050005000500050003ffffc320ffffa7cbffffbe66ffffbebcffffb8a0ffffb1aa0152\",\"observer\":\"G7WIQ-IO92js\",\"timestamp\":\"2021-01-30T21:30:09Z\",\"version\":\"2.0.2\",\"observation_id\":null},{\"norad_cat_id\":99749,\"transmitter\":\"\",\"app_source\":\"sids\",\"schema\":\"\",\"decoded\":\"\",\"frame\":\"9882a89a9ea6e09882a89a9ea66303f00801c00000d820031900000002387577f30000000f04fe0002ac000001b9d20000002600000005000000200001936000402d65312b03e2450029c29c48bf62165312a03c2430019c29c4ffffffffffffffffffffffffffffff02ba000007fb03721fa10116004d1fa6fec5ffb30063000080000b351fa1141d07fb1f9d00a3004f141d002800060016ffff0000ff48000200000d6001a7002d0d62006400081a054101800100000007f8540000021200a4000600000013001c000500050005000500050003ffffc320ffffa7cbffffbe66ffffbebcffffb8a0ffffb1aa0152";
+ String data =
+ "9882a89a9ea6e09882a89a9ea66303f00801c0000036200c0c000000023876443600000002000300030001004c1a00040238764418000000000300030001200900000204387644360000004a91";
+ InfluxdbUVSQsatDB influxdbUVSQsatInstance = InfluxdbUVSQsatDB.getInstance();
+ // influxdbUVSQsatInstance.connect("http://127.0.0.1:8086", "test", "test");
+ influxdbUVSQsatInstance.store(data, "Xtof");
+ }
}
diff --git a/ModuleInflux/src/test/java/org/test/influxDB/EntrysatTest.java b/ModuleInflux/src/test/java/org/test/influxDB/EntrysatTest.java
index 310f1a08064acb282611dc60b7e880eed1c8716a..3581f97b6e7b97d60533d8e4323a099143739ad5 100644
--- a/ModuleInflux/src/test/java/org/test/influxDB/EntrysatTest.java
+++ b/ModuleInflux/src/test/java/org/test/influxDB/EntrysatTest.java
@@ -3,16 +3,18 @@ package org.test.influxDB;
import org.josast.influxdb.Entrysat;
public class EntrysatTest {
-
- public static void main( String[] args )
- {
- Entrysat app = new Entrysat();
- app.conect("http://127.0.0.1:8086", "test", "testtest");
- app.createDataBase("databasename");
-
- app.addEntrySatData("Source", "8c6c96a88240e09e9c60648ca46103f0000000000801c1200017100102249a78f25d1801dc010002a5a52175fe0800001603b0f2789a24c0");
- app.addEntrySatData("Source","8c6c96a88240e09e9c60648ca46103f0000000000801c729001210031923febdcd170600f16b00009ea0981fc6b009befe23c0");
- }
+ public static void main(String[] args) {
+ Entrysat app = new Entrysat();
+ app.conect("http://127.0.0.1:8086", "test", "testtest");
+ app.createDataBase("databasename");
+
+ app.addEntrySatData(
+ "Source",
+ "8c6c96a88240e09e9c60648ca46103f0000000000801c1200017100102249a78f25d1801dc010002a5a52175fe0800001603b0f2789a24c0");
+ app.addEntrySatData(
+ "Source",
+ "8c6c96a88240e09e9c60648ca46103f0000000000801c729001210031923febdcd170600f16b00009ea0981fc6b009befe23c0");
+ }
}
diff --git a/ModuleInspireSat7/pom.xml b/ModuleInspireSat7/pom.xml
new file mode 100644
index 0000000000000000000000000000000000000000..948cea55c5714520ceddd1955d194efb9d6291e6
--- /dev/null
+++ b/ModuleInspireSat7/pom.xml
@@ -0,0 +1,45 @@
+
+ : Writing rules should be respected (see JOSAST project) : - for interpreted value, variable
+ * should finish with : _raw if no interpretation is done : _c, _ma _v _dbm _mw according to the
+ * interpreted value : - the name of the interpreted value should be close to the displaed name (to
+ * limit rework) : _c, _ma _v _dbm _mw are automaticaly converted to (C) (mA) (dbm) (mW) : :field
+ * dest_callsign: ax25_frame.ax25_header.dest_callsign_raw.callsign_ror.callsign :field
+ * src_callsign: ax25_frame.ax25_header.src_callsign_raw.callsign_ror.callsign :field src_ssid:
+ * ax25_frame.ax25_header.src_ssid_raw.ssid :field dest_ssid:
+ * ax25_frame.ax25_header.dest_ssid_raw.ssid :field ctl: ax25_frame.ax25_header.ctl :field pid:
+ * ax25_frame.payload.pid
+ */
+public class InspireSat7 extends KaitaiStruct {
+ public static InspireSat7 fromFile(String fileName) throws IOException {
+ return new InspireSat7(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public InspireSat7(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public InspireSat7(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public InspireSat7(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root == null ? this : _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ax25Frame = new Ax25Frame(this._io, this, _root);
+ }
+
+ public static class Ax25Frame extends KaitaiStruct {
+ public static Ax25Frame fromFile(String fileName) throws IOException {
+ return new Ax25Frame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Ax25Frame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Ax25Frame(KaitaiStream _io, InspireSat7 _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Ax25Frame(KaitaiStream _io, InspireSat7 _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ax25Header = new Ax25Header(this._io, this, _root);
+ switch ((ax25Header().ctl() & 19)) {
+ case 0:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 3:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 2:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ }
+ }
+
+ private Ax25Header ax25Header;
+ private KaitaiStruct payload;
+ private InspireSat7 _root;
+ private InspireSat7 _parent;
+
+ public Ax25Header ax25Header() {
+ return ax25Header;
+ }
+
+ public KaitaiStruct payload() {
+ return payload;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7 _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Ax25Header extends KaitaiStruct {
+ public static Ax25Header fromFile(String fileName) throws IOException {
+ return new Ax25Header(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Ax25Header(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.destCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.destSsidRaw = new SsidMask(this._io, this, _root);
+ this.srcCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.srcSsidRaw = new SsidMask(this._io, this, _root);
+ this.ctl = this._io.readU1();
+ }
+
+ private CallsignRaw destCallsignRaw;
+ private SsidMask destSsidRaw;
+ private CallsignRaw srcCallsignRaw;
+ private SsidMask srcSsidRaw;
+ private int ctl;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public CallsignRaw destCallsignRaw() {
+ return destCallsignRaw;
+ }
+
+ public SsidMask destSsidRaw() {
+ return destSsidRaw;
+ }
+
+ public CallsignRaw srcCallsignRaw() {
+ return srcCallsignRaw;
+ }
+
+ public SsidMask srcSsidRaw() {
+ return srcSsidRaw;
+ }
+
+ public int ctl() {
+ return ctl;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class UiFrame extends KaitaiStruct {
+ public static UiFrame fromFile(String fileName) throws IOException {
+ return new UiFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public UiFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public UiFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public UiFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.packetPrimaryHeader = new PacketPrimaryHeader(this._io, this, _root);
+ this.packetSecondaryHeader = new PacketSecondaryHeader(this._io, this, _root);
+ switch (packetSecondaryHeader().sid()) {
+ case 14:
+ {
+ this.tlm = new AmsatAscii(this._io, this, _root);
+ break;
+ }
+ case 17:
+ {
+ this.tlm = new IobcStatus(this._io, this, _root);
+ break;
+ }
+ case 24:
+ {
+ this.tlm = new TrxvutxHk(this._io, this, _root);
+ break;
+ }
+ case 20:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.tlm = new LvStatus(this._io, this, _root);
+ break;
+ }
+ case 23:
+ {
+ this.tlm = new ImtqHk(this._io, this, _root);
+ break;
+ }
+ case 15:
+ {
+ this.tlm = new Beacon(this._io, this, _root);
+ break;
+ }
+ case 21:
+ {
+ this.tlm = new IepsHkStatus(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.tlm = new AntsHk(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.tlm = new IobcHk(this._io, this, _root);
+ break;
+ }
+ case 25:
+ {
+ this.tlm = new AntsStatus(this._io, this, _root);
+ break;
+ }
+ case 22:
+ {
+ this.tlm = new TrxvurxHk(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ }
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private PacketPrimaryHeader packetPrimaryHeader;
+ private PacketSecondaryHeader packetSecondaryHeader;
+ private KaitaiStruct tlm;
+ private byte[] ax25Info;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public PacketPrimaryHeader packetPrimaryHeader() {
+ return packetPrimaryHeader;
+ }
+
+ public PacketSecondaryHeader packetSecondaryHeader() {
+ return packetSecondaryHeader;
+ }
+
+ public KaitaiStruct tlm() {
+ return tlm;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Callsign extends KaitaiStruct {
+ public static Callsign fromFile(String fileName) throws IOException {
+ return new Callsign(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Callsign(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Callsign(KaitaiStream _io, InspireSat7.CallsignRaw _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Callsign(KaitaiStream _io, InspireSat7.CallsignRaw _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.callsign = new String(this._io.readBytes(6), Charset.forName("ASCII"));
+ }
+
+ private String callsign;
+ private InspireSat7 _root;
+ private InspireSat7.CallsignRaw _parent;
+
+ public String callsign() {
+ return callsign;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.CallsignRaw _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketPrimaryHeader extends KaitaiStruct {
+ public static PacketPrimaryHeader fromFile(String fileName) throws IOException {
+ return new PacketPrimaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.packetVersionNumber = this._io.readBitsIntBe(3);
+ this.packetIdPacketType = this._io.readBitsIntBe(1) != 0;
+ this.packetIdSecondaryHeaderFlag = this._io.readBitsIntBe(1) != 0;
+ this.packetIdApplicationProcessId = this._io.readBitsIntBe(11);
+ this.packetSequenceControlSecquenceFlag = this._io.readBitsIntBe(2);
+ this.packetSequenceControlCountOrName = this._io.readBitsIntBe(14);
+ this._io.alignToByte();
+ this.packetDataLength = this._io.readU2be();
+ }
+
+ private long packetVersionNumber;
+ private boolean packetIdPacketType;
+ private boolean packetIdSecondaryHeaderFlag;
+ private long packetIdApplicationProcessId;
+ private long packetSequenceControlSecquenceFlag;
+ private long packetSequenceControlCountOrName;
+ private int packetDataLength;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long packetVersionNumber() {
+ return packetVersionNumber;
+ }
+
+ public boolean packetIdPacketType() {
+ return packetIdPacketType;
+ }
+
+ public boolean packetIdSecondaryHeaderFlag() {
+ return packetIdSecondaryHeaderFlag;
+ }
+
+ public long packetIdApplicationProcessId() {
+ return packetIdApplicationProcessId;
+ }
+
+ public long packetSequenceControlSecquenceFlag() {
+ return packetSequenceControlSecquenceFlag;
+ }
+
+ public long packetSequenceControlCountOrName() {
+ return packetSequenceControlCountOrName;
+ }
+
+ public int packetDataLength() {
+ return packetDataLength;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class TrxvutxHk extends KaitaiStruct {
+ public static TrxvutxHk fromFile(String fileName) throws IOException {
+ return new TrxvutxHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public TrxvutxHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public TrxvutxHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public TrxvutxHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.data = this._io.readBytesFull();
+ }
+
+ private byte[] messageStr;
+
+ public byte[] messageStr() {
+ if (this.messageStr != null) return this.messageStr;
+ this.messageStr = data();
+ return this.messageStr;
+ }
+
+ private byte[] data;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public byte[] data() {
+ return data;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardAllScience extends KaitaiStruct {
+ public static MainboardAllScience fromFile(String fileName) throws IOException {
+ return new MainboardAllScience(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardAllScience(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardScienceTime = this._io.readU4be();
+ this.teachWearOn = this._io.readU1();
+ this.frequenceOfAcquisitions = this._io.readU2be();
+ this.gain = this._io.readU4be();
+ this.numberOfAcquisitionCommanded = this._io.readU2be();
+ this.numberOfRealAcquisition = this._io.readU2be();
+ this.hkPlus5v = this._io.readU4be();
+ this.hkMinus5v = this._io.readU4be();
+ this.hkMinus5vPolar = this._io.readU4be();
+ this.hkTempAdc = this._io.readU4be();
+ this.hkFeePlusXVref = this._io.readU4be();
+ this.hkFeeMinusXVref = this._io.readU4be();
+ this.hkFeePlusYVref = this._io.readU4be();
+ this.hkFeeMinusYVref = this._io.readU4be();
+ this.feePlusXErs1Signal = this._io.readU4be();
+ this.feePlusXErs1Temperature = this._io.readU4be();
+ this.feePlusXErs2Signal = this._io.readU4be();
+ this.feePlusXErs2Temperature = this._io.readU4be();
+ this.feePlusXErs3Signal = this._io.readU4be();
+ this.feePlusXErs3Temperature = this._io.readU4be();
+ this.feePlusXUvsSignal = this._io.readU4be();
+ this.feeMinusXErs1Signal = this._io.readU4be();
+ this.feeMinusXErs1Temperature = this._io.readU4be();
+ this.feeMinusXErs2Signal = this._io.readU4be();
+ this.feeMinusXErs2Temperature = this._io.readU4be();
+ this.feeMinusXErs3Signal = this._io.readU4be();
+ this.feeMinusXErs3Temperature = this._io.readU4be();
+ this.feeMinusXUvsSignal = this._io.readU4be();
+ this.feePlusYErs1Signal = this._io.readU4be();
+ this.feePlusYErs1Temperature = this._io.readU4be();
+ this.feePlusYErs2Signal = this._io.readU4be();
+ this.feePlusYErs2Temperature = this._io.readU4be();
+ this.feePlusYErs3Signal = this._io.readU4be();
+ this.feePlusYErs3Temperature = this._io.readU4be();
+ this.feePlusYUvsSignal = this._io.readU4be();
+ this.feeMinusYErs1Signal = this._io.readU4be();
+ this.feeMinusYErs1Temperature = this._io.readU4be();
+ this.feeMinusYErs2Signal = this._io.readU4be();
+ this.feeMinusYErs2Temperature = this._io.readU4be();
+ this.feeMinusYErs3Signal = this._io.readU4be();
+ this.feeMinusYErs3Temperature = this._io.readU4be();
+ this.feeMinusYUvsSignal = this._io.readU4be();
+ this.teachwearAccX = this._io.readU2be();
+ this.teachwearAccY = this._io.readU2be();
+ this.teachwearAccZ = this._io.readU2be();
+ this.teachwearDegC = this._io.readU2be();
+ this.teachwearGyroX = this._io.readU2be();
+ this.teachwearGyroY = this._io.readU2be();
+ this.teachwearGyroZ = this._io.readU2be();
+ this.teachwearMagnX = this._io.readU2be();
+ this.teachwearMagnY = this._io.readU2be();
+ this.teachwearMagnZ = this._io.readU2be();
+ this.teachwearState = this._io.readU1();
+ this.teachwearResetReason = this._io.readU1();
+ this.teachwearCrc = this._io.readU2be();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ }
+
+ private Long feePlusYErs1SignalRaw;
+
+ public Long feePlusYErs1SignalRaw() {
+ if (this.feePlusYErs1SignalRaw != null) return this.feePlusYErs1SignalRaw;
+ long _tmp = (long) (feePlusYErs1Signal());
+ this.feePlusYErs1SignalRaw = _tmp;
+ return this.feePlusYErs1SignalRaw;
+ }
+
+ private Long feeMinusYErs1TemperatureRaw;
+
+ public Long feeMinusYErs1TemperatureRaw() {
+ if (this.feeMinusYErs1TemperatureRaw != null) return this.feeMinusYErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs1Temperature());
+ this.feeMinusYErs1TemperatureRaw = _tmp;
+ return this.feeMinusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearCRCRaw;
+
+ public Integer teachwearCRCRaw() {
+ if (this.teachwearCRCRaw != null) return this.teachwearCRCRaw;
+ int _tmp = (int) (teachwearCrc());
+ this.teachwearCRCRaw = _tmp;
+ return this.teachwearCRCRaw;
+ }
+
+ private Long feePlusXErs2SignalRaw;
+
+ public Long feePlusXErs2SignalRaw() {
+ if (this.feePlusXErs2SignalRaw != null) return this.feePlusXErs2SignalRaw;
+ long _tmp = (long) (feePlusXErs2Signal());
+ this.feePlusXErs2SignalRaw = _tmp;
+ return this.feePlusXErs2SignalRaw;
+ }
+
+ private Long hkFeePlusXVrefRaw;
+
+ public Long hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ long _tmp = (long) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Long feeMinusYUvsSignalRaw;
+
+ public Long feeMinusYUvsSignalRaw() {
+ if (this.feeMinusYUvsSignalRaw != null) return this.feeMinusYUvsSignalRaw;
+ long _tmp = (long) (feeMinusYUvsSignal());
+ this.feeMinusYUvsSignalRaw = _tmp;
+ return this.feeMinusYUvsSignalRaw;
+ }
+
+ private Integer teachwearMagnYRaw;
+
+ public Integer teachwearMagnYRaw() {
+ if (this.teachwearMagnYRaw != null) return this.teachwearMagnYRaw;
+ int _tmp = (int) (teachwearMagnY());
+ this.teachwearMagnYRaw = _tmp;
+ return this.teachwearMagnYRaw;
+ }
+
+ private Long hkMinus5vPolarRaw;
+
+ public Long hkMinus5vPolarRaw() {
+ if (this.hkMinus5vPolarRaw != null) return this.hkMinus5vPolarRaw;
+ long _tmp = (long) (hkMinus5vPolar());
+ this.hkMinus5vPolarRaw = _tmp;
+ return this.hkMinus5vPolarRaw;
+ }
+
+ private Integer teachwearGyroZRaw;
+
+ public Integer teachwearGyroZRaw() {
+ if (this.teachwearGyroZRaw != null) return this.teachwearGyroZRaw;
+ int _tmp = (int) (teachwearGyroZ());
+ this.teachwearGyroZRaw = _tmp;
+ return this.teachwearGyroZRaw;
+ }
+
+ private Long feePlusXErs2TemperatureRaw;
+
+ public Long feePlusXErs2TemperatureRaw() {
+ if (this.feePlusXErs2TemperatureRaw != null) return this.feePlusXErs2TemperatureRaw;
+ long _tmp = (long) (feePlusXErs2Temperature());
+ this.feePlusXErs2TemperatureRaw = _tmp;
+ return this.feePlusXErs2TemperatureRaw;
+ }
+
+ private Long feeMinusYErs3TemperatureRaw;
+
+ public Long feeMinusYErs3TemperatureRaw() {
+ if (this.feeMinusYErs3TemperatureRaw != null) return this.feeMinusYErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs3Temperature());
+ this.feeMinusYErs3TemperatureRaw = _tmp;
+ return this.feeMinusYErs3TemperatureRaw;
+ }
+
+ private Long feePlusYUvsSignalRaw;
+
+ public Long feePlusYUvsSignalRaw() {
+ if (this.feePlusYUvsSignalRaw != null) return this.feePlusYUvsSignalRaw;
+ long _tmp = (long) (feePlusYUvsSignal());
+ this.feePlusYUvsSignalRaw = _tmp;
+ return this.feePlusYUvsSignalRaw;
+ }
+
+ private Long hkTempAdcRaw;
+
+ public Long hkTempAdcRaw() {
+ if (this.hkTempAdcRaw != null) return this.hkTempAdcRaw;
+ long _tmp = (long) (hkTempAdc());
+ this.hkTempAdcRaw = _tmp;
+ return this.hkTempAdcRaw;
+ }
+
+ private Long feePlusXErs3TemperatureRaw;
+
+ public Long feePlusXErs3TemperatureRaw() {
+ if (this.feePlusXErs3TemperatureRaw != null) return this.feePlusXErs3TemperatureRaw;
+ long _tmp = (long) (feePlusXErs3Temperature());
+ this.feePlusXErs3TemperatureRaw = _tmp;
+ return this.feePlusXErs3TemperatureRaw;
+ }
+
+ private Long hkFeePlusYVrefRaw;
+
+ public Long hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ long _tmp = (long) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Long feeMinusYErs3SignalRaw;
+
+ public Long feeMinusYErs3SignalRaw() {
+ if (this.feeMinusYErs3SignalRaw != null) return this.feeMinusYErs3SignalRaw;
+ long _tmp = (long) (feeMinusYErs3Signal());
+ this.feeMinusYErs3SignalRaw = _tmp;
+ return this.feeMinusYErs3SignalRaw;
+ }
+
+ private Long feeMinusXErs2SignalRaw;
+
+ public Long feeMinusXErs2SignalRaw() {
+ if (this.feeMinusXErs2SignalRaw != null) return this.feeMinusXErs2SignalRaw;
+ long _tmp = (long) (feeMinusXErs2Signal());
+ this.feeMinusXErs2SignalRaw = _tmp;
+ return this.feeMinusXErs2SignalRaw;
+ }
+
+ private Integer numberOfAcquisitionCommandedRaw;
+
+ public Integer numberOfAcquisitionCommandedRaw() {
+ if (this.numberOfAcquisitionCommandedRaw != null) return this.numberOfAcquisitionCommandedRaw;
+ int _tmp = (int) (numberOfAcquisitionCommanded());
+ this.numberOfAcquisitionCommandedRaw = _tmp;
+ return this.numberOfAcquisitionCommandedRaw;
+ }
+
+ private Long gainRaw;
+
+ public Long gainRaw() {
+ if (this.gainRaw != null) return this.gainRaw;
+ long _tmp = (long) (gain());
+ this.gainRaw = _tmp;
+ return this.gainRaw;
+ }
+
+ private Long feeMinusYErs1SignalRaw;
+
+ public Long feeMinusYErs1SignalRaw() {
+ if (this.feeMinusYErs1SignalRaw != null) return this.feeMinusYErs1SignalRaw;
+ long _tmp = (long) (feeMinusYErs1Signal());
+ this.feeMinusYErs1SignalRaw = _tmp;
+ return this.feeMinusYErs1SignalRaw;
+ }
+
+ private Integer teachwearAccZRaw;
+
+ public Integer teachwearAccZRaw() {
+ if (this.teachwearAccZRaw != null) return this.teachwearAccZRaw;
+ int _tmp = (int) (teachwearAccZ());
+ this.teachwearAccZRaw = _tmp;
+ return this.teachwearAccZRaw;
+ }
+
+ private Long mainboardScienceTimeRaw;
+
+ public Long mainboardScienceTimeRaw() {
+ if (this.mainboardScienceTimeRaw != null) return this.mainboardScienceTimeRaw;
+ long _tmp = (long) (mainboardScienceTime());
+ this.mainboardScienceTimeRaw = _tmp;
+ return this.mainboardScienceTimeRaw;
+ }
+
+ private Long feePlusXErs3SignalRaw;
+
+ public Long feePlusXErs3SignalRaw() {
+ if (this.feePlusXErs3SignalRaw != null) return this.feePlusXErs3SignalRaw;
+ long _tmp = (long) (feePlusXErs3Signal());
+ this.feePlusXErs3SignalRaw = _tmp;
+ return this.feePlusXErs3SignalRaw;
+ }
+
+ private Integer teachwearAccXRaw;
+
+ public Integer teachwearAccXRaw() {
+ if (this.teachwearAccXRaw != null) return this.teachwearAccXRaw;
+ int _tmp = (int) (teachwearAccX());
+ this.teachwearAccXRaw = _tmp;
+ return this.teachwearAccXRaw;
+ }
+
+ private Long feeMinusXUvsSignalRaw;
+
+ public Long feeMinusXUvsSignalRaw() {
+ if (this.feeMinusXUvsSignalRaw != null) return this.feeMinusXUvsSignalRaw;
+ long _tmp = (long) (feeMinusXUvsSignal());
+ this.feeMinusXUvsSignalRaw = _tmp;
+ return this.feeMinusXUvsSignalRaw;
+ }
+
+ private Long feePlusYErs3TemperatureRaw;
+
+ public Long feePlusYErs3TemperatureRaw() {
+ if (this.feePlusYErs3TemperatureRaw != null) return this.feePlusYErs3TemperatureRaw;
+ long _tmp = (long) (feePlusYErs3Temperature());
+ this.feePlusYErs3TemperatureRaw = _tmp;
+ return this.feePlusYErs3TemperatureRaw;
+ }
+
+ private Long feeMinusXErs1TemperatureRaw;
+
+ public Long feeMinusXErs1TemperatureRaw() {
+ if (this.feeMinusXErs1TemperatureRaw != null) return this.feeMinusXErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs1Temperature());
+ this.feeMinusXErs1TemperatureRaw = _tmp;
+ return this.feeMinusXErs1TemperatureRaw;
+ }
+
+ private Long hkPlus5vRaw;
+
+ public Long hkPlus5vRaw() {
+ if (this.hkPlus5vRaw != null) return this.hkPlus5vRaw;
+ long _tmp = (long) (hkPlus5v());
+ this.hkPlus5vRaw = _tmp;
+ return this.hkPlus5vRaw;
+ }
+
+ private Integer numberOfRealAcquisitionRaw;
+
+ public Integer numberOfRealAcquisitionRaw() {
+ if (this.numberOfRealAcquisitionRaw != null) return this.numberOfRealAcquisitionRaw;
+ int _tmp = (int) (numberOfRealAcquisition());
+ this.numberOfRealAcquisitionRaw = _tmp;
+ return this.numberOfRealAcquisitionRaw;
+ }
+
+ private Long feePlusYErs2SignalRaw;
+
+ public Long feePlusYErs2SignalRaw() {
+ if (this.feePlusYErs2SignalRaw != null) return this.feePlusYErs2SignalRaw;
+ long _tmp = (long) (feePlusYErs2Signal());
+ this.feePlusYErs2SignalRaw = _tmp;
+ return this.feePlusYErs2SignalRaw;
+ }
+
+ private Integer teachWearOnRaw;
+
+ public Integer teachWearOnRaw() {
+ if (this.teachWearOnRaw != null) return this.teachWearOnRaw;
+ int _tmp = (int) (teachWearOn());
+ this.teachWearOnRaw = _tmp;
+ return this.teachWearOnRaw;
+ }
+
+ private Integer frequenceOfAcquisitionsRaw;
+
+ public Integer frequenceOfAcquisitionsRaw() {
+ if (this.frequenceOfAcquisitionsRaw != null) return this.frequenceOfAcquisitionsRaw;
+ int _tmp = (int) (frequenceOfAcquisitions());
+ this.frequenceOfAcquisitionsRaw = _tmp;
+ return this.frequenceOfAcquisitionsRaw;
+ }
+
+ private Long feePlusYErs2TemperatureRaw;
+
+ public Long feePlusYErs2TemperatureRaw() {
+ if (this.feePlusYErs2TemperatureRaw != null) return this.feePlusYErs2TemperatureRaw;
+ long _tmp = (long) (feePlusYErs2Temperature());
+ this.feePlusYErs2TemperatureRaw = _tmp;
+ return this.feePlusYErs2TemperatureRaw;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer teachwearMagnXRaw;
+
+ public Integer teachwearMagnXRaw() {
+ if (this.teachwearMagnXRaw != null) return this.teachwearMagnXRaw;
+ int _tmp = (int) (teachwearMagnX());
+ this.teachwearMagnXRaw = _tmp;
+ return this.teachwearMagnXRaw;
+ }
+
+ private Long feeMinusXErs1SignalRaw;
+
+ public Long feeMinusXErs1SignalRaw() {
+ if (this.feeMinusXErs1SignalRaw != null) return this.feeMinusXErs1SignalRaw;
+ long _tmp = (long) (feeMinusXErs1Signal());
+ this.feeMinusXErs1SignalRaw = _tmp;
+ return this.feeMinusXErs1SignalRaw;
+ }
+
+ private Long feeMinusXErs3SignalRaw;
+
+ public Long feeMinusXErs3SignalRaw() {
+ if (this.feeMinusXErs3SignalRaw != null) return this.feeMinusXErs3SignalRaw;
+ long _tmp = (long) (feeMinusXErs3Signal());
+ this.feeMinusXErs3SignalRaw = _tmp;
+ return this.feeMinusXErs3SignalRaw;
+ }
+
+ private Long feeMinusYErs2SignalRaw;
+
+ public Long feeMinusYErs2SignalRaw() {
+ if (this.feeMinusYErs2SignalRaw != null) return this.feeMinusYErs2SignalRaw;
+ long _tmp = (long) (feeMinusYErs2Signal());
+ this.feeMinusYErs2SignalRaw = _tmp;
+ return this.feeMinusYErs2SignalRaw;
+ }
+
+ private Long feeMinusYErs2TemperatureRaw;
+
+ public Long feeMinusYErs2TemperatureRaw() {
+ if (this.feeMinusYErs2TemperatureRaw != null) return this.feeMinusYErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs2Temperature());
+ this.feeMinusYErs2TemperatureRaw = _tmp;
+ return this.feeMinusYErs2TemperatureRaw;
+ }
+
+ private Long feeMinusXErs2TemperatureRaw;
+
+ public Long feeMinusXErs2TemperatureRaw() {
+ if (this.feeMinusXErs2TemperatureRaw != null) return this.feeMinusXErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs2Temperature());
+ this.feeMinusXErs2TemperatureRaw = _tmp;
+ return this.feeMinusXErs2TemperatureRaw;
+ }
+
+ private Long feePlusXErs1TemperatureRaw;
+
+ public Long feePlusXErs1TemperatureRaw() {
+ if (this.feePlusXErs1TemperatureRaw != null) return this.feePlusXErs1TemperatureRaw;
+ long _tmp = (long) (feePlusXErs1Temperature());
+ this.feePlusXErs1TemperatureRaw = _tmp;
+ return this.feePlusXErs1TemperatureRaw;
+ }
+
+ private Long hkFeeMinusXVrefRaw;
+
+ public Long hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ long _tmp = (long) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Long feePlusYErs1TemperatureRaw;
+
+ public Long feePlusYErs1TemperatureRaw() {
+ if (this.feePlusYErs1TemperatureRaw != null) return this.feePlusYErs1TemperatureRaw;
+ long _tmp = (long) (feePlusYErs1Temperature());
+ this.feePlusYErs1TemperatureRaw = _tmp;
+ return this.feePlusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearGyroXRaw;
+
+ public Integer teachwearGyroXRaw() {
+ if (this.teachwearGyroXRaw != null) return this.teachwearGyroXRaw;
+ int _tmp = (int) (teachwearGyroX());
+ this.teachwearGyroXRaw = _tmp;
+ return this.teachwearGyroXRaw;
+ }
+
+ private Long feePlusXUvsSignalRaw;
+
+ public Long feePlusXUvsSignalRaw() {
+ if (this.feePlusXUvsSignalRaw != null) return this.feePlusXUvsSignalRaw;
+ long _tmp = (long) (feePlusXUvsSignal());
+ this.feePlusXUvsSignalRaw = _tmp;
+ return this.feePlusXUvsSignalRaw;
+ }
+
+ private Long hkFeeMinusYVrefRaw;
+
+ public Long hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ long _tmp = (long) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private Integer teachwearStateRaw;
+
+ public Integer teachwearStateRaw() {
+ if (this.teachwearStateRaw != null) return this.teachwearStateRaw;
+ int _tmp = (int) (teachwearState());
+ this.teachwearStateRaw = _tmp;
+ return this.teachwearStateRaw;
+ }
+
+ private Long feePlusXErs1SignalRaw;
+
+ public Long feePlusXErs1SignalRaw() {
+ if (this.feePlusXErs1SignalRaw != null) return this.feePlusXErs1SignalRaw;
+ long _tmp = (long) (feePlusXErs1Signal());
+ this.feePlusXErs1SignalRaw = _tmp;
+ return this.feePlusXErs1SignalRaw;
+ }
+
+ private Long hkMinus5vRaw;
+
+ public Long hkMinus5vRaw() {
+ if (this.hkMinus5vRaw != null) return this.hkMinus5vRaw;
+ long _tmp = (long) (hkMinus5v());
+ this.hkMinus5vRaw = _tmp;
+ return this.hkMinus5vRaw;
+ }
+
+ private Long feeMinusXErs3TemperatureRaw;
+
+ public Long feeMinusXErs3TemperatureRaw() {
+ if (this.feeMinusXErs3TemperatureRaw != null) return this.feeMinusXErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs3Temperature());
+ this.feeMinusXErs3TemperatureRaw = _tmp;
+ return this.feeMinusXErs3TemperatureRaw;
+ }
+
+ private Integer teachwearResetReasonRaw;
+
+ public Integer teachwearResetReasonRaw() {
+ if (this.teachwearResetReasonRaw != null) return this.teachwearResetReasonRaw;
+ int _tmp = (int) (teachwearResetReason());
+ this.teachwearResetReasonRaw = _tmp;
+ return this.teachwearResetReasonRaw;
+ }
+
+ private Integer teachwearDegCRaw;
+
+ public Integer teachwearDegCRaw() {
+ if (this.teachwearDegCRaw != null) return this.teachwearDegCRaw;
+ int _tmp = (int) (teachwearDegC());
+ this.teachwearDegCRaw = _tmp;
+ return this.teachwearDegCRaw;
+ }
+
+ private Integer teachwearGyroYRaw;
+
+ public Integer teachwearGyroYRaw() {
+ if (this.teachwearGyroYRaw != null) return this.teachwearGyroYRaw;
+ int _tmp = (int) (teachwearGyroY());
+ this.teachwearGyroYRaw = _tmp;
+ return this.teachwearGyroYRaw;
+ }
+
+ private Integer teachwearMagnZRaw;
+
+ public Integer teachwearMagnZRaw() {
+ if (this.teachwearMagnZRaw != null) return this.teachwearMagnZRaw;
+ int _tmp = (int) (teachwearMagnZ());
+ this.teachwearMagnZRaw = _tmp;
+ return this.teachwearMagnZRaw;
+ }
+
+ private Long feePlusYErs3SignalRaw;
+
+ public Long feePlusYErs3SignalRaw() {
+ if (this.feePlusYErs3SignalRaw != null) return this.feePlusYErs3SignalRaw;
+ long _tmp = (long) (feePlusYErs3Signal());
+ this.feePlusYErs3SignalRaw = _tmp;
+ return this.feePlusYErs3SignalRaw;
+ }
+
+ private Integer teachwearAccYRaw;
+
+ public Integer teachwearAccYRaw() {
+ if (this.teachwearAccYRaw != null) return this.teachwearAccYRaw;
+ int _tmp = (int) (teachwearAccY());
+ this.teachwearAccYRaw = _tmp;
+ return this.teachwearAccYRaw;
+ }
+
+ private long mainboardScienceTime;
+ private int teachWearOn;
+ private int frequenceOfAcquisitions;
+ private long gain;
+ private int numberOfAcquisitionCommanded;
+ private int numberOfRealAcquisition;
+ private long hkPlus5v;
+ private long hkMinus5v;
+ private long hkMinus5vPolar;
+ private long hkTempAdc;
+ private long hkFeePlusXVref;
+ private long hkFeeMinusXVref;
+ private long hkFeePlusYVref;
+ private long hkFeeMinusYVref;
+ private long feePlusXErs1Signal;
+ private long feePlusXErs1Temperature;
+ private long feePlusXErs2Signal;
+ private long feePlusXErs2Temperature;
+ private long feePlusXErs3Signal;
+ private long feePlusXErs3Temperature;
+ private long feePlusXUvsSignal;
+ private long feeMinusXErs1Signal;
+ private long feeMinusXErs1Temperature;
+ private long feeMinusXErs2Signal;
+ private long feeMinusXErs2Temperature;
+ private long feeMinusXErs3Signal;
+ private long feeMinusXErs3Temperature;
+ private long feeMinusXUvsSignal;
+ private long feePlusYErs1Signal;
+ private long feePlusYErs1Temperature;
+ private long feePlusYErs2Signal;
+ private long feePlusYErs2Temperature;
+ private long feePlusYErs3Signal;
+ private long feePlusYErs3Temperature;
+ private long feePlusYUvsSignal;
+ private long feeMinusYErs1Signal;
+ private long feeMinusYErs1Temperature;
+ private long feeMinusYErs2Signal;
+ private long feeMinusYErs2Temperature;
+ private long feeMinusYErs3Signal;
+ private long feeMinusYErs3Temperature;
+ private long feeMinusYUvsSignal;
+ private int teachwearAccX;
+ private int teachwearAccY;
+ private int teachwearAccZ;
+ private int teachwearDegC;
+ private int teachwearGyroX;
+ private int teachwearGyroY;
+ private int teachwearGyroZ;
+ private int teachwearMagnX;
+ private int teachwearMagnY;
+ private int teachwearMagnZ;
+ private int teachwearState;
+ private int teachwearResetReason;
+ private int teachwearCrc;
+ private long nbTmSinceFirstStart;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ public long mainboardScienceTime() {
+ return mainboardScienceTime;
+ }
+
+ public int teachWearOn() {
+ return teachWearOn;
+ }
+
+ public int frequenceOfAcquisitions() {
+ return frequenceOfAcquisitions;
+ }
+
+ public long gain() {
+ return gain;
+ }
+
+ public int numberOfAcquisitionCommanded() {
+ return numberOfAcquisitionCommanded;
+ }
+
+ public int numberOfRealAcquisition() {
+ return numberOfRealAcquisition;
+ }
+
+ public long hkPlus5v() {
+ return hkPlus5v;
+ }
+
+ public long hkMinus5v() {
+ return hkMinus5v;
+ }
+
+ public long hkMinus5vPolar() {
+ return hkMinus5vPolar;
+ }
+
+ public long hkTempAdc() {
+ return hkTempAdc;
+ }
+
+ public long hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public long hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public long hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public long hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public long feePlusXErs1Signal() {
+ return feePlusXErs1Signal;
+ }
+
+ public long feePlusXErs1Temperature() {
+ return feePlusXErs1Temperature;
+ }
+
+ public long feePlusXErs2Signal() {
+ return feePlusXErs2Signal;
+ }
+
+ public long feePlusXErs2Temperature() {
+ return feePlusXErs2Temperature;
+ }
+
+ public long feePlusXErs3Signal() {
+ return feePlusXErs3Signal;
+ }
+
+ public long feePlusXErs3Temperature() {
+ return feePlusXErs3Temperature;
+ }
+
+ public long feePlusXUvsSignal() {
+ return feePlusXUvsSignal;
+ }
+
+ public long feeMinusXErs1Signal() {
+ return feeMinusXErs1Signal;
+ }
+
+ public long feeMinusXErs1Temperature() {
+ return feeMinusXErs1Temperature;
+ }
+
+ public long feeMinusXErs2Signal() {
+ return feeMinusXErs2Signal;
+ }
+
+ public long feeMinusXErs2Temperature() {
+ return feeMinusXErs2Temperature;
+ }
+
+ public long feeMinusXErs3Signal() {
+ return feeMinusXErs3Signal;
+ }
+
+ public long feeMinusXErs3Temperature() {
+ return feeMinusXErs3Temperature;
+ }
+
+ public long feeMinusXUvsSignal() {
+ return feeMinusXUvsSignal;
+ }
+
+ public long feePlusYErs1Signal() {
+ return feePlusYErs1Signal;
+ }
+
+ public long feePlusYErs1Temperature() {
+ return feePlusYErs1Temperature;
+ }
+
+ public long feePlusYErs2Signal() {
+ return feePlusYErs2Signal;
+ }
+
+ public long feePlusYErs2Temperature() {
+ return feePlusYErs2Temperature;
+ }
+
+ public long feePlusYErs3Signal() {
+ return feePlusYErs3Signal;
+ }
+
+ public long feePlusYErs3Temperature() {
+ return feePlusYErs3Temperature;
+ }
+
+ public long feePlusYUvsSignal() {
+ return feePlusYUvsSignal;
+ }
+
+ public long feeMinusYErs1Signal() {
+ return feeMinusYErs1Signal;
+ }
+
+ public long feeMinusYErs1Temperature() {
+ return feeMinusYErs1Temperature;
+ }
+
+ public long feeMinusYErs2Signal() {
+ return feeMinusYErs2Signal;
+ }
+
+ public long feeMinusYErs2Temperature() {
+ return feeMinusYErs2Temperature;
+ }
+
+ public long feeMinusYErs3Signal() {
+ return feeMinusYErs3Signal;
+ }
+
+ public long feeMinusYErs3Temperature() {
+ return feeMinusYErs3Temperature;
+ }
+
+ public long feeMinusYUvsSignal() {
+ return feeMinusYUvsSignal;
+ }
+
+ public int teachwearAccX() {
+ return teachwearAccX;
+ }
+
+ public int teachwearAccY() {
+ return teachwearAccY;
+ }
+
+ public int teachwearAccZ() {
+ return teachwearAccZ;
+ }
+
+ public int teachwearDegC() {
+ return teachwearDegC;
+ }
+
+ public int teachwearGyroX() {
+ return teachwearGyroX;
+ }
+
+ public int teachwearGyroY() {
+ return teachwearGyroY;
+ }
+
+ public int teachwearGyroZ() {
+ return teachwearGyroZ;
+ }
+
+ public int teachwearMagnX() {
+ return teachwearMagnX;
+ }
+
+ public int teachwearMagnY() {
+ return teachwearMagnY;
+ }
+
+ public int teachwearMagnZ() {
+ return teachwearMagnZ;
+ }
+
+ public int teachwearState() {
+ return teachwearState;
+ }
+
+ public int teachwearResetReason() {
+ return teachwearResetReason;
+ }
+
+ public int teachwearCrc() {
+ return teachwearCrc;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+ }
+
+ public static class LvStatus extends KaitaiStruct {
+ public static LvStatus fromFile(String fileName) throws IOException {
+ return new LvStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public LvStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public LvStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public LvStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.modePlateform = this._io.readU8be();
+ this.pFNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modeImtq = this._io.readU8be();
+ this.imtqNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modeTrxvu = this._io.readU8be();
+ this.pFNumberOfSecondsInCurrentModebis = this._io.readBitsIntBe(24);
+ this.nbTMInPfFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadCapteurs = this._io.readU8be();
+ this.capteursNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInCapteursPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadIMU = this._io.readU8be();
+ this.imuNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInIMUPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadIono = this._io.readU8be();
+ this.ionoNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInIonoPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadLIFI = this._io.readU8be();
+ this.lIFINumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInLIFIPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadSPINO = this._io.readU8be();
+ this.sPINONumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTmInSPINOPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.numberOfFileInSDForHktmPf = this._io.readU8be();
+ this.numberOfFileInSDPltmCapteurs = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmImu = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmIono = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmLifi = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmSpino = this._io.readBitsIntBe(12);
+ }
+
+ private Long pFNumberOfSecondsInCurrentModeRaw;
+
+ public Long pFNumberOfSecondsInCurrentModeRaw() {
+ if (this.pFNumberOfSecondsInCurrentModeRaw != null)
+ return this.pFNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (pFNumberOfSecondsInCurrentMode());
+ this.pFNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.pFNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long numberOfFileInSDPltmIonoRaw;
+
+ public Long numberOfFileInSDPltmIonoRaw() {
+ if (this.numberOfFileInSDPltmIonoRaw != null) return this.numberOfFileInSDPltmIonoRaw;
+ long _tmp = (long) (numberOfFileInSDPltmIono());
+ this.numberOfFileInSDPltmIonoRaw = _tmp;
+ return this.numberOfFileInSDPltmIonoRaw;
+ }
+
+ private Long imuNumberOfSecondsInCurrentModeRaw;
+
+ public Long imuNumberOfSecondsInCurrentModeRaw() {
+ if (this.imuNumberOfSecondsInCurrentModeRaw != null)
+ return this.imuNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (imuNumberOfSecondsInCurrentMode());
+ this.imuNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.imuNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long capteursNumberOfSecondsInCurrentModeRaw;
+
+ public Long capteursNumberOfSecondsInCurrentModeRaw() {
+ if (this.capteursNumberOfSecondsInCurrentModeRaw != null)
+ return this.capteursNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (capteursNumberOfSecondsInCurrentMode());
+ this.capteursNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.capteursNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long nbTMInLIFIPayloadFifoRaw;
+
+ public Long nbTMInLIFIPayloadFifoRaw() {
+ if (this.nbTMInLIFIPayloadFifoRaw != null) return this.nbTMInLIFIPayloadFifoRaw;
+ long _tmp = (long) (nbTMInLIFIPayloadFifo());
+ this.nbTMInLIFIPayloadFifoRaw = _tmp;
+ return this.nbTMInLIFIPayloadFifoRaw;
+ }
+
+ private Long nbTMInIMUPayloadFifoRaw;
+
+ public Long nbTMInIMUPayloadFifoRaw() {
+ if (this.nbTMInIMUPayloadFifoRaw != null) return this.nbTMInIMUPayloadFifoRaw;
+ long _tmp = (long) (nbTMInIMUPayloadFifo());
+ this.nbTMInIMUPayloadFifoRaw = _tmp;
+ return this.nbTMInIMUPayloadFifoRaw;
+ }
+
+ private Long ionoNumberOfSecondsInCurrentModeRaw;
+
+ public Long ionoNumberOfSecondsInCurrentModeRaw() {
+ if (this.ionoNumberOfSecondsInCurrentModeRaw != null)
+ return this.ionoNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (ionoNumberOfSecondsInCurrentMode());
+ this.ionoNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.ionoNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long modePayloadIonoRaw;
+
+ public Long modePayloadIonoRaw() {
+ if (this.modePayloadIonoRaw != null) return this.modePayloadIonoRaw;
+ long _tmp = (long) (modePayloadIono());
+ this.modePayloadIonoRaw = _tmp;
+ return this.modePayloadIonoRaw;
+ }
+
+ private Long numberOfFileInSDForHktmPfRaw;
+
+ public Long numberOfFileInSDForHktmPfRaw() {
+ if (this.numberOfFileInSDForHktmPfRaw != null) return this.numberOfFileInSDForHktmPfRaw;
+ long _tmp = (long) (numberOfFileInSDForHktmPf());
+ this.numberOfFileInSDForHktmPfRaw = _tmp;
+ return this.numberOfFileInSDForHktmPfRaw;
+ }
+
+ private Long numberOfFileInSDPltmLifiRaw;
+
+ public Long numberOfFileInSDPltmLifiRaw() {
+ if (this.numberOfFileInSDPltmLifiRaw != null) return this.numberOfFileInSDPltmLifiRaw;
+ long _tmp = (long) (numberOfFileInSDPltmLifi());
+ this.numberOfFileInSDPltmLifiRaw = _tmp;
+ return this.numberOfFileInSDPltmLifiRaw;
+ }
+
+ private Long modeTrxvuRaw;
+
+ public Long modeTrxvuRaw() {
+ if (this.modeTrxvuRaw != null) return this.modeTrxvuRaw;
+ long _tmp = (long) (modeTrxvu());
+ this.modeTrxvuRaw = _tmp;
+ return this.modeTrxvuRaw;
+ }
+
+ private Long nbTmInSPINOPayloadFifoRaw;
+
+ public Long nbTmInSPINOPayloadFifoRaw() {
+ if (this.nbTmInSPINOPayloadFifoRaw != null) return this.nbTmInSPINOPayloadFifoRaw;
+ long _tmp = (long) (nbTmInSPINOPayloadFifo());
+ this.nbTmInSPINOPayloadFifoRaw = _tmp;
+ return this.nbTmInSPINOPayloadFifoRaw;
+ }
+
+ private Long sPINONumberOfSecondsInCurrentModeRaw;
+
+ public Long sPINONumberOfSecondsInCurrentModeRaw() {
+ if (this.sPINONumberOfSecondsInCurrentModeRaw != null)
+ return this.sPINONumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (sPINONumberOfSecondsInCurrentMode());
+ this.sPINONumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.sPINONumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long nbTMInIonoPayloadFifoRaw;
+
+ public Long nbTMInIonoPayloadFifoRaw() {
+ if (this.nbTMInIonoPayloadFifoRaw != null) return this.nbTMInIonoPayloadFifoRaw;
+ long _tmp = (long) (nbTMInIonoPayloadFifo());
+ this.nbTMInIonoPayloadFifoRaw = _tmp;
+ return this.nbTMInIonoPayloadFifoRaw;
+ }
+
+ private Long modePayloadIMURaw;
+
+ public Long modePayloadIMURaw() {
+ if (this.modePayloadIMURaw != null) return this.modePayloadIMURaw;
+ long _tmp = (long) (modePayloadIMU());
+ this.modePayloadIMURaw = _tmp;
+ return this.modePayloadIMURaw;
+ }
+
+ private Long lIFINumberOfSecondsInCurrentModeRaw;
+
+ public Long lIFINumberOfSecondsInCurrentModeRaw() {
+ if (this.lIFINumberOfSecondsInCurrentModeRaw != null)
+ return this.lIFINumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (lIFINumberOfSecondsInCurrentMode());
+ this.lIFINumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.lIFINumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long modeImtqRaw;
+
+ public Long modeImtqRaw() {
+ if (this.modeImtqRaw != null) return this.modeImtqRaw;
+ long _tmp = (long) (modeImtq());
+ this.modeImtqRaw = _tmp;
+ return this.modeImtqRaw;
+ }
+
+ private Long imtqNumberOfSecondsInCurrentModeRaw;
+
+ public Long imtqNumberOfSecondsInCurrentModeRaw() {
+ if (this.imtqNumberOfSecondsInCurrentModeRaw != null)
+ return this.imtqNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (imtqNumberOfSecondsInCurrentMode());
+ this.imtqNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.imtqNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long pFNumberOfSecondsInCurrentModebisRaw;
+
+ public Long pFNumberOfSecondsInCurrentModebisRaw() {
+ if (this.pFNumberOfSecondsInCurrentModebisRaw != null)
+ return this.pFNumberOfSecondsInCurrentModebisRaw;
+ long _tmp = (long) (pFNumberOfSecondsInCurrentModebis());
+ this.pFNumberOfSecondsInCurrentModebisRaw = _tmp;
+ return this.pFNumberOfSecondsInCurrentModebisRaw;
+ }
+
+ private Long modePlateformRaw;
+
+ public Long modePlateformRaw() {
+ if (this.modePlateformRaw != null) return this.modePlateformRaw;
+ long _tmp = (long) (modePlateform());
+ this.modePlateformRaw = _tmp;
+ return this.modePlateformRaw;
+ }
+
+ private Long modePayloadSPINORaw;
+
+ public Long modePayloadSPINORaw() {
+ if (this.modePayloadSPINORaw != null) return this.modePayloadSPINORaw;
+ long _tmp = (long) (modePayloadSPINO());
+ this.modePayloadSPINORaw = _tmp;
+ return this.modePayloadSPINORaw;
+ }
+
+ private Long numberOfFileInSDPltmSpinoRaw;
+
+ public Long numberOfFileInSDPltmSpinoRaw() {
+ if (this.numberOfFileInSDPltmSpinoRaw != null) return this.numberOfFileInSDPltmSpinoRaw;
+ long _tmp = (long) (numberOfFileInSDPltmSpino());
+ this.numberOfFileInSDPltmSpinoRaw = _tmp;
+ return this.numberOfFileInSDPltmSpinoRaw;
+ }
+
+ private Long numberOfFileInSDPltmImuRaw;
+
+ public Long numberOfFileInSDPltmImuRaw() {
+ if (this.numberOfFileInSDPltmImuRaw != null) return this.numberOfFileInSDPltmImuRaw;
+ long _tmp = (long) (numberOfFileInSDPltmImu());
+ this.numberOfFileInSDPltmImuRaw = _tmp;
+ return this.numberOfFileInSDPltmImuRaw;
+ }
+
+ private Long modePayloadLIFIRaw;
+
+ public Long modePayloadLIFIRaw() {
+ if (this.modePayloadLIFIRaw != null) return this.modePayloadLIFIRaw;
+ long _tmp = (long) (modePayloadLIFI());
+ this.modePayloadLIFIRaw = _tmp;
+ return this.modePayloadLIFIRaw;
+ }
+
+ private Long numberOfFileInSDPltmCapteursRaw;
+
+ public Long numberOfFileInSDPltmCapteursRaw() {
+ if (this.numberOfFileInSDPltmCapteursRaw != null) return this.numberOfFileInSDPltmCapteursRaw;
+ long _tmp = (long) (numberOfFileInSDPltmCapteurs());
+ this.numberOfFileInSDPltmCapteursRaw = _tmp;
+ return this.numberOfFileInSDPltmCapteursRaw;
+ }
+
+ private Long nbTMInCapteursPayloadFifoRaw;
+
+ public Long nbTMInCapteursPayloadFifoRaw() {
+ if (this.nbTMInCapteursPayloadFifoRaw != null) return this.nbTMInCapteursPayloadFifoRaw;
+ long _tmp = (long) (nbTMInCapteursPayloadFifo());
+ this.nbTMInCapteursPayloadFifoRaw = _tmp;
+ return this.nbTMInCapteursPayloadFifoRaw;
+ }
+
+ private Long modePayloadCapteursRaw;
+
+ public Long modePayloadCapteursRaw() {
+ if (this.modePayloadCapteursRaw != null) return this.modePayloadCapteursRaw;
+ long _tmp = (long) (modePayloadCapteurs());
+ this.modePayloadCapteursRaw = _tmp;
+ return this.modePayloadCapteursRaw;
+ }
+
+ private Long nbTMInPfFifoRaw;
+
+ public Long nbTMInPfFifoRaw() {
+ if (this.nbTMInPfFifoRaw != null) return this.nbTMInPfFifoRaw;
+ long _tmp = (long) (nbTMInPfFifo());
+ this.nbTMInPfFifoRaw = _tmp;
+ return this.nbTMInPfFifoRaw;
+ }
+
+ private long modePlateform;
+ private long pFNumberOfSecondsInCurrentMode;
+ private long modeImtq;
+ private long imtqNumberOfSecondsInCurrentMode;
+ private long modeTrxvu;
+ private long pFNumberOfSecondsInCurrentModebis;
+ private long nbTMInPfFifo;
+ private long modePayloadCapteurs;
+ private long capteursNumberOfSecondsInCurrentMode;
+ private long nbTMInCapteursPayloadFifo;
+ private long modePayloadIMU;
+ private long imuNumberOfSecondsInCurrentMode;
+ private long nbTMInIMUPayloadFifo;
+ private long modePayloadIono;
+ private long ionoNumberOfSecondsInCurrentMode;
+ private long nbTMInIonoPayloadFifo;
+ private long modePayloadLIFI;
+ private long lIFINumberOfSecondsInCurrentMode;
+ private long nbTMInLIFIPayloadFifo;
+ private long modePayloadSPINO;
+ private long sPINONumberOfSecondsInCurrentMode;
+ private long nbTmInSPINOPayloadFifo;
+ private long numberOfFileInSDForHktmPf;
+ private long numberOfFileInSDPltmCapteurs;
+ private long numberOfFileInSDPltmImu;
+ private long numberOfFileInSDPltmIono;
+ private long numberOfFileInSDPltmLifi;
+ private long numberOfFileInSDPltmSpino;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long modePlateform() {
+ return modePlateform;
+ }
+
+ public long pFNumberOfSecondsInCurrentMode() {
+ return pFNumberOfSecondsInCurrentMode;
+ }
+
+ public long modeImtq() {
+ return modeImtq;
+ }
+
+ public long imtqNumberOfSecondsInCurrentMode() {
+ return imtqNumberOfSecondsInCurrentMode;
+ }
+
+ public long modeTrxvu() {
+ return modeTrxvu;
+ }
+
+ public long pFNumberOfSecondsInCurrentModebis() {
+ return pFNumberOfSecondsInCurrentModebis;
+ }
+
+ public long nbTMInPfFifo() {
+ return nbTMInPfFifo;
+ }
+
+ public long modePayloadCapteurs() {
+ return modePayloadCapteurs;
+ }
+
+ public long capteursNumberOfSecondsInCurrentMode() {
+ return capteursNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInCapteursPayloadFifo() {
+ return nbTMInCapteursPayloadFifo;
+ }
+
+ public long modePayloadIMU() {
+ return modePayloadIMU;
+ }
+
+ public long imuNumberOfSecondsInCurrentMode() {
+ return imuNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInIMUPayloadFifo() {
+ return nbTMInIMUPayloadFifo;
+ }
+
+ public long modePayloadIono() {
+ return modePayloadIono;
+ }
+
+ public long ionoNumberOfSecondsInCurrentMode() {
+ return ionoNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInIonoPayloadFifo() {
+ return nbTMInIonoPayloadFifo;
+ }
+
+ public long modePayloadLIFI() {
+ return modePayloadLIFI;
+ }
+
+ public long lIFINumberOfSecondsInCurrentMode() {
+ return lIFINumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInLIFIPayloadFifo() {
+ return nbTMInLIFIPayloadFifo;
+ }
+
+ public long modePayloadSPINO() {
+ return modePayloadSPINO;
+ }
+
+ public long sPINONumberOfSecondsInCurrentMode() {
+ return sPINONumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTmInSPINOPayloadFifo() {
+ return nbTmInSPINOPayloadFifo;
+ }
+
+ public long numberOfFileInSDForHktmPf() {
+ return numberOfFileInSDForHktmPf;
+ }
+
+ public long numberOfFileInSDPltmCapteurs() {
+ return numberOfFileInSDPltmCapteurs;
+ }
+
+ public long numberOfFileInSDPltmImu() {
+ return numberOfFileInSDPltmImu;
+ }
+
+ public long numberOfFileInSDPltmIono() {
+ return numberOfFileInSDPltmIono;
+ }
+
+ public long numberOfFileInSDPltmLifi() {
+ return numberOfFileInSDPltmLifi;
+ }
+
+ public long numberOfFileInSDPltmSpino() {
+ return numberOfFileInSDPltmSpino;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AmsatAscii extends KaitaiStruct {
+ public static AmsatAscii fromFile(String fileName) throws IOException {
+ return new AmsatAscii(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AmsatAscii(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.message = new String(this._io.readBytesFull(), Charset.forName("UTF-8"));
+ }
+
+ private String messageStr;
+
+ public String messageStr() {
+ if (this.messageStr != null) return this.messageStr;
+ this.messageStr = message();
+ return this.messageStr;
+ }
+
+ private String message;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public String message() {
+ return message;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class TrxvurxHk extends KaitaiStruct {
+ public static TrxvurxHk fromFile(String fileName) throws IOException {
+ return new TrxvurxHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public TrxvurxHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public TrxvurxHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public TrxvurxHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsIntBe(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this._io.alignToByte();
+ this.trxvuRxUptime = this._io.readU4be();
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvutxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvutxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this._io.alignToByte();
+ this.trxvuTxUptime = this._io.readU4be();
+ this.trxvuTxState = this._io.readU1();
+ }
+
+ private Double trxvutxTotalSupplyCurrentMa;
+
+ public Double trxvutxTotalSupplyCurrentMa() {
+ if (this.trxvutxTotalSupplyCurrentMa != null) return this.trxvutxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
+ this.trxvutxTotalSupplyCurrentMa = _tmp;
+ return this.trxvutxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvutxPowerAmplifierCurrentMa;
+
+ public Double trxvutxPowerAmplifierCurrentMa() {
+ if (this.trxvutxPowerAmplifierCurrentMa != null) return this.trxvutxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvutxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvutxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
+
+ public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ double _tmp =
+ (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
+ this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ }
+
+ private Long trxvuTxUptimeRaw;
+
+ public Long trxvuTxUptimeRaw() {
+ if (this.trxvuTxUptimeRaw != null) return this.trxvuTxUptimeRaw;
+ long _tmp = (long) (trxvuTxUptime());
+ this.trxvuTxUptimeRaw = _tmp;
+ return this.trxvuTxUptimeRaw;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalDopplerHz;
+
+ public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ double _tmp =
+ (double)
+ (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552)
+ - 22300));
+ this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ }
+
+ private Double trxvurxSupplyVoltageV;
+
+ public Double trxvurxSupplyVoltageV() {
+ if (this.trxvurxSupplyVoltageV != null) return this.trxvurxSupplyVoltageV;
+ double _tmp = (double) ((trxvurxSupplyVoltage() * 0.00488));
+ this.trxvurxSupplyVoltageV = _tmp;
+ return this.trxvurxSupplyVoltageV;
+ }
+
+ private Double trxvurxLocalOscillatorTemperatureC;
+
+ public Double trxvurxLocalOscillatorTemperatureC() {
+ if (this.trxvurxLocalOscillatorTemperatureC != null)
+ return this.trxvurxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvurxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvurxTransmitterCurrentMa;
+
+ public Double trxvurxTransmitterCurrentMa() {
+ if (this.trxvurxTransmitterCurrentMa != null) return this.trxvurxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
+ this.trxvurxTransmitterCurrentMa = _tmp;
+ return this.trxvurxTransmitterCurrentMa;
+ }
+
+ private Double trxvutxSupplyVoltageV;
+
+ public Double trxvutxSupplyVoltageV() {
+ if (this.trxvutxSupplyVoltageV != null) return this.trxvutxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
+ this.trxvutxSupplyVoltageV = _tmp;
+ return this.trxvutxSupplyVoltageV;
+ }
+
+ private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxLocalOscillatorTemperatureC;
+
+ public Double trxvutxLocalOscillatorTemperatureC() {
+ if (this.trxvutxLocalOscillatorTemperatureC != null)
+ return this.trxvutxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvutxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvutxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxReceiverCurrentMa;
+
+ public Double trxvutxReceiverCurrentMa() {
+ if (this.trxvutxReceiverCurrentMa != null) return this.trxvutxReceiverCurrentMa;
+ double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
+ this.trxvutxReceiverCurrentMa = _tmp;
+ return this.trxvutxReceiverCurrentMa;
+ }
+
+ private Double trxvurxPowerAmplifierCurrentMa;
+
+ public Double trxvurxPowerAmplifierCurrentMa() {
+ if (this.trxvurxPowerAmplifierCurrentMa != null) return this.trxvurxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvurxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvurxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxTotalSupplyCurrentMa;
+
+ public Double trxvurxTotalSupplyCurrentMa() {
+ if (this.trxvurxTotalSupplyCurrentMa != null) return this.trxvurxTotalSupplyCurrentMa;
+ double _tmp = (double) ((trxvurxTotalSupplyCurrent() * 0.16643964));
+ this.trxvurxTotalSupplyCurrentMa = _tmp;
+ return this.trxvurxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvutxPowerAmplifierTemperatureC;
+
+ public Double trxvutxPowerAmplifierTemperatureC() {
+ if (this.trxvutxPowerAmplifierTemperatureC != null)
+ return this.trxvutxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvutxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvutxPowerAmplifierTemperatureC;
+ }
+
+ private Double trxvutxTransmitterCurrentMa;
+
+ public Double trxvutxTransmitterCurrentMa() {
+ if (this.trxvutxTransmitterCurrentMa != null) return this.trxvutxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
+ this.trxvutxTransmitterCurrentMa = _tmp;
+ return this.trxvutxTransmitterCurrentMa;
+ }
+
+ private Double trxvurxPowerAmplifierTemperatureC;
+
+ public Double trxvurxPowerAmplifierTemperatureC() {
+ if (this.trxvurxPowerAmplifierTemperatureC != null)
+ return this.trxvurxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvurxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureC;
+ }
+
+ private Integer trxvuTxStateRaw;
+
+ public Integer trxvuTxStateRaw() {
+ if (this.trxvuTxStateRaw != null) return this.trxvuTxStateRaw;
+ int _tmp = (int) (trxvuTxState());
+ this.trxvuTxStateRaw = _tmp;
+ return this.trxvuTxStateRaw;
+ }
+
+ private Long trxvuRxUptimeRaw;
+
+ public Long trxvuRxUptimeRaw() {
+ if (this.trxvuRxUptimeRaw != null) return this.trxvuRxUptimeRaw;
+ long _tmp = (long) (trxvuRxUptime());
+ this.trxvuRxUptimeRaw = _tmp;
+ return this.trxvuRxUptimeRaw;
+ }
+
+ private Double trxvurxReceiverCurrentMa;
+
+ public Double trxvurxReceiverCurrentMa() {
+ if (this.trxvurxReceiverCurrentMa != null) return this.trxvurxReceiverCurrentMa;
+ double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
+ this.trxvurxReceiverCurrentMa = _tmp;
+ return this.trxvurxReceiverCurrentMa;
+ }
+
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private long trxvuRxUptime;
+ private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ private long trxvutxSupplyVoltage;
+ private long trxvutxTotalSupplyCurrent;
+ private long trxvutxTransmitterCurrent;
+ private long trxvutxReceiverCurrent;
+ private long trxvutxPowerAmplifierCurrent;
+ private long trxvutxPowerAmplifierTemperature;
+ private long trxvutxLocalOscillatorTemperature;
+ private long trxvuTxUptime;
+ private int trxvuTxState;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public long trxvuRxUptime() {
+ return trxvuRxUptime;
+ }
+
+ public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ }
+
+ public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvutxSupplyVoltage() {
+ return trxvutxSupplyVoltage;
+ }
+
+ public long trxvutxTotalSupplyCurrent() {
+ return trxvutxTotalSupplyCurrent;
+ }
+
+ public long trxvutxTransmitterCurrent() {
+ return trxvutxTransmitterCurrent;
+ }
+
+ public long trxvutxReceiverCurrent() {
+ return trxvutxReceiverCurrent;
+ }
+
+ public long trxvutxPowerAmplifierCurrent() {
+ return trxvutxPowerAmplifierCurrent;
+ }
+
+ public long trxvutxPowerAmplifierTemperature() {
+ return trxvutxPowerAmplifierTemperature;
+ }
+
+ public long trxvutxLocalOscillatorTemperature() {
+ return trxvutxLocalOscillatorTemperature;
+ }
+
+ public long trxvuTxUptime() {
+ return trxvuTxUptime;
+ }
+
+ public int trxvuTxState() {
+ return trxvuTxState;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardHk extends KaitaiStruct {
+ public static MainboardHk fromFile(String fileName) throws IOException {
+ return new MainboardHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardHkTime = this._io.readU4be();
+ this.hkPlus5V = this._io.readU2be();
+ this.hkMinus5V = this._io.readU2be();
+ this.hkMinusPolar = this._io.readU2be();
+ this.hkTempADC = this._io.readU2be();
+ this.hkFeePlusXVref = this._io.readU2be();
+ this.hkFeeMinusXVref = this._io.readU2be();
+ this.hkFeePlusYVref = this._io.readU2be();
+ this.hkFeeMinusYVref = this._io.readU2be();
+ }
+
+ private Integer hkFeePlusXVrefRaw;
+
+ public Integer hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ int _tmp = (int) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Integer hkFeePlusYVrefRaw;
+
+ public Integer hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ int _tmp = (int) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Integer hkPlus5VRaw;
+
+ public Integer hkPlus5VRaw() {
+ if (this.hkPlus5VRaw != null) return this.hkPlus5VRaw;
+ int _tmp = (int) (hkPlus5V());
+ this.hkPlus5VRaw = _tmp;
+ return this.hkPlus5VRaw;
+ }
+
+ private Integer hkTempADCRaw;
+
+ public Integer hkTempADCRaw() {
+ if (this.hkTempADCRaw != null) return this.hkTempADCRaw;
+ int _tmp = (int) (hkTempADC());
+ this.hkTempADCRaw = _tmp;
+ return this.hkTempADCRaw;
+ }
+
+ private Long mainboardHKTimeRaw;
+
+ public Long mainboardHKTimeRaw() {
+ if (this.mainboardHKTimeRaw != null) return this.mainboardHKTimeRaw;
+ long _tmp = (long) (mainboardHkTime());
+ this.mainboardHKTimeRaw = _tmp;
+ return this.mainboardHKTimeRaw;
+ }
+
+ private Integer hkMinusPolarRaw;
+
+ public Integer hkMinusPolarRaw() {
+ if (this.hkMinusPolarRaw != null) return this.hkMinusPolarRaw;
+ int _tmp = (int) (hkMinusPolar());
+ this.hkMinusPolarRaw = _tmp;
+ return this.hkMinusPolarRaw;
+ }
+
+ private Integer hkMinus5VRaw;
+
+ public Integer hkMinus5VRaw() {
+ if (this.hkMinus5VRaw != null) return this.hkMinus5VRaw;
+ int _tmp = (int) (hkMinus5V());
+ this.hkMinus5VRaw = _tmp;
+ return this.hkMinus5VRaw;
+ }
+
+ private Integer hkFeeMinusXVrefRaw;
+
+ public Integer hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ int _tmp = (int) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Integer hkFeeMinusYVrefRaw;
+
+ public Integer hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ int _tmp = (int) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private long mainboardHkTime;
+ private int hkPlus5V;
+ private int hkMinus5V;
+ private int hkMinusPolar;
+ private int hkTempADC;
+ private int hkFeePlusXVref;
+ private int hkFeeMinusXVref;
+ private int hkFeePlusYVref;
+ private int hkFeeMinusYVref;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ public long mainboardHkTime() {
+ return mainboardHkTime;
+ }
+
+ public int hkPlus5V() {
+ return hkPlus5V;
+ }
+
+ public int hkMinus5V() {
+ return hkMinus5V;
+ }
+
+ public int hkMinusPolar() {
+ return hkMinusPolar;
+ }
+
+ public int hkTempADC() {
+ return hkTempADC;
+ }
+
+ public int hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public int hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public int hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public int hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IFrame extends KaitaiStruct {
+ public static IFrame fromFile(String fileName) throws IOException {
+ return new IFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private byte[] ax25Info;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class SsidMask extends KaitaiStruct {
+ public static SsidMask fromFile(String fileName) throws IOException {
+ return new SsidMask(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public SsidMask(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public SsidMask(KaitaiStream _io, InspireSat7.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public SsidMask(KaitaiStream _io, InspireSat7.Ax25Header _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ssidMask = this._io.readU1();
+ }
+
+ private Integer ssid;
+
+ public Integer ssid() {
+ if (this.ssid != null) return this.ssid;
+ int _tmp = (int) (((ssidMask() & 15) >> 1));
+ this.ssid = _tmp;
+ return this.ssid;
+ }
+
+ private int ssidMask;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Header _parent;
+
+ public int ssidMask() {
+ return ssidMask;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Header _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Beacon extends KaitaiStruct {
+ public static Beacon fromFile(String fileName) throws IOException {
+ return new Beacon(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Beacon(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Beacon(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Beacon(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.modePlatform = this._io.readBitsIntBe(4);
+ this.modeImtq = this._io.readBitsIntBe(4);
+ this.modeTrxvu = this._io.readBitsIntBe(4);
+ this.modePayloadCapteurs = this._io.readBitsIntBe(4);
+ this.modePayloadIMU = this._io.readBitsIntBe(4);
+ this.modePayloadIONO = this._io.readBitsIntBe(4);
+ this.modePayloadLIFI = this._io.readBitsIntBe(4);
+ this.modePayloadSPINO = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.lastReasonReset = this._io.readU1();
+ this.resetOrder = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.formatSDCardOrder = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTmDownloaderSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU2be();
+ this.nbTcPingSinceFirstStart = this._io.readU2be();
+ this.nbBadTcSinceFirstStart = this._io.readU2be();
+ this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsIntBe(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this.zeroPadding = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.trxvuUptime = this._io.readU4be();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.imtqUpTime = this._io.readU4be();
+ this.mcuTemperature = this._io.readU2be();
+ this.tmtcSideAAntsTemperature = this._io.readU2be();
+ this.tmtcSideAAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideAAntsUpTime = this._io.readU4be();
+ this.tmtcSideBAntsTemperature = this._io.readU2be();
+ this.tmtcSideBAntsDeployementStatus = this._io.readU2be();
+ this.ionoSideAAntsTemperature = this._io.readU2be();
+ this.ionoSideAAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideAAntsUpTime = this._io.readU4be();
+ this.ionoSideBAntsTemperature = this._io.readU2be();
+ this.ionoSideBAntsDeploymentStatus = this._io.readU2be();
+ this.voltBrdsupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vVipDistInputRaw = this._io.readS2be();
+ this.iVipDistInputRaw = this._io.readS2be();
+ this.vVipBattInputRaw = this._io.readS2be();
+ this.iVipBattInputRaw = this._io.readS2be();
+ this.statObcOn = this._io.readS2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.batTemp3Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vVipObc00 = this._io.readS2be();
+ this.iVipObc00 = this._io.readS2be();
+ this.vVipObc01 = this._io.readS2be();
+ this.iVipObc01 = this._io.readS2be();
+ this.vVipObc02 = this._io.readS2be();
+ this.iVipObc02 = this._io.readS2be();
+ this.vVipObc03 = this._io.readS2be();
+ this.iVipObc03 = this._io.readS2be();
+ this.vVipObc04 = this._io.readS2be();
+ this.iVipObc04 = this._io.readS2be();
+ this.vVipObc05 = this._io.readS2be();
+ this.iVipObc05 = this._io.readS2be();
+ this.vVipObc06 = this._io.readS2be();
+ this.iVipObc06 = this._io.readS2be();
+ this.vVipObc07 = this._io.readS2be();
+ this.iVipObc07 = this._io.readS2be();
+ this.vVipObc08 = this._io.readS2be();
+ this.iVipObc08 = this._io.readS2be();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.upTime = this._io.readU4be();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Long tmtcSideAAntsUpTimeS;
+
+ public Long tmtcSideAAntsUpTimeS() {
+ if (this.tmtcSideAAntsUpTimeS != null) return this.tmtcSideAAntsUpTimeS;
+ long _tmp = (long) (tmtcSideAAntsUpTime());
+ this.tmtcSideAAntsUpTimeS = _tmp;
+ return this.tmtcSideAAntsUpTimeS;
+ }
+
+ private Long rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw;
+
+ public Long rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw() {
+ if (this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw != null)
+ return this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw;
+ long _tmp = (long) (rxvuTxInstantaneousRFForwardPowerFromTransmitterPort());
+ this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw = _tmp;
+ return this.rxvuTxInstantaneousRFForwardPowerFromTransmitterPortRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Long trxvurxPowerAmplifierTemperatureRaw;
+
+ public Long trxvurxPowerAmplifierTemperatureRaw() {
+ if (this.trxvurxPowerAmplifierTemperatureRaw != null)
+ return this.trxvurxPowerAmplifierTemperatureRaw;
+ long _tmp = (long) (trxvurxPowerAmplifierTemperature());
+ this.trxvurxPowerAmplifierTemperatureRaw = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureRaw;
+ }
+
+ private Double vVipObc07V;
+
+ public Double vVipObc07V() {
+ if (this.vVipObc07V != null) return this.vVipObc07V;
+ double _tmp = (double) ((((vVipObc07() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc07V = _tmp;
+ return this.vVipObc07V;
+ }
+
+ private Double ionoSideBAntsTemperatureC;
+
+ public Double ionoSideBAntsTemperatureC() {
+ if (this.ionoSideBAntsTemperatureC != null) return this.ionoSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideBAntsTemperatureC = _tmp;
+ return this.ionoSideBAntsTemperatureC;
+ }
+
+ private Double vVipObc00V;
+
+ public Double vVipObc00V() {
+ if (this.vVipObc00V != null) return this.vVipObc00V;
+ double _tmp = (double) ((((vVipObc00() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc00V = _tmp;
+ return this.vVipObc00V;
+ }
+
+ private Long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw;
+
+ public Long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw() {
+ if (this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw != null)
+ return this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw;
+ long _tmp = (long) (trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort());
+ this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw = _tmp;
+ return this.trxvuTxInstantaneousRFReflectedPowerFromTransmitterPortRaw;
+ }
+
+ private Integer formatSDCardOrderRaw;
+
+ public Integer formatSDCardOrderRaw() {
+ if (this.formatSDCardOrderRaw != null) return this.formatSDCardOrderRaw;
+ int _tmp = (int) (formatSDCardOrder());
+ this.formatSDCardOrderRaw = _tmp;
+ return this.formatSDCardOrderRaw;
+ }
+
+ private Double vVipObc03V;
+
+ public Double vVipObc03V() {
+ if (this.vVipObc03V != null) return this.vVipObc03V;
+ double _tmp = (double) ((((vVipObc01() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc03V = _tmp;
+ return this.vVipObc03V;
+ }
+
+ private Double iVipObc02Ma;
+
+ public Double iVipObc02Ma() {
+ if (this.iVipObc02Ma != null) return this.iVipObc02Ma;
+ double _tmp = (double) (((iVipObc02() * 3125.0) / 20480.0));
+ this.iVipObc02Ma = _tmp;
+ return this.iVipObc02Ma;
+ }
+
+ private Long nbTmDownloaderSinceFirstStartRaw;
+
+ public Long nbTmDownloaderSinceFirstStartRaw() {
+ if (this.nbTmDownloaderSinceFirstStartRaw != null)
+ return this.nbTmDownloaderSinceFirstStartRaw;
+ long _tmp = (long) (nbTmDownloaderSinceFirstStart());
+ this.nbTmDownloaderSinceFirstStartRaw = _tmp;
+ return this.nbTmDownloaderSinceFirstStartRaw;
+ }
+
+ private Short statObcOnRaw;
+
+ public Short statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ short _tmp = (short) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Double vVipDistInputRawV;
+
+ public Double vVipDistInputRawV() {
+ if (this.vVipDistInputRawV != null) return this.vVipDistInputRawV;
+ double _tmp = (double) ((((vVipDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vVipDistInputRawV = _tmp;
+ return this.vVipDistInputRawV;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Double iVipObc08Ma;
+
+ public Double iVipObc08Ma() {
+ if (this.iVipObc08Ma != null) return this.iVipObc08Ma;
+ double _tmp = (double) (((iVipObc08() * 3125.0) / 20480.0));
+ this.iVipObc08Ma = _tmp;
+ return this.iVipObc08Ma;
+ }
+
+ private Integer modeRaw;
+
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Long trxvurxTotalSupplyCurrentRaw;
+
+ public Long trxvurxTotalSupplyCurrentRaw() {
+ if (this.trxvurxTotalSupplyCurrentRaw != null) return this.trxvurxTotalSupplyCurrentRaw;
+ long _tmp = (long) (trxvurxTotalSupplyCurrent());
+ this.trxvurxTotalSupplyCurrentRaw = _tmp;
+ return this.trxvurxTotalSupplyCurrentRaw;
+ }
+
+ private Long imtqUpTimeRaw;
+
+ public Long imtqUpTimeRaw() {
+ if (this.imtqUpTimeRaw != null) return this.imtqUpTimeRaw;
+ long _tmp = (long) (imtqUpTime());
+ this.imtqUpTimeRaw = _tmp;
+ return this.imtqUpTimeRaw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Double tmtcSideBAntsTemperatureC;
+
+ public Double tmtcSideBAntsTemperatureC() {
+ if (this.tmtcSideBAntsTemperatureC != null) return this.tmtcSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideBAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideBAntsTemperatureC = _tmp;
+ return this.tmtcSideBAntsTemperatureC;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Integer ionoSideBAntsDeploymentStatusRaw;
+
+ public Integer ionoSideBAntsDeploymentStatusRaw() {
+ if (this.ionoSideBAntsDeploymentStatusRaw != null)
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideBAntsDeploymentStatus());
+ this.ionoSideBAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ }
+
+ private Double iVipObc07Ma;
+
+ public Double iVipObc07Ma() {
+ if (this.iVipObc07Ma != null) return this.iVipObc07Ma;
+ double _tmp = (double) (((iVipObc07() * 3125.0) / 20480.0));
+ this.iVipObc07Ma = _tmp;
+ return this.iVipObc07Ma;
+ }
+
+ private Integer voltBrdsupRawRaw;
+
+ public Integer voltBrdsupRawRaw() {
+ if (this.voltBrdsupRawRaw != null) return this.voltBrdsupRawRaw;
+ int _tmp = (int) (voltBrdsupRaw());
+ this.voltBrdsupRawRaw = _tmp;
+ return this.voltBrdsupRawRaw;
+ }
+
+ private Integer tmtcSideBAntsDeployementStatusRaw;
+
+ public Integer tmtcSideBAntsDeployementStatusRaw() {
+ if (this.tmtcSideBAntsDeployementStatusRaw != null)
+ return this.tmtcSideBAntsDeployementStatusRaw;
+ int _tmp = (int) (tmtcSideBAntsDeployementStatus());
+ this.tmtcSideBAntsDeployementStatusRaw = _tmp;
+ return this.tmtcSideBAntsDeployementStatusRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Double iVipObc05Ma;
+
+ public Double iVipObc05Ma() {
+ if (this.iVipObc05Ma != null) return this.iVipObc05Ma;
+ double _tmp = (double) (((iVipObc05() * 3125.0) / 20480.0));
+ this.iVipObc05Ma = _tmp;
+ return this.iVipObc05Ma;
+ }
+
+ private Integer statObcOcfRaw;
+
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long modePlatformRaw;
+
+ public Long modePlatformRaw() {
+ if (this.modePlatformRaw != null) return this.modePlatformRaw;
+ long _tmp = (long) (modePlatform());
+ this.modePlatformRaw = _tmp;
+ return this.modePlatformRaw;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Integer resetOrderRaw;
+
+ public Integer resetOrderRaw() {
+ if (this.resetOrderRaw != null) return this.resetOrderRaw;
+ int _tmp = (int) (resetOrder());
+ this.resetOrderRaw = _tmp;
+ return this.resetOrderRaw;
+ }
+
+ private Long upTimeS;
+
+ public Long upTimeS() {
+ if (this.upTimeS != null) return this.upTimeS;
+ long _tmp = (long) (upTime());
+ this.upTimeS = _tmp;
+ return this.upTimeS;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Double vVipObc08V;
+
+ public Double vVipObc08V() {
+ if (this.vVipObc08V != null) return this.vVipObc08V;
+ double _tmp = (double) ((((vVipObc08() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc08V = _tmp;
+ return this.vVipObc08V;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Double vVipBattInputRawV;
+
+ public Double vVipBattInputRawV() {
+ if (this.vVipBattInputRawV != null) return this.vVipBattInputRawV;
+ double _tmp = (double) ((((vVipBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vVipBattInputRawV = _tmp;
+ return this.vVipBattInputRawV;
+ }
+
+ private Long trxvurxPowerAmplifierCurrentRaw;
+
+ public Long trxvurxPowerAmplifierCurrentRaw() {
+ if (this.trxvurxPowerAmplifierCurrentRaw != null) return this.trxvurxPowerAmplifierCurrentRaw;
+ long _tmp = (long) (trxvurxPowerAmplifierCurrent());
+ this.trxvurxPowerAmplifierCurrentRaw = _tmp;
+ return this.trxvurxPowerAmplifierCurrentRaw;
+ }
+
+ private Integer tempRawRaw;
+
+ public Integer tempRawRaw() {
+ if (this.tempRawRaw != null) return this.tempRawRaw;
+ int _tmp = (int) (tempRaw());
+ this.tempRawRaw = _tmp;
+ return this.tempRawRaw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double batTemp2C;
+
+ public Double batTemp2C() {
+ if (this.batTemp2C != null) return this.batTemp2C;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2C = _tmp;
+ return this.batTemp2C;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Integer lastReasonResetRaw;
+
+ public Integer lastReasonResetRaw() {
+ if (this.lastReasonResetRaw != null) return this.lastReasonResetRaw;
+ int _tmp = (int) (lastReasonReset());
+ this.lastReasonResetRaw = _tmp;
+ return this.lastReasonResetRaw;
+ }
+
+ private Double iVipBattInputRawMa;
+
+ public Double iVipBattInputRawMa() {
+ if (this.iVipBattInputRawMa != null) return this.iVipBattInputRawMa;
+ double _tmp = (double) (((iVipBattInputRaw() * 3125.0) / 10240.0));
+ this.iVipBattInputRawMa = _tmp;
+ return this.iVipBattInputRawMa;
+ }
+
+ private Long modeTrxvuRaw;
+
+ public Long modeTrxvuRaw() {
+ if (this.modeTrxvuRaw != null) return this.modeTrxvuRaw;
+ long _tmp = (long) (modeTrxvu());
+ this.modeTrxvuRaw = _tmp;
+ return this.modeTrxvuRaw;
+ }
+
+ private Double vVipObc02V;
+
+ public Double vVipObc02V() {
+ if (this.vVipObc02V != null) return this.vVipObc02V;
+ double _tmp = (double) ((((vVipObc02() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc02V = _tmp;
+ return this.vVipObc02V;
+ }
+
+ private Long trxvurxTransmitterCurrentRaw;
+
+ public Long trxvurxTransmitterCurrentRaw() {
+ if (this.trxvurxTransmitterCurrentRaw != null) return this.trxvurxTransmitterCurrentRaw;
+ long _tmp = (long) (trxvurxTransmitterCurrent());
+ this.trxvurxTransmitterCurrentRaw = _tmp;
+ return this.trxvurxTransmitterCurrentRaw;
+ }
+
+ private Double iVipObc03Ma;
+
+ public Double iVipObc03Ma() {
+ if (this.iVipObc03Ma != null) return this.iVipObc03Ma;
+ double _tmp = (double) (((iVipObc03() * 3125.0) / 20480.0));
+ this.iVipObc03Ma = _tmp;
+ return this.iVipObc03Ma;
+ }
+
+ private Long modePayloadIMURaw;
+
+ public Long modePayloadIMURaw() {
+ if (this.modePayloadIMURaw != null) return this.modePayloadIMURaw;
+ long _tmp = (long) (modePayloadIMU());
+ this.modePayloadIMURaw = _tmp;
+ return this.modePayloadIMURaw;
+ }
+
+ private Double iVipObc01Ma;
+
+ public Double iVipObc01Ma() {
+ if (this.iVipObc01Ma != null) return this.iVipObc01Ma;
+ double _tmp = (double) (((iVipObc01() * 3125.0) / 20480.0));
+ this.iVipObc01Ma = _tmp;
+ return this.iVipObc01Ma;
+ }
+
+ private Double vVipObc06V;
+
+ public Double vVipObc06V() {
+ if (this.vVipObc06V != null) return this.vVipObc06V;
+ double _tmp = (double) ((((vVipObc06() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc06V = _tmp;
+ return this.vVipObc06V;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw;
+
+ public Long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw;
+ long _tmp = (long) (trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort());
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPortRaw;
+ }
+
+ private Long trxvurxSupplyVoltageRaw;
+
+ public Long trxvurxSupplyVoltageRaw() {
+ if (this.trxvurxSupplyVoltageRaw != null) return this.trxvurxSupplyVoltageRaw;
+ long _tmp = (long) (trxvurxSupplyVoltage());
+ this.trxvurxSupplyVoltageRaw = _tmp;
+ return this.trxvurxSupplyVoltageRaw;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Double vVipObc01V;
+
+ public Double vVipObc01V() {
+ if (this.vVipObc01V != null) return this.vVipObc01V;
+ double _tmp = (double) ((((vVipObc01() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc01V = _tmp;
+ return this.vVipObc01V;
+ }
+
+ private Long ionoSideAAntsUpTimeS;
+
+ public Long ionoSideAAntsUpTimeS() {
+ if (this.ionoSideAAntsUpTimeS != null) return this.ionoSideAAntsUpTimeS;
+ long _tmp = (long) (ionoSideAAntsUpTime());
+ this.ionoSideAAntsUpTimeS = _tmp;
+ return this.ionoSideAAntsUpTimeS;
+ }
+
+ private Double batTemp3C;
+
+ public Double batTemp3C() {
+ if (this.batTemp3C != null) return this.batTemp3C;
+ double _tmp = (double) (((batTemp3Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp3C = _tmp;
+ return this.batTemp3C;
+ }
+
+ private Double iVipObc04Ma;
+
+ public Double iVipObc04Ma() {
+ if (this.iVipObc04Ma != null) return this.iVipObc04Ma;
+ double _tmp = (double) (((iVipObc04() * 3125.0) / 20480.0));
+ this.iVipObc04Ma = _tmp;
+ return this.iVipObc04Ma;
+ }
+
+ private Long modePayloadIONORaw;
+
+ public Long modePayloadIONORaw() {
+ if (this.modePayloadIONORaw != null) return this.modePayloadIONORaw;
+ long _tmp = (long) (modePayloadIONO());
+ this.modePayloadIONORaw = _tmp;
+ return this.modePayloadIONORaw;
+ }
+
+ private Long modeImtqRaw;
+
+ public Long modeImtqRaw() {
+ if (this.modeImtqRaw != null) return this.modeImtqRaw;
+ long _tmp = (long) (modeImtq());
+ this.modeImtqRaw = _tmp;
+ return this.modeImtqRaw;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Double ionoSideAAntsTemperatureC;
+
+ public Double ionoSideAAntsTemperatureC() {
+ if (this.ionoSideAAntsTemperatureC != null) return this.ionoSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (ionoSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideAAntsTemperatureC = _tmp;
+ return this.ionoSideAAntsTemperatureC;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private Double vVipObc05V;
+
+ public Double vVipObc05V() {
+ if (this.vVipObc05V != null) return this.vVipObc05V;
+ double _tmp = (double) ((((vVipObc05() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc05V = _tmp;
+ return this.vVipObc05V;
+ }
+
+ private Integer nbTcSinceFirstStartRaw;
+
+ public Integer nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ int _tmp = (int) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Long trxvuUptimeRaw;
+
+ public Long trxvuUptimeRaw() {
+ if (this.trxvuUptimeRaw != null) return this.trxvuUptimeRaw;
+ long _tmp = (long) (trxvuUptime());
+ this.trxvuUptimeRaw = _tmp;
+ return this.trxvuUptimeRaw;
+ }
+
+ private Long trxvurxLocalOscillatorTemperatureRaw;
+
+ public Long trxvurxLocalOscillatorTemperatureRaw() {
+ if (this.trxvurxLocalOscillatorTemperatureRaw != null)
+ return this.trxvurxLocalOscillatorTemperatureRaw;
+ long _tmp = (long) (trxvurxLocalOscillatorTemperature());
+ this.trxvurxLocalOscillatorTemperatureRaw = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureRaw;
+ }
+
+ private Long modePayloadSPINORaw;
+
+ public Long modePayloadSPINORaw() {
+ if (this.modePayloadSPINORaw != null) return this.modePayloadSPINORaw;
+ long _tmp = (long) (modePayloadSPINO());
+ this.modePayloadSPINORaw = _tmp;
+ return this.modePayloadSPINORaw;
+ }
+
+ private Long trxvurxReceiverCurrentRaw;
+
+ public Long trxvurxReceiverCurrentRaw() {
+ if (this.trxvurxReceiverCurrentRaw != null) return this.trxvurxReceiverCurrentRaw;
+ long _tmp = (long) (trxvurxReceiverCurrent());
+ this.trxvurxReceiverCurrentRaw = _tmp;
+ return this.trxvurxReceiverCurrentRaw;
+ }
+
+ private Integer nbTcPingSinceFirstStartRaw;
+
+ public Integer nbTcPingSinceFirstStartRaw() {
+ if (this.nbTcPingSinceFirstStartRaw != null) return this.nbTcPingSinceFirstStartRaw;
+ int _tmp = (int) (nbTcPingSinceFirstStart());
+ this.nbTcPingSinceFirstStartRaw = _tmp;
+ return this.nbTcPingSinceFirstStartRaw;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Integer resetCauseRaw;
+
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Double vVipObc04V;
+
+ public Double vVipObc04V() {
+ if (this.vVipObc04V != null) return this.vVipObc04V;
+ double _tmp = (double) ((((vVipObc04() * 125.0) / 128.0) / 1000.0));
+ this.vVipObc04V = _tmp;
+ return this.vVipObc04V;
+ }
+
+ private Integer nbBadTcSinceFirstStartRaw;
+
+ public Integer nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ int _tmp = (int) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Long modePayloadLIFIRaw;
+
+ public Long modePayloadLIFIRaw() {
+ if (this.modePayloadLIFIRaw != null) return this.modePayloadLIFIRaw;
+ long _tmp = (long) (modePayloadLIFI());
+ this.modePayloadLIFIRaw = _tmp;
+ return this.modePayloadLIFIRaw;
+ }
+
+ private Long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw;
+
+ public Long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw;
+ long _tmp = (long) (trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort());
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPortRaw;
+ }
+
+ private Integer tmtcSideAAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideAAntsDeploymentStatusRaw() {
+ if (this.tmtcSideAAntsDeploymentStatusRaw != null)
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideAAntsDeploymentStatus());
+ this.tmtcSideAAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ }
+
+ private Double tmtcSideAAntsTemperatureC;
+
+ public Double tmtcSideAAntsTemperatureC() {
+ if (this.tmtcSideAAntsTemperatureC != null) return this.tmtcSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideAAntsTemperatureC = _tmp;
+ return this.tmtcSideAAntsTemperatureC;
+ }
+
+ private Double iVipObc06Ma;
+
+ public Double iVipObc06Ma() {
+ if (this.iVipObc06Ma != null) return this.iVipObc06Ma;
+ double _tmp = (double) (((iVipObc06() * 3125.0) / 20480.0));
+ this.iVipObc06Ma = _tmp;
+ return this.iVipObc06Ma;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Double iVipDistInputRawMa;
+
+ public Double iVipDistInputRawMa() {
+ if (this.iVipDistInputRawMa != null) return this.iVipDistInputRawMa;
+ double _tmp = (double) (((iVipDistInputRaw() * 3125.0) / 10240.0));
+ this.iVipDistInputRawMa = _tmp;
+ return this.iVipDistInputRawMa;
+ }
+
+ private Long modePayloadCapteursRaw;
+
+ public Long modePayloadCapteursRaw() {
+ if (this.modePayloadCapteursRaw != null) return this.modePayloadCapteursRaw;
+ long _tmp = (long) (modePayloadCapteurs());
+ this.modePayloadCapteursRaw = _tmp;
+ return this.modePayloadCapteursRaw;
+ }
+
+ private Integer ionoSideAAntsDeploymentStatusRaw;
+
+ public Integer ionoSideAAntsDeploymentStatusRaw() {
+ if (this.ionoSideAAntsDeploymentStatusRaw != null)
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideAAntsDeploymentStatus());
+ this.ionoSideAAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ }
+
+ private Integer confRaw;
+
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Double iVipObc00Ma;
+
+ public Double iVipObc00Ma() {
+ if (this.iVipObc00Ma != null) return this.iVipObc00Ma;
+ double _tmp = (double) (((iVipObc00() * 3125.0) / 20480.0));
+ this.iVipObc00Ma = _tmp;
+ return this.iVipObc00Ma;
+ }
+
+ private Integer mcuTemperatureRaw;
+
+ public Integer mcuTemperatureRaw() {
+ if (this.mcuTemperatureRaw != null) return this.mcuTemperatureRaw;
+ int _tmp = (int) (mcuTemperature());
+ this.mcuTemperatureRaw = _tmp;
+ return this.mcuTemperatureRaw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private Long zeroPaddingRaw;
+
+ public Long zeroPaddingRaw() {
+ if (this.zeroPaddingRaw != null) return this.zeroPaddingRaw;
+ long _tmp = (long) (zeroPadding());
+ this.zeroPaddingRaw = _tmp;
+ return this.zeroPaddingRaw;
+ }
+
+ private long modePlatform;
+ private long modeImtq;
+ private long modeTrxvu;
+ private long modePayloadCapteurs;
+ private long modePayloadIMU;
+ private long modePayloadIONO;
+ private long modePayloadLIFI;
+ private long modePayloadSPINO;
+ private int lastReasonReset;
+ private int resetOrder;
+ private int nbReset;
+ private int formatSDCardOrder;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTmDownloaderSinceFirstStart;
+ private int nbTcSinceFirstStart;
+ private int nbTcPingSinceFirstStart;
+ private int nbBadTcSinceFirstStart;
+ private long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort;
+ private long rxvuTxInstantaneousRFForwardPowerFromTransmitterPort;
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private long zeroPadding;
+ private long trxvuUptime;
+ private int imtqSystemStateMode;
+ private long imtqUpTime;
+ private int mcuTemperature;
+ private int tmtcSideAAntsTemperature;
+ private int tmtcSideAAntsDeploymentStatus;
+ private long tmtcSideAAntsUpTime;
+ private int tmtcSideBAntsTemperature;
+ private int tmtcSideBAntsDeployementStatus;
+ private int ionoSideAAntsTemperature;
+ private int ionoSideAAntsDeploymentStatus;
+ private long ionoSideAAntsUpTime;
+ private int ionoSideBAntsTemperature;
+ private int ionoSideBAntsDeploymentStatus;
+ private int voltBrdsupRaw;
+ private int tempRaw;
+ private short vVipDistInputRaw;
+ private short iVipDistInputRaw;
+ private short vVipBattInputRaw;
+ private short iVipBattInputRaw;
+ private short statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int batTemp3Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private short vVipObc00;
+ private short iVipObc00;
+ private short vVipObc01;
+ private short iVipObc01;
+ private short vVipObc02;
+ private short iVipObc02;
+ private short vVipObc03;
+ private short iVipObc03;
+ private short vVipObc04;
+ private short iVipObc04;
+ private short vVipObc05;
+ private short iVipObc05;
+ private short vVipObc06;
+ private short iVipObc06;
+ private short vVipObc07;
+ private short iVipObc07;
+ private short vVipObc08;
+ private short iVipObc08;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long upTime;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long modePlatform() {
+ return modePlatform;
+ }
+
+ public long modeImtq() {
+ return modeImtq;
+ }
+
+ public long modeTrxvu() {
+ return modeTrxvu;
+ }
+
+ public long modePayloadCapteurs() {
+ return modePayloadCapteurs;
+ }
+
+ public long modePayloadIMU() {
+ return modePayloadIMU;
+ }
+
+ public long modePayloadIONO() {
+ return modePayloadIONO;
+ }
+
+ public long modePayloadLIFI() {
+ return modePayloadLIFI;
+ }
+
+ public long modePayloadSPINO() {
+ return modePayloadSPINO;
+ }
+
+ public int lastReasonReset() {
+ return lastReasonReset;
+ }
+
+ public int resetOrder() {
+ return resetOrder;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int formatSDCardOrder() {
+ return formatSDCardOrder;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTmDownloaderSinceFirstStart() {
+ return nbTmDownloaderSinceFirstStart;
+ }
+
+ public int nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public int nbTcPingSinceFirstStart() {
+ return nbTcPingSinceFirstStart;
+ }
+
+ public int nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort() {
+ return trxvuTxInstantaneousRFReflectedPowerFromTransmitterPort;
+ }
+
+ public long rxvuTxInstantaneousRFForwardPowerFromTransmitterPort() {
+ return rxvuTxInstantaneousRFForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public long zeroPadding() {
+ return zeroPadding;
+ }
+
+ public long trxvuUptime() {
+ return trxvuUptime;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public long imtqUpTime() {
+ return imtqUpTime;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int tmtcSideAAntsTemperature() {
+ return tmtcSideAAntsTemperature;
+ }
+
+ public int tmtcSideAAntsDeploymentStatus() {
+ return tmtcSideAAntsDeploymentStatus;
+ }
+
+ public long tmtcSideAAntsUpTime() {
+ return tmtcSideAAntsUpTime;
+ }
+
+ public int tmtcSideBAntsTemperature() {
+ return tmtcSideBAntsTemperature;
+ }
+
+ public int tmtcSideBAntsDeployementStatus() {
+ return tmtcSideBAntsDeployementStatus;
+ }
+
+ public int ionoSideAAntsTemperature() {
+ return ionoSideAAntsTemperature;
+ }
+
+ public int ionoSideAAntsDeploymentStatus() {
+ return ionoSideAAntsDeploymentStatus;
+ }
+
+ public long ionoSideAAntsUpTime() {
+ return ionoSideAAntsUpTime;
+ }
+
+ public int ionoSideBAntsTemperature() {
+ return ionoSideBAntsTemperature;
+ }
+
+ public int ionoSideBAntsDeploymentStatus() {
+ return ionoSideBAntsDeploymentStatus;
+ }
+
+ public int voltBrdsupRaw() {
+ return voltBrdsupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public short vVipDistInputRaw() {
+ return vVipDistInputRaw;
+ }
+
+ public short iVipDistInputRaw() {
+ return iVipDistInputRaw;
+ }
+
+ public short vVipBattInputRaw() {
+ return vVipBattInputRaw;
+ }
+
+ public short iVipBattInputRaw() {
+ return iVipBattInputRaw;
+ }
+
+ public short statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int batTemp3Raw() {
+ return batTemp3Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public short vVipObc00() {
+ return vVipObc00;
+ }
+
+ public short iVipObc00() {
+ return iVipObc00;
+ }
+
+ public short vVipObc01() {
+ return vVipObc01;
+ }
+
+ public short iVipObc01() {
+ return iVipObc01;
+ }
+
+ public short vVipObc02() {
+ return vVipObc02;
+ }
+
+ public short iVipObc02() {
+ return iVipObc02;
+ }
+
+ public short vVipObc03() {
+ return vVipObc03;
+ }
+
+ public short iVipObc03() {
+ return iVipObc03;
+ }
+
+ public short vVipObc04() {
+ return vVipObc04;
+ }
+
+ public short iVipObc04() {
+ return iVipObc04;
+ }
+
+ public short vVipObc05() {
+ return vVipObc05;
+ }
+
+ public short iVipObc05() {
+ return iVipObc05;
+ }
+
+ public short vVipObc06() {
+ return vVipObc06;
+ }
+
+ public short iVipObc06() {
+ return iVipObc06;
+ }
+
+ public short vVipObc07() {
+ return vVipObc07;
+ }
+
+ public short iVipObc07() {
+ return iVipObc07;
+ }
+
+ public short vVipObc08() {
+ return vVipObc08;
+ }
+
+ public short iVipObc08() {
+ return iVipObc08;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long upTime() {
+ return upTime;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class ImtqHk extends KaitaiStruct {
+ public static ImtqHk fromFile(String fileName) throws IOException {
+ return new ImtqHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public ImtqHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.digitaleVoltage = this._io.readU2be();
+ this.analogVoltage = this._io.readU2be();
+ this.digitalCurrent = this._io.readU2be();
+ this.analogCurrent = this._io.readU2be();
+ this.measureCoilXCurrent = this._io.readU2be();
+ this.measureCoilYCurrent = this._io.readU2be();
+ this.measureCoilZCurrent = this._io.readU2be();
+ this.measureCoilXTemperature = this._io.readU2be();
+ this.measureCoilYTemperature = this._io.readU2be();
+ this.measureCoilZTemperature = this._io.readU2be();
+ this.mcuTemperature = this._io.readU2be();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.imtqSystemStateError = this._io.readU1();
+ this.imtqSystemStateConfiguration = this._io.readU1();
+ this.imtqSystemStateUptime = this._io.readU4be();
+ this.rawMagX = this._io.readU4be();
+ this.rawMagY = this._io.readU4be();
+ this.rawMagZ = this._io.readU4be();
+ this.cOILACT = this._io.readU1();
+ }
+
+ private Integer analogCurrentRaw;
+
+ public Integer analogCurrentRaw() {
+ if (this.analogCurrentRaw != null) return this.analogCurrentRaw;
+ int _tmp = (int) (analogCurrent());
+ this.analogCurrentRaw = _tmp;
+ return this.analogCurrentRaw;
+ }
+
+ private Double measureCoilYTemperatureC;
+
+ public Double measureCoilYTemperatureC() {
+ if (this.measureCoilYTemperatureC != null) return this.measureCoilYTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilYTemperatureC = _tmp;
+ return this.measureCoilYTemperatureC;
+ }
+
+ private Integer cOILACTRaw;
+
+ public Integer cOILACTRaw() {
+ if (this.cOILACTRaw != null) return this.cOILACTRaw;
+ int _tmp = (int) (cOILACT());
+ this.cOILACTRaw = _tmp;
+ return this.cOILACTRaw;
+ }
+
+ private Long rawMagZRaw;
+
+ public Long rawMagZRaw() {
+ if (this.rawMagZRaw != null) return this.rawMagZRaw;
+ long _tmp = (long) (rawMagZ());
+ this.rawMagZRaw = _tmp;
+ return this.rawMagZRaw;
+ }
+
+ private Integer digitalCurrentRaw;
+
+ public Integer digitalCurrentRaw() {
+ if (this.digitalCurrentRaw != null) return this.digitalCurrentRaw;
+ int _tmp = (int) (digitalCurrent());
+ this.digitalCurrentRaw = _tmp;
+ return this.digitalCurrentRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Double measureCoilZCurrentMa;
+
+ public Double measureCoilZCurrentMa() {
+ if (this.measureCoilZCurrentMa != null) return this.measureCoilZCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
+ this.measureCoilZCurrentMa = _tmp;
+ return this.measureCoilZCurrentMa;
+ }
+
+ private Double measureCoilZTemperatureC;
+
+ public Double measureCoilZTemperatureC() {
+ if (this.measureCoilZTemperatureC != null) return this.measureCoilZTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilZTemperatureC = _tmp;
+ return this.measureCoilZTemperatureC;
+ }
+
+ private Double measureCoilXCurrentMa;
+
+ public Double measureCoilXCurrentMa() {
+ if (this.measureCoilXCurrentMa != null) return this.measureCoilXCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
+ this.measureCoilXCurrentMa = _tmp;
+ return this.measureCoilXCurrentMa;
+ }
+
+ private Double measureCoilYCurrentMa;
+
+ public Double measureCoilYCurrentMa() {
+ if (this.measureCoilYCurrentMa != null) return this.measureCoilYCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
+ this.measureCoilYCurrentMa = _tmp;
+ return this.measureCoilYCurrentMa;
+ }
+
+ private Double digitaleVoltageV;
+
+ public Double digitaleVoltageV() {
+ if (this.digitaleVoltageV != null) return this.digitaleVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * digitaleVoltage()));
+ this.digitaleVoltageV = _tmp;
+ return this.digitaleVoltageV;
+ }
+
+ private Double analogVoltageV;
+
+ public Double analogVoltageV() {
+ if (this.analogVoltageV != null) return this.analogVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * analogVoltage()));
+ this.analogVoltageV = _tmp;
+ return this.analogVoltageV;
+ }
+
+ private Long rawMagXRaw;
+
+ public Long rawMagXRaw() {
+ if (this.rawMagXRaw != null) return this.rawMagXRaw;
+ long _tmp = (long) (rawMagX());
+ this.rawMagXRaw = _tmp;
+ return this.rawMagXRaw;
+ }
+
+ private Long imtqSystemStateUptimeRaw;
+
+ public Long imtqSystemStateUptimeRaw() {
+ if (this.imtqSystemStateUptimeRaw != null) return this.imtqSystemStateUptimeRaw;
+ long _tmp = (long) (imtqSystemStateUptime());
+ this.imtqSystemStateUptimeRaw = _tmp;
+ return this.imtqSystemStateUptimeRaw;
+ }
+
+ private Double mcuTemperatureC;
+
+ public Double mcuTemperatureC() {
+ if (this.mcuTemperatureC != null) return this.mcuTemperatureC;
+ double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
+ this.mcuTemperatureC = _tmp;
+ return this.mcuTemperatureC;
+ }
+
+ private Integer imtqSystemStateConfigurationRaw;
+
+ public Integer imtqSystemStateConfigurationRaw() {
+ if (this.imtqSystemStateConfigurationRaw != null) return this.imtqSystemStateConfigurationRaw;
+ int _tmp = (int) (imtqSystemStateConfiguration());
+ this.imtqSystemStateConfigurationRaw = _tmp;
+ return this.imtqSystemStateConfigurationRaw;
+ }
+
+ private Double measureCoilXTemperatureC;
+
+ public Double measureCoilXTemperatureC() {
+ if (this.measureCoilXTemperatureC != null) return this.measureCoilXTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilXTemperatureC = _tmp;
+ return this.measureCoilXTemperatureC;
+ }
+
+ private Long rawMagYRaw;
+
+ public Long rawMagYRaw() {
+ if (this.rawMagYRaw != null) return this.rawMagYRaw;
+ long _tmp = (long) (rawMagY());
+ this.rawMagYRaw = _tmp;
+ return this.rawMagYRaw;
+ }
+
+ private Integer imtqSystemStateErrorRaw;
+
+ public Integer imtqSystemStateErrorRaw() {
+ if (this.imtqSystemStateErrorRaw != null) return this.imtqSystemStateErrorRaw;
+ int _tmp = (int) (imtqSystemStateError());
+ this.imtqSystemStateErrorRaw = _tmp;
+ return this.imtqSystemStateErrorRaw;
+ }
+
+ private int digitaleVoltage;
+ private int analogVoltage;
+ private int digitalCurrent;
+ private int analogCurrent;
+ private int measureCoilXCurrent;
+ private int measureCoilYCurrent;
+ private int measureCoilZCurrent;
+ private int measureCoilXTemperature;
+ private int measureCoilYTemperature;
+ private int measureCoilZTemperature;
+ private int mcuTemperature;
+ private int imtqSystemStateMode;
+ private int imtqSystemStateError;
+ private int imtqSystemStateConfiguration;
+ private long imtqSystemStateUptime;
+ private long rawMagX;
+ private long rawMagY;
+ private long rawMagZ;
+ private int cOILACT;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int digitaleVoltage() {
+ return digitaleVoltage;
+ }
+
+ public int analogVoltage() {
+ return analogVoltage;
+ }
+
+ public int digitalCurrent() {
+ return digitalCurrent;
+ }
+
+ public int analogCurrent() {
+ return analogCurrent;
+ }
+
+ public int measureCoilXCurrent() {
+ return measureCoilXCurrent;
+ }
+
+ public int measureCoilYCurrent() {
+ return measureCoilYCurrent;
+ }
+
+ public int measureCoilZCurrent() {
+ return measureCoilZCurrent;
+ }
+
+ public int measureCoilXTemperature() {
+ return measureCoilXTemperature;
+ }
+
+ public int measureCoilYTemperature() {
+ return measureCoilYTemperature;
+ }
+
+ public int measureCoilZTemperature() {
+ return measureCoilZTemperature;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public int imtqSystemStateError() {
+ return imtqSystemStateError;
+ }
+
+ public int imtqSystemStateConfiguration() {
+ return imtqSystemStateConfiguration;
+ }
+
+ public long imtqSystemStateUptime() {
+ return imtqSystemStateUptime;
+ }
+
+ public long rawMagX() {
+ return rawMagX;
+ }
+
+ public long rawMagY() {
+ return rawMagY;
+ }
+
+ public long rawMagZ() {
+ return rawMagZ;
+ }
+
+ public int cOILACT() {
+ return cOILACT;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketSecondaryHeader extends KaitaiStruct {
+ public static PacketSecondaryHeader fromFile(String fileName) throws IOException {
+ return new PacketSecondaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmPacketPusVersionNumber = this._io.readBitsIntBe(4);
+ this.spacecraftTimeReferenceStatus = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.serviceTypeId = this._io.readU1();
+ this.messageSubtypeId = this._io.readU1();
+ this.messageTypeCounter = this._io.readU2be();
+ this.destinationId = this._io.readU2be();
+ this.time = this._io.readU4be();
+ this.dummy1 = this._io.readU2be();
+ this.dummy2 = this._io.readU1();
+ this.sid = this._io.readU1();
+ }
+
+ private long tmPacketPusVersionNumber;
+ private long spacecraftTimeReferenceStatus;
+ private int serviceTypeId;
+ private int messageSubtypeId;
+ private int messageTypeCounter;
+ private int destinationId;
+ private long time;
+ private int dummy1;
+ private int dummy2;
+ private int sid;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long tmPacketPusVersionNumber() {
+ return tmPacketPusVersionNumber;
+ }
+
+ public long spacecraftTimeReferenceStatus() {
+ return spacecraftTimeReferenceStatus;
+ }
+
+ public int serviceTypeId() {
+ return serviceTypeId;
+ }
+
+ public int messageSubtypeId() {
+ return messageSubtypeId;
+ }
+
+ public int messageTypeCounter() {
+ return messageTypeCounter;
+ }
+
+ public int destinationId() {
+ return destinationId;
+ }
+
+ public long time() {
+ return time;
+ }
+
+ public int dummy1() {
+ return dummy1;
+ }
+
+ public int dummy2() {
+ return dummy2;
+ }
+
+ public int sid() {
+ return sid;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MsgOrUnknow extends KaitaiStruct {
+ public static MsgOrUnknow fromFile(String fileName) throws IOException {
+ return new MsgOrUnknow(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MsgOrUnknow(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.data = this._io.readBytesFull();
+ }
+
+ private byte[] dataByte;
+
+ public byte[] dataByte() {
+ if (this.dataByte != null) return this.dataByte;
+ this.dataByte = data();
+ return this.dataByte;
+ }
+
+ private byte[] data;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public byte[] data() {
+ return data;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class CallsignRaw extends KaitaiStruct {
+ public static CallsignRaw fromFile(String fileName) throws IOException {
+ return new CallsignRaw(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public CallsignRaw(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, InspireSat7.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, InspireSat7.Ax25Header _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this._raw__raw_callsignRor = this._io.readBytes(6);
+ this._raw_callsignRor = KaitaiStream.processRotateLeft(_raw__raw_callsignRor, 8 - (1), 1);
+ KaitaiStream _io__raw_callsignRor = new ByteBufferKaitaiStream(_raw_callsignRor);
+ this.callsignRor = new Callsign(_io__raw_callsignRor, this, _root);
+ }
+
+ private Callsign callsignRor;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Header _parent;
+ private byte[] _raw_callsignRor;
+ private byte[] _raw__raw_callsignRor;
+
+ public Callsign callsignRor() {
+ return callsignRor;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Header _parent() {
+ return _parent;
+ }
+
+ public byte[] _raw_callsignRor() {
+ return _raw_callsignRor;
+ }
+
+ public byte[] _raw__raw_callsignRor() {
+ return _raw__raw_callsignRor;
+ }
+ }
+
+ public static class IobcHk extends KaitaiStruct {
+ public static IobcHk fromFile(String fileName) throws IOException {
+ return new IobcHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IobcHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IobcHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IobcHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorEnableStatus = this._io.readU1();
+ this.supervisorUptime = this._io.readU4be();
+ this.iobcUptime = this._io.readU4be();
+ this.iobcResetCount = this._io.readU4be();
+ this.iobcMeasureTemperature = this._io.readU2be();
+ this.iobcMeasure3v3In = this._io.readU2be();
+ this.iobcMeasure3v3 = this._io.readU2be();
+ this.iobcMeasure2vReference = this._io.readU2be();
+ this.iobcMeasure1v8 = this._io.readU2be();
+ this.iobcMeasure1v0 = this._io.readU2be();
+ this.iobcMeasureCurrent3v3 = this._io.readU2be();
+ this.iobcMeasureCurrent1v8 = this._io.readU2be();
+ this.iobcMeasureCurrent1v0 = this._io.readU2be();
+ this.iobcMeasureVoltRtc = this._io.readU2be();
+ this.iobcAdcUpdateFlag = this._io.readU1();
+ this.iobcCrc8 = this._io.readU1();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Double iobcMeasure1v0V;
+
+ public Double iobcMeasure1v0V() {
+ if (this.iobcMeasure1v0V != null) return this.iobcMeasure1v0V;
+ double _tmp = (double) (((2500.0 * iobcMeasure1v0()) / 1023));
+ this.iobcMeasure1v0V = _tmp;
+ return this.iobcMeasure1v0V;
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Integer iobcMeasureTemperatureRaw;
+
+ public Integer iobcMeasureTemperatureRaw() {
+ if (this.iobcMeasureTemperatureRaw != null) return this.iobcMeasureTemperatureRaw;
+ int _tmp = (int) (iobcMeasureTemperature());
+ this.iobcMeasureTemperatureRaw = _tmp;
+ return this.iobcMeasureTemperatureRaw;
+ }
+
+ private Long supervisorUptimeRaw;
+
+ public Long supervisorUptimeRaw() {
+ if (this.supervisorUptimeRaw != null) return this.supervisorUptimeRaw;
+ long _tmp = (long) (supervisorUptime());
+ this.supervisorUptimeRaw = _tmp;
+ return this.supervisorUptimeRaw;
+ }
+
+ private Integer supervisorEnableStatusRaw;
+
+ public Integer supervisorEnableStatusRaw() {
+ if (this.supervisorEnableStatusRaw != null) return this.supervisorEnableStatusRaw;
+ int _tmp = (int) (supervisorEnableStatus());
+ this.supervisorEnableStatusRaw = _tmp;
+ return this.supervisorEnableStatusRaw;
+ }
+
+ private Integer iobcMeasure3v3InRaw;
+
+ public Integer iobcMeasure3v3InRaw() {
+ if (this.iobcMeasure3v3InRaw != null) return this.iobcMeasure3v3InRaw;
+ int _tmp = (int) (iobcMeasure3v3In());
+ this.iobcMeasure3v3InRaw = _tmp;
+ return this.iobcMeasure3v3InRaw;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Integer iobcMeasureCurrent1v0Raw;
+
+ public Integer iobcMeasureCurrent1v0Raw() {
+ if (this.iobcMeasureCurrent1v0Raw != null) return this.iobcMeasureCurrent1v0Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v0());
+ this.iobcMeasureCurrent1v0Raw = _tmp;
+ return this.iobcMeasureCurrent1v0Raw;
+ }
+
+ private Double iobcMeasureVoltRtcV;
+
+ public Double iobcMeasureVoltRtcV() {
+ if (this.iobcMeasureVoltRtcV != null) return this.iobcMeasureVoltRtcV;
+ double _tmp = (double) (((2500.0 * iobcMeasureVoltRtc()) / 1023));
+ this.iobcMeasureVoltRtcV = _tmp;
+ return this.iobcMeasureVoltRtcV;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Integer dummyRaw;
+
+ public Integer dummyRaw() {
+ if (this.dummyRaw != null) return this.dummyRaw;
+ int _tmp = (int) (dummy());
+ this.dummyRaw = _tmp;
+ return this.dummyRaw;
+ }
+
+ private Integer iobcMeasureCurrent1v8Raw;
+
+ public Integer iobcMeasureCurrent1v8Raw() {
+ if (this.iobcMeasureCurrent1v8Raw != null) return this.iobcMeasureCurrent1v8Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v8());
+ this.iobcMeasureCurrent1v8Raw = _tmp;
+ return this.iobcMeasureCurrent1v8Raw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Double iobcMeasure2vReferenceV;
+
+ public Double iobcMeasure2vReferenceV() {
+ if (this.iobcMeasure2vReferenceV != null) return this.iobcMeasure2vReferenceV;
+ double _tmp = (double) (((2500.0 * iobcMeasure2vReference()) / 1023));
+ this.iobcMeasure2vReferenceV = _tmp;
+ return this.iobcMeasure2vReferenceV;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Double iobcMeasure1v8V;
+
+ public Double iobcMeasure1v8V() {
+ if (this.iobcMeasure1v8V != null) return this.iobcMeasure1v8V;
+ double _tmp = (double) (((2500.0 * iobcMeasure1v8()) / 1023));
+ this.iobcMeasure1v8V = _tmp;
+ return this.iobcMeasure1v8V;
+ }
+
+ private Integer iobcAdcUpdateFlagRaw;
+
+ public Integer iobcAdcUpdateFlagRaw() {
+ if (this.iobcAdcUpdateFlagRaw != null) return this.iobcAdcUpdateFlagRaw;
+ int _tmp = (int) (iobcAdcUpdateFlag());
+ this.iobcAdcUpdateFlagRaw = _tmp;
+ return this.iobcAdcUpdateFlagRaw;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Long iobcResetCountRaw;
+
+ public Long iobcResetCountRaw() {
+ if (this.iobcResetCountRaw != null) return this.iobcResetCountRaw;
+ long _tmp = (long) (iobcResetCount());
+ this.iobcResetCountRaw = _tmp;
+ return this.iobcResetCountRaw;
+ }
+
+ private Long iobcUptimeRaw;
+
+ public Long iobcUptimeRaw() {
+ if (this.iobcUptimeRaw != null) return this.iobcUptimeRaw;
+ long _tmp = (long) (iobcUptime());
+ this.iobcUptimeRaw = _tmp;
+ return this.iobcUptimeRaw;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Double iobcMeasure3v3V;
+
+ public Double iobcMeasure3v3V() {
+ if (this.iobcMeasure3v3V != null) return this.iobcMeasure3v3V;
+ double _tmp = (double) (((2500.0 * iobcMeasure3v3()) / 1023));
+ this.iobcMeasure3v3V = _tmp;
+ return this.iobcMeasure3v3V;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Integer iobcCrc8Raw;
+
+ public Integer iobcCrc8Raw() {
+ if (this.iobcCrc8Raw != null) return this.iobcCrc8Raw;
+ int _tmp = (int) (iobcCrc8());
+ this.iobcCrc8Raw = _tmp;
+ return this.iobcCrc8Raw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private Integer iobcMeasureCurrent3v3Raw;
+
+ public Integer iobcMeasureCurrent3v3Raw() {
+ if (this.iobcMeasureCurrent3v3Raw != null) return this.iobcMeasureCurrent3v3Raw;
+ int _tmp = (int) (iobcMeasureCurrent3v3());
+ this.iobcMeasureCurrent3v3Raw = _tmp;
+ return this.iobcMeasureCurrent3v3Raw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorEnableStatus;
+ private long supervisorUptime;
+ private long iobcUptime;
+ private long iobcResetCount;
+ private int iobcMeasureTemperature;
+ private int iobcMeasure3v3In;
+ private int iobcMeasure3v3;
+ private int iobcMeasure2vReference;
+ private int iobcMeasure1v8;
+ private int iobcMeasure1v0;
+ private int iobcMeasureCurrent3v3;
+ private int iobcMeasureCurrent1v8;
+ private int iobcMeasureCurrent1v0;
+ private int iobcMeasureVoltRtc;
+ private int iobcAdcUpdateFlag;
+ private int iobcCrc8;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorEnableStatus() {
+ return supervisorEnableStatus;
+ }
+
+ public long supervisorUptime() {
+ return supervisorUptime;
+ }
+
+ public long iobcUptime() {
+ return iobcUptime;
+ }
+
+ public long iobcResetCount() {
+ return iobcResetCount;
+ }
+
+ public int iobcMeasureTemperature() {
+ return iobcMeasureTemperature;
+ }
+
+ public int iobcMeasure3v3In() {
+ return iobcMeasure3v3In;
+ }
+
+ public int iobcMeasure3v3() {
+ return iobcMeasure3v3;
+ }
+
+ public int iobcMeasure2vReference() {
+ return iobcMeasure2vReference;
+ }
+
+ public int iobcMeasure1v8() {
+ return iobcMeasure1v8;
+ }
+
+ public int iobcMeasure1v0() {
+ return iobcMeasure1v0;
+ }
+
+ public int iobcMeasureCurrent3v3() {
+ return iobcMeasureCurrent3v3;
+ }
+
+ public int iobcMeasureCurrent1v8() {
+ return iobcMeasureCurrent1v8;
+ }
+
+ public int iobcMeasureCurrent1v0() {
+ return iobcMeasureCurrent1v0;
+ }
+
+ public int iobcMeasureVoltRtc() {
+ return iobcMeasureVoltRtc;
+ }
+
+ public int iobcAdcUpdateFlag() {
+ return iobcAdcUpdateFlag;
+ }
+
+ public int iobcCrc8() {
+ return iobcCrc8;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IepsHkStatus extends KaitaiStruct {
+ public static IepsHkStatus fromFile(String fileName) throws IOException {
+ return new IepsHkStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IepsHkStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.hKStid = this._io.readU1();
+ this.hKIvid = this._io.readU1();
+ this.hKRc = this._io.readU1();
+ this.hKBid = this._io.readU1();
+ this.hKCmderr = this._io.readBitsIntBe(4);
+ this.hKStat = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.voltBrdSupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vDistInputRaw = this._io.readU2be();
+ this.iDistInputRaw = this._io.readU2be();
+ this.pDistInputRaw = this._io.readU2be();
+ this.vBattInputRaw = this._io.readU2be();
+ this.iBattInputRaw = this._io.readU2be();
+ this.pBattInputRaw = this._io.readU2be();
+ this.statObcOn = this._io.readU2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.batTemp3Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vObc00 = this._io.readU2be();
+ this.iObc00 = this._io.readU2be();
+ this.pObc00 = this._io.readU2be();
+ this.vObc01 = this._io.readU2be();
+ this.iObc01 = this._io.readU2be();
+ this.pObc01 = this._io.readU2be();
+ this.vObc02 = this._io.readU2be();
+ this.iObc02 = this._io.readU2be();
+ this.pObc02 = this._io.readU2be();
+ this.vObc03 = this._io.readU2be();
+ this.iObc03 = this._io.readU2be();
+ this.pObc03 = this._io.readU2be();
+ this.vObc04 = this._io.readU2be();
+ this.iObc04 = this._io.readU2be();
+ this.pObc04 = this._io.readU2be();
+ this.vObc05 = this._io.readU2be();
+ this.iObc05 = this._io.readU2be();
+ this.pObc05 = this._io.readU2be();
+ this.vObc06 = this._io.readU2be();
+ this.iObc06 = this._io.readU2be();
+ this.pObc06 = this._io.readU2be();
+ this.vObc07 = this._io.readU2be();
+ this.iObc07 = this._io.readU2be();
+ this.pObc07 = this._io.readU2be();
+ this.vObc08 = this._io.readU2be();
+ this.iObc08 = this._io.readU2be();
+ this.pObc08 = this._io.readU2be();
+ this.cc1 = this._io.readBytes(8);
+ this.cc2 = this._io.readBytes(8);
+ this.cc3 = this._io.readBytes(8);
+ this.statusStid = this._io.readU1();
+ this.statusIvid = this._io.readU1();
+ this.statusRc = this._io.readU1();
+ this.statusBid = this._io.readU1();
+ this.statusCmderr = this._io.readBitsIntBe(4);
+ this.statusStat = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.uptime = this._io.readU4be();
+ this.error = this._io.readU2be();
+ this.rcCntPwron = this._io.readU2be();
+ this.rcCntWdg = this._io.readU2be();
+ this.rcCntCmd = this._io.readU2be();
+ this.rcCntMcu = this._io.readU2be();
+ this.rcCntEmlopo = this._io.readU2be();
+ this.prevcmdElapsed = this._io.readU2be();
+ }
+
+ private Integer rcCntPwronRaw;
+
+ public Integer rcCntPwronRaw() {
+ if (this.rcCntPwronRaw != null) return this.rcCntPwronRaw;
+ int _tmp = (int) (rcCntPwron());
+ this.rcCntPwronRaw = _tmp;
+ return this.rcCntPwronRaw;
+ }
+
+ private Double vDistInputRawV;
+
+ public Double vDistInputRawV() {
+ if (this.vDistInputRawV != null) return this.vDistInputRawV;
+ double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vDistInputRawV = _tmp;
+ return this.vDistInputRawV;
+ }
+
+ private Double iObc05Ma;
+
+ public Double iObc05Ma() {
+ if (this.iObc05Ma != null) return this.iObc05Ma;
+ double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
+ this.iObc05Ma = _tmp;
+ return this.iObc05Ma;
+ }
+
+ private Double batTemp3RawT;
+
+ public Double batTemp3RawT() {
+ if (this.batTemp3RawT != null) return this.batTemp3RawT;
+ double _tmp = (double) (((batTemp3Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp3RawT = _tmp;
+ return this.batTemp3RawT;
+ }
+
+ private Double pObc05Mw;
+
+ public Double pObc05Mw() {
+ if (this.pObc05Mw != null) return this.pObc05Mw;
+ double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
+ this.pObc05Mw = _tmp;
+ return this.pObc05Mw;
+ }
+
+ private Integer statObcOnRaw;
+
+ public Integer statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ int _tmp = (int) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Long statusStatRaw;
+
+ public Long statusStatRaw() {
+ if (this.statusStatRaw != null) return this.statusStatRaw;
+ long _tmp = (long) (statusStat());
+ this.statusStatRaw = _tmp;
+ return this.statusStatRaw;
+ }
+
+ private Integer hKRcRaw;
+
+ public Integer hKRcRaw() {
+ if (this.hKRcRaw != null) return this.hKRcRaw;
+ int _tmp = (int) (hKRc());
+ this.hKRcRaw = _tmp;
+ return this.hKRcRaw;
+ }
+
+ private Double pObc00Mw;
+
+ public Double pObc00Mw() {
+ if (this.pObc00Mw != null) return this.pObc00Mw;
+ double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
+ this.pObc00Mw = _tmp;
+ return this.pObc00Mw;
+ }
+
+ private Double vObc02V;
+
+ public Double vObc02V() {
+ if (this.vObc02V != null) return this.vObc02V;
+ double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
+ this.vObc02V = _tmp;
+ return this.vObc02V;
+ }
+
+ private Double pObc06Mw;
+
+ public Double pObc06Mw() {
+ if (this.pObc06Mw != null) return this.pObc06Mw;
+ double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
+ this.pObc06Mw = _tmp;
+ return this.pObc06Mw;
+ }
+
+ private Double vObc08V;
+
+ public Double vObc08V() {
+ if (this.vObc08V != null) return this.vObc08V;
+ double _tmp = (double) ((((vObc08() * 125.0) / 128.0) / 1000.0));
+ this.vObc08V = _tmp;
+ return this.vObc08V;
+ }
+
+ private Integer modeRaw;
+
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Double vObc07V;
+
+ public Double vObc07V() {
+ if (this.vObc07V != null) return this.vObc07V;
+ double _tmp = (double) ((((vObc07() * 125.0) / 128.0) / 1000.0));
+ this.vObc07V = _tmp;
+ return this.vObc07V;
+ }
+
+ private Long statusCmderrRaw;
+
+ public Long statusCmderrRaw() {
+ if (this.statusCmderrRaw != null) return this.statusCmderrRaw;
+ long _tmp = (long) (statusCmderr());
+ this.statusCmderrRaw = _tmp;
+ return this.statusCmderrRaw;
+ }
+
+ private Double pObc01Mw;
+
+ public Double pObc01Mw() {
+ if (this.pObc01Mw != null) return this.pObc01Mw;
+ double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
+ this.pObc01Mw = _tmp;
+ return this.pObc01Mw;
+ }
+
+ private Integer rcCntCmdRaw;
+
+ public Integer rcCntCmdRaw() {
+ if (this.rcCntCmdRaw != null) return this.rcCntCmdRaw;
+ int _tmp = (int) (rcCntCmd());
+ this.rcCntCmdRaw = _tmp;
+ return this.rcCntCmdRaw;
+ }
+
+ private Integer statObcOcfRaw;
+
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long uptimeRaw;
+
+ public Long uptimeRaw() {
+ if (this.uptimeRaw != null) return this.uptimeRaw;
+ long _tmp = (long) (uptime());
+ this.uptimeRaw = _tmp;
+ return this.uptimeRaw;
+ }
+
+ private Double voltBrdSupRawV;
+
+ public Double voltBrdSupRawV() {
+ if (this.voltBrdSupRawV != null) return this.voltBrdSupRawV;
+ double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
+ this.voltBrdSupRawV = _tmp;
+ return this.voltBrdSupRawV;
+ }
+
+ private Double iObc00Ma;
+
+ public Double iObc00Ma() {
+ if (this.iObc00Ma != null) return this.iObc00Ma;
+ double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
+ this.iObc00Ma = _tmp;
+ return this.iObc00Ma;
+ }
+
+ private Double iObc04Ma;
+
+ public Double iObc04Ma() {
+ if (this.iObc04Ma != null) return this.iObc04Ma;
+ double _tmp = (double) (((iObc04() * 3125.0) / 20480.0));
+ this.iObc04Ma = _tmp;
+ return this.iObc04Ma;
+ }
+
+ private Integer rcCntWdgRaw;
+
+ public Integer rcCntWdgRaw() {
+ if (this.rcCntWdgRaw != null) return this.rcCntWdgRaw;
+ int _tmp = (int) (rcCntWdg());
+ this.rcCntWdgRaw = _tmp;
+ return this.rcCntWdgRaw;
+ }
+
+ private Double pDistInputRawMw;
+
+ public Double pDistInputRawMw() {
+ if (this.pDistInputRawMw != null) return this.pDistInputRawMw;
+ double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
+ this.pDistInputRawMw = _tmp;
+ return this.pDistInputRawMw;
+ }
+
+ private Double pObc07Mw;
+
+ public Double pObc07Mw() {
+ if (this.pObc07Mw != null) return this.pObc07Mw;
+ double _tmp = (double) (((pObc07() * 3125.0) / 6400.0));
+ this.pObc07Mw = _tmp;
+ return this.pObc07Mw;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Double vObc06V;
+
+ public Double vObc06V() {
+ if (this.vObc06V != null) return this.vObc06V;
+ double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
+ this.vObc06V = _tmp;
+ return this.vObc06V;
+ }
+
+ private Double iObc03Ma;
+
+ public Double iObc03Ma() {
+ if (this.iObc03Ma != null) return this.iObc03Ma;
+ double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
+ this.iObc03Ma = _tmp;
+ return this.iObc03Ma;
+ }
+
+ private Double vObc03V;
+
+ public Double vObc03V() {
+ if (this.vObc03V != null) return this.vObc03V;
+ double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
+ this.vObc03V = _tmp;
+ return this.vObc03V;
+ }
+
+ private Integer hKBidRaw;
+
+ public Integer hKBidRaw() {
+ if (this.hKBidRaw != null) return this.hKBidRaw;
+ int _tmp = (int) (hKBid());
+ this.hKBidRaw = _tmp;
+ return this.hKBidRaw;
+ }
+
+ private Double iBattInputRawMa;
+
+ public Double iBattInputRawMa() {
+ if (this.iBattInputRawMa != null) return this.iBattInputRawMa;
+ double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
+ this.iBattInputRawMa = _tmp;
+ return this.iBattInputRawMa;
+ }
+
+ private Integer hKIvidRaw;
+
+ public Integer hKIvidRaw() {
+ if (this.hKIvidRaw != null) return this.hKIvidRaw;
+ int _tmp = (int) (hKIvid());
+ this.hKIvidRaw = _tmp;
+ return this.hKIvidRaw;
+ }
+
+ private Double iObc02Ma;
+
+ public Double iObc02Ma() {
+ if (this.iObc02Ma != null) return this.iObc02Ma;
+ double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
+ this.iObc02Ma = _tmp;
+ return this.iObc02Ma;
+ }
+
+ private Integer statusStidRaw;
+
+ public Integer statusStidRaw() {
+ if (this.statusStidRaw != null) return this.statusStidRaw;
+ int _tmp = (int) (statusStid());
+ this.statusStidRaw = _tmp;
+ return this.statusStidRaw;
+ }
+
+ private Double iObc06Ma;
+
+ public Double iObc06Ma() {
+ if (this.iObc06Ma != null) return this.iObc06Ma;
+ double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
+ this.iObc06Ma = _tmp;
+ return this.iObc06Ma;
+ }
+
+ private Integer statusRcRaw;
+
+ public Integer statusRcRaw() {
+ if (this.statusRcRaw != null) return this.statusRcRaw;
+ int _tmp = (int) (statusRc());
+ this.statusRcRaw = _tmp;
+ return this.statusRcRaw;
+ }
+
+ private byte[] cc2Byte;
+
+ public byte[] cc2Byte() {
+ if (this.cc2Byte != null) return this.cc2Byte;
+ this.cc2Byte = cc2();
+ return this.cc2Byte;
+ }
+
+ private Integer errorRaw;
+
+ public Integer errorRaw() {
+ if (this.errorRaw != null) return this.errorRaw;
+ int _tmp = (int) (error());
+ this.errorRaw = _tmp;
+ return this.errorRaw;
+ }
+
+ private Double iDistInputRawMa;
+
+ public Double iDistInputRawMa() {
+ if (this.iDistInputRawMa != null) return this.iDistInputRawMa;
+ double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
+ this.iDistInputRawMa = _tmp;
+ return this.iDistInputRawMa;
+ }
+
+ private Double vObc01V;
+
+ public Double vObc01V() {
+ if (this.vObc01V != null) return this.vObc01V;
+ double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
+ this.vObc01V = _tmp;
+ return this.vObc01V;
+ }
+
+ private Double pBattInputRawMw;
+
+ public Double pBattInputRawMw() {
+ if (this.pBattInputRawMw != null) return this.pBattInputRawMw;
+ double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
+ this.pBattInputRawMw = _tmp;
+ return this.pBattInputRawMw;
+ }
+
+ private Double iObc01Ma;
+
+ public Double iObc01Ma() {
+ if (this.iObc01Ma != null) return this.iObc01Ma;
+ double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
+ this.iObc01Ma = _tmp;
+ return this.iObc01Ma;
+ }
+
+ private Double tempRawT;
+
+ public Double tempRawT() {
+ if (this.tempRawT != null) return this.tempRawT;
+ double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
+ this.tempRawT = _tmp;
+ return this.tempRawT;
+ }
+
+ private byte[] cc1Byte;
+
+ public byte[] cc1Byte() {
+ if (this.cc1Byte != null) return this.cc1Byte;
+ this.cc1Byte = cc1();
+ return this.cc1Byte;
+ }
+
+ private Integer rcCntEmlopoRaw;
+
+ public Integer rcCntEmlopoRaw() {
+ if (this.rcCntEmlopoRaw != null) return this.rcCntEmlopoRaw;
+ int _tmp = (int) (rcCntEmlopo());
+ this.rcCntEmlopoRaw = _tmp;
+ return this.rcCntEmlopoRaw;
+ }
+
+ private Integer rcCntMcuRaw;
+
+ public Integer rcCntMcuRaw() {
+ if (this.rcCntMcuRaw != null) return this.rcCntMcuRaw;
+ int _tmp = (int) (rcCntMcu());
+ this.rcCntMcuRaw = _tmp;
+ return this.rcCntMcuRaw;
+ }
+
+ private Integer statusBidRaw;
+
+ public Integer statusBidRaw() {
+ if (this.statusBidRaw != null) return this.statusBidRaw;
+ int _tmp = (int) (statusBid());
+ this.statusBidRaw = _tmp;
+ return this.statusBidRaw;
+ }
+
+ private Integer statusIvidRaw;
+
+ public Integer statusIvidRaw() {
+ if (this.statusIvidRaw != null) return this.statusIvidRaw;
+ int _tmp = (int) (statusIvid());
+ this.statusIvidRaw = _tmp;
+ return this.statusIvidRaw;
+ }
+
+ private Double pObc03Mw;
+
+ public Double pObc03Mw() {
+ if (this.pObc03Mw != null) return this.pObc03Mw;
+ double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
+ this.pObc03Mw = _tmp;
+ return this.pObc03Mw;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private byte[] cc3Byte;
+
+ public byte[] cc3Byte() {
+ if (this.cc3Byte != null) return this.cc3Byte;
+ this.cc3Byte = cc3();
+ return this.cc3Byte;
+ }
+
+ private Double vObc05V;
+
+ public Double vObc05V() {
+ if (this.vObc05V != null) return this.vObc05V;
+ double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
+ this.vObc05V = _tmp;
+ return this.vObc05V;
+ }
+
+ private Double vObc00V;
+
+ public Double vObc00V() {
+ if (this.vObc00V != null) return this.vObc00V;
+ double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
+ this.vObc00V = _tmp;
+ return this.vObc00V;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Long hKCmderrRaw;
+
+ public Long hKCmderrRaw() {
+ if (this.hKCmderrRaw != null) return this.hKCmderrRaw;
+ long _tmp = (long) (hKCmderr());
+ this.hKCmderrRaw = _tmp;
+ return this.hKCmderrRaw;
+ }
+
+ private Double batTemp2RawT;
+
+ public Double batTemp2RawT() {
+ if (this.batTemp2RawT != null) return this.batTemp2RawT;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2RawT = _tmp;
+ return this.batTemp2RawT;
+ }
+
+ private Double iObc07Ma;
+
+ public Double iObc07Ma() {
+ if (this.iObc07Ma != null) return this.iObc07Ma;
+ double _tmp = (double) (((iObc07() * 3125.0) / 20480.0));
+ this.iObc07Ma = _tmp;
+ return this.iObc07Ma;
+ }
+
+ private Double vBattInputRawV;
+
+ public Double vBattInputRawV() {
+ if (this.vBattInputRawV != null) return this.vBattInputRawV;
+ double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vBattInputRawV = _tmp;
+ return this.vBattInputRawV;
+ }
+
+ private Integer resetCauseRaw;
+
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Integer hKStidRaw;
+
+ public Integer hKStidRaw() {
+ if (this.hKStidRaw != null) return this.hKStidRaw;
+ int _tmp = (int) (hKStid());
+ this.hKStidRaw = _tmp;
+ return this.hKStidRaw;
+ }
+
+ private Double pObc02Mw;
+
+ public Double pObc02Mw() {
+ if (this.pObc02Mw != null) return this.pObc02Mw;
+ double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
+ this.pObc02Mw = _tmp;
+ return this.pObc02Mw;
+ }
+
+ private Long hKStatRaw;
+
+ public Long hKStatRaw() {
+ if (this.hKStatRaw != null) return this.hKStatRaw;
+ long _tmp = (long) (hKStat());
+ this.hKStatRaw = _tmp;
+ return this.hKStatRaw;
+ }
+
+ private Double iObc08Ma;
+
+ public Double iObc08Ma() {
+ if (this.iObc08Ma != null) return this.iObc08Ma;
+ double _tmp = (double) (((iObc08() * 3125.0) / 20480.0));
+ this.iObc08Ma = _tmp;
+ return this.iObc08Ma;
+ }
+
+ private Double pObc04Mw;
+
+ public Double pObc04Mw() {
+ if (this.pObc04Mw != null) return this.pObc04Mw;
+ double _tmp = (double) (((pObc04() * 3125.0) / 6400.0));
+ this.pObc04Mw = _tmp;
+ return this.pObc04Mw;
+ }
+
+ private Integer confRaw;
+
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Double vObc04V;
+
+ public Double vObc04V() {
+ if (this.vObc04V != null) return this.vObc04V;
+ double _tmp = (double) ((((vObc04() * 125.0) / 128.0) / 1000.0));
+ this.vObc04V = _tmp;
+ return this.vObc04V;
+ }
+
+ private Double pObc08Mw;
+
+ public Double pObc08Mw() {
+ if (this.pObc08Mw != null) return this.pObc08Mw;
+ double _tmp = (double) (((pObc08() * 3125.0) / 6400.0));
+ this.pObc08Mw = _tmp;
+ return this.pObc08Mw;
+ }
+
+ private Integer prevcmdElapsedRaw;
+
+ public Integer prevcmdElapsedRaw() {
+ if (this.prevcmdElapsedRaw != null) return this.prevcmdElapsedRaw;
+ int _tmp = (int) (prevcmdElapsed());
+ this.prevcmdElapsedRaw = _tmp;
+ return this.prevcmdElapsedRaw;
+ }
+
+ private int hKStid;
+ private int hKIvid;
+ private int hKRc;
+ private int hKBid;
+ private long hKCmderr;
+ private long hKStat;
+ private int voltBrdSupRaw;
+ private int tempRaw;
+ private int vDistInputRaw;
+ private int iDistInputRaw;
+ private int pDistInputRaw;
+ private int vBattInputRaw;
+ private int iBattInputRaw;
+ private int pBattInputRaw;
+ private int statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int batTemp3Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private int vObc00;
+ private int iObc00;
+ private int pObc00;
+ private int vObc01;
+ private int iObc01;
+ private int pObc01;
+ private int vObc02;
+ private int iObc02;
+ private int pObc02;
+ private int vObc03;
+ private int iObc03;
+ private int pObc03;
+ private int vObc04;
+ private int iObc04;
+ private int pObc04;
+ private int vObc05;
+ private int iObc05;
+ private int pObc05;
+ private int vObc06;
+ private int iObc06;
+ private int pObc06;
+ private int vObc07;
+ private int iObc07;
+ private int pObc07;
+ private int vObc08;
+ private int iObc08;
+ private int pObc08;
+ private byte[] cc1;
+ private byte[] cc2;
+ private byte[] cc3;
+ private int statusStid;
+ private int statusIvid;
+ private int statusRc;
+ private int statusBid;
+ private long statusCmderr;
+ private long statusStat;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long uptime;
+ private int error;
+ private int rcCntPwron;
+ private int rcCntWdg;
+ private int rcCntCmd;
+ private int rcCntMcu;
+ private int rcCntEmlopo;
+ private int prevcmdElapsed;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int hKStid() {
+ return hKStid;
+ }
+
+ public int hKIvid() {
+ return hKIvid;
+ }
+
+ public int hKRc() {
+ return hKRc;
+ }
+
+ public int hKBid() {
+ return hKBid;
+ }
+
+ public long hKCmderr() {
+ return hKCmderr;
+ }
+
+ public long hKStat() {
+ return hKStat;
+ }
+
+ public int voltBrdSupRaw() {
+ return voltBrdSupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public int vDistInputRaw() {
+ return vDistInputRaw;
+ }
+
+ public int iDistInputRaw() {
+ return iDistInputRaw;
+ }
+
+ public int pDistInputRaw() {
+ return pDistInputRaw;
+ }
+
+ public int vBattInputRaw() {
+ return vBattInputRaw;
+ }
+
+ public int iBattInputRaw() {
+ return iBattInputRaw;
+ }
+
+ public int pBattInputRaw() {
+ return pBattInputRaw;
+ }
+
+ public int statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int batTemp3Raw() {
+ return batTemp3Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public int vObc00() {
+ return vObc00;
+ }
+
+ public int iObc00() {
+ return iObc00;
+ }
+
+ public int pObc00() {
+ return pObc00;
+ }
+
+ public int vObc01() {
+ return vObc01;
+ }
+
+ public int iObc01() {
+ return iObc01;
+ }
+
+ public int pObc01() {
+ return pObc01;
+ }
+
+ public int vObc02() {
+ return vObc02;
+ }
+
+ public int iObc02() {
+ return iObc02;
+ }
+
+ public int pObc02() {
+ return pObc02;
+ }
+
+ public int vObc03() {
+ return vObc03;
+ }
+
+ public int iObc03() {
+ return iObc03;
+ }
+
+ public int pObc03() {
+ return pObc03;
+ }
+
+ public int vObc04() {
+ return vObc04;
+ }
+
+ public int iObc04() {
+ return iObc04;
+ }
+
+ public int pObc04() {
+ return pObc04;
+ }
+
+ public int vObc05() {
+ return vObc05;
+ }
+
+ public int iObc05() {
+ return iObc05;
+ }
+
+ public int pObc05() {
+ return pObc05;
+ }
+
+ public int vObc06() {
+ return vObc06;
+ }
+
+ public int iObc06() {
+ return iObc06;
+ }
+
+ public int pObc06() {
+ return pObc06;
+ }
+
+ public int vObc07() {
+ return vObc07;
+ }
+
+ public int iObc07() {
+ return iObc07;
+ }
+
+ public int pObc07() {
+ return pObc07;
+ }
+
+ public int vObc08() {
+ return vObc08;
+ }
+
+ public int iObc08() {
+ return iObc08;
+ }
+
+ public int pObc08() {
+ return pObc08;
+ }
+
+ public byte[] cc1() {
+ return cc1;
+ }
+
+ public byte[] cc2() {
+ return cc2;
+ }
+
+ public byte[] cc3() {
+ return cc3;
+ }
+
+ public int statusStid() {
+ return statusStid;
+ }
+
+ public int statusIvid() {
+ return statusIvid;
+ }
+
+ public int statusRc() {
+ return statusRc;
+ }
+
+ public int statusBid() {
+ return statusBid;
+ }
+
+ public long statusCmderr() {
+ return statusCmderr;
+ }
+
+ public long statusStat() {
+ return statusStat;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long uptime() {
+ return uptime;
+ }
+
+ public int error() {
+ return error;
+ }
+
+ public int rcCntPwron() {
+ return rcCntPwron;
+ }
+
+ public int rcCntWdg() {
+ return rcCntWdg;
+ }
+
+ public int rcCntCmd() {
+ return rcCntCmd;
+ }
+
+ public int rcCntMcu() {
+ return rcCntMcu;
+ }
+
+ public int rcCntEmlopo() {
+ return rcCntEmlopo;
+ }
+
+ public int prevcmdElapsed() {
+ return prevcmdElapsed;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IobcStatus extends KaitaiStruct {
+ public static IobcStatus fromFile(String fileName) throws IOException {
+ return new IobcStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IobcStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IobcStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IobcStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorIndexOfSubsystem = this._io.readU1();
+ this.supervisorMajorVersion = this._io.readU1();
+ this.supervisorMinorVersion = this._io.readU1();
+ this.supervisorPatchVersion = this._io.readU1();
+ this.supervisorGitHeadVersion = this._io.readU4be();
+ this.supervisorSerialNumber = this._io.readU2be();
+ this.compilationInformation = this._io.readBytes(19);
+ this.clockSpeed = this._io.readU1();
+ this.codeType = this._io.readU1();
+ this.crc8 = this._io.readU1();
+ this.swMmode = this._io.readU1();
+ this.lastResetReason = this._io.readU1();
+ this.reserved = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.reserved2 = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU4be();
+ this.nbTcPingSinceFirstStart = this._io.readU4be();
+ this.nbBadTcSinceFirstStart = this._io.readU4be();
+ this.nbTmInSdcard = this._io.readU4be();
+ this.sdcardStatus = this._io.readU1();
+ this.sdcardLastError = this._io.readU4be();
+ this.oldTimeTMInSdcard = this._io.readBitsIntBe(56);
+ this.newTimeTMInSdcard = this._io.readBitsIntBe(56);
+ }
+
+ private Long newTimeTMInSdcardRaw;
+
+ public Long newTimeTMInSdcardRaw() {
+ if (this.newTimeTMInSdcardRaw != null) return this.newTimeTMInSdcardRaw;
+ long _tmp = (long) (newTimeTMInSdcard());
+ this.newTimeTMInSdcardRaw = _tmp;
+ return this.newTimeTMInSdcardRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Integer clockSpeedRaw;
+
+ public Integer clockSpeedRaw() {
+ if (this.clockSpeedRaw != null) return this.clockSpeedRaw;
+ int _tmp = (int) (clockSpeed());
+ this.clockSpeedRaw = _tmp;
+ return this.clockSpeedRaw;
+ }
+
+ private Integer lastResetReasonRaw;
+
+ public Integer lastResetReasonRaw() {
+ if (this.lastResetReasonRaw != null) return this.lastResetReasonRaw;
+ int _tmp = (int) (lastResetReason());
+ this.lastResetReasonRaw = _tmp;
+ return this.lastResetReasonRaw;
+ }
+
+ private Integer supervisorIndexOfSubsystemRaw;
+
+ public Integer supervisorIndexOfSubsystemRaw() {
+ if (this.supervisorIndexOfSubsystemRaw != null) return this.supervisorIndexOfSubsystemRaw;
+ int _tmp = (int) (supervisorIndexOfSubsystem());
+ this.supervisorIndexOfSubsystemRaw = _tmp;
+ return this.supervisorIndexOfSubsystemRaw;
+ }
+
+ private Integer crc8Raw;
+
+ public Integer crc8Raw() {
+ if (this.crc8Raw != null) return this.crc8Raw;
+ int _tmp = (int) (crc8());
+ this.crc8Raw = _tmp;
+ return this.crc8Raw;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Long supervisorGitHeadVersionRaw;
+
+ public Long supervisorGitHeadVersionRaw() {
+ if (this.supervisorGitHeadVersionRaw != null) return this.supervisorGitHeadVersionRaw;
+ long _tmp = (long) (supervisorGitHeadVersion());
+ this.supervisorGitHeadVersionRaw = _tmp;
+ return this.supervisorGitHeadVersionRaw;
+ }
+
+ private Integer supervisorMajorVersionRaw;
+
+ public Integer supervisorMajorVersionRaw() {
+ if (this.supervisorMajorVersionRaw != null) return this.supervisorMajorVersionRaw;
+ int _tmp = (int) (supervisorMajorVersion());
+ this.supervisorMajorVersionRaw = _tmp;
+ return this.supervisorMajorVersionRaw;
+ }
+
+ private byte[] compilationInformationByte;
+
+ public byte[] compilationInformationByte() {
+ if (this.compilationInformationByte != null) return this.compilationInformationByte;
+ this.compilationInformationByte = compilationInformation();
+ return this.compilationInformationByte;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer supervisorMinorVersionRaw;
+
+ public Integer supervisorMinorVersionRaw() {
+ if (this.supervisorMinorVersionRaw != null) return this.supervisorMinorVersionRaw;
+ int _tmp = (int) (supervisorMinorVersion());
+ this.supervisorMinorVersionRaw = _tmp;
+ return this.supervisorMinorVersionRaw;
+ }
+
+ private Integer sdcardStatusRaw;
+
+ public Integer sdcardStatusRaw() {
+ if (this.sdcardStatusRaw != null) return this.sdcardStatusRaw;
+ int _tmp = (int) (sdcardStatus());
+ this.sdcardStatusRaw = _tmp;
+ return this.sdcardStatusRaw;
+ }
+
+ private Integer supervisorPatchVersionRaw;
+
+ public Integer supervisorPatchVersionRaw() {
+ if (this.supervisorPatchVersionRaw != null) return this.supervisorPatchVersionRaw;
+ int _tmp = (int) (supervisorPatchVersion());
+ this.supervisorPatchVersionRaw = _tmp;
+ return this.supervisorPatchVersionRaw;
+ }
+
+ private Integer reservedRaw;
+
+ public Integer reservedRaw() {
+ if (this.reservedRaw != null) return this.reservedRaw;
+ int _tmp = (int) (reserved());
+ this.reservedRaw = _tmp;
+ return this.reservedRaw;
+ }
+
+ private Integer supervisorSerialNumberRaw;
+
+ public Integer supervisorSerialNumberRaw() {
+ if (this.supervisorSerialNumberRaw != null) return this.supervisorSerialNumberRaw;
+ int _tmp = (int) (supervisorSerialNumber());
+ this.supervisorSerialNumberRaw = _tmp;
+ return this.supervisorSerialNumberRaw;
+ }
+
+ private Long nbTmInSdcardRaw;
+
+ public Long nbTmInSdcardRaw() {
+ if (this.nbTmInSdcardRaw != null) return this.nbTmInSdcardRaw;
+ long _tmp = (long) (nbTmInSdcard());
+ this.nbTmInSdcardRaw = _tmp;
+ return this.nbTmInSdcardRaw;
+ }
+
+ private Integer reserved2Raw;
+
+ public Integer reserved2Raw() {
+ if (this.reserved2Raw != null) return this.reserved2Raw;
+ int _tmp = (int) (reserved2());
+ this.reserved2Raw = _tmp;
+ return this.reserved2Raw;
+ }
+
+ private Integer swMmodeRaw;
+
+ public Integer swMmodeRaw() {
+ if (this.swMmodeRaw != null) return this.swMmodeRaw;
+ int _tmp = (int) (swMmode());
+ this.swMmodeRaw = _tmp;
+ return this.swMmodeRaw;
+ }
+
+ private Integer codeTypeRaw;
+
+ public Integer codeTypeRaw() {
+ if (this.codeTypeRaw != null) return this.codeTypeRaw;
+ int _tmp = (int) (codeType());
+ this.codeTypeRaw = _tmp;
+ return this.codeTypeRaw;
+ }
+
+ private Long oldTimeTMInSdcardRaw;
+
+ public Long oldTimeTMInSdcardRaw() {
+ if (this.oldTimeTMInSdcardRaw != null) return this.oldTimeTMInSdcardRaw;
+ long _tmp = (long) (oldTimeTMInSdcard());
+ this.oldTimeTMInSdcardRaw = _tmp;
+ return this.oldTimeTMInSdcardRaw;
+ }
+
+ private Integer dummydummy;
+
+ public Integer dummydummy() {
+ if (this.dummydummy != null) return this.dummydummy;
+ int _tmp = (int) (dummy());
+ this.dummydummy = _tmp;
+ return this.dummydummy;
+ }
+
+ private Long nbTcSinceFirstStartRaw;
+
+ public Long nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ long _tmp = (long) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Long nbTcPingSinceFirstStartRaw;
+
+ public Long nbTcPingSinceFirstStartRaw() {
+ if (this.nbTcPingSinceFirstStartRaw != null) return this.nbTcPingSinceFirstStartRaw;
+ long _tmp = (long) (nbTcPingSinceFirstStart());
+ this.nbTcPingSinceFirstStartRaw = _tmp;
+ return this.nbTcPingSinceFirstStartRaw;
+ }
+
+ private Long sdcardLastErrorRaw;
+
+ public Long sdcardLastErrorRaw() {
+ if (this.sdcardLastErrorRaw != null) return this.sdcardLastErrorRaw;
+ long _tmp = (long) (sdcardLastError());
+ this.sdcardLastErrorRaw = _tmp;
+ return this.sdcardLastErrorRaw;
+ }
+
+ private Long nbBadTcSinceFirstStartRaw;
+
+ public Long nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ long _tmp = (long) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorIndexOfSubsystem;
+ private int supervisorMajorVersion;
+ private int supervisorMinorVersion;
+ private int supervisorPatchVersion;
+ private long supervisorGitHeadVersion;
+ private int supervisorSerialNumber;
+ private byte[] compilationInformation;
+ private int clockSpeed;
+ private int codeType;
+ private int crc8;
+ private int swMmode;
+ private int lastResetReason;
+ private int reserved;
+ private int nbReset;
+ private int reserved2;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTcSinceFirstStart;
+ private long nbTcPingSinceFirstStart;
+ private long nbBadTcSinceFirstStart;
+ private long nbTmInSdcard;
+ private int sdcardStatus;
+ private long sdcardLastError;
+ private long oldTimeTMInSdcard;
+ private long newTimeTMInSdcard;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorIndexOfSubsystem() {
+ return supervisorIndexOfSubsystem;
+ }
+
+ public int supervisorMajorVersion() {
+ return supervisorMajorVersion;
+ }
+
+ public int supervisorMinorVersion() {
+ return supervisorMinorVersion;
+ }
+
+ public int supervisorPatchVersion() {
+ return supervisorPatchVersion;
+ }
+
+ public long supervisorGitHeadVersion() {
+ return supervisorGitHeadVersion;
+ }
+
+ public int supervisorSerialNumber() {
+ return supervisorSerialNumber;
+ }
+
+ public byte[] compilationInformation() {
+ return compilationInformation;
+ }
+
+ public int clockSpeed() {
+ return clockSpeed;
+ }
+
+ public int codeType() {
+ return codeType;
+ }
+
+ public int crc8() {
+ return crc8;
+ }
+
+ public int swMmode() {
+ return swMmode;
+ }
+
+ public int lastResetReason() {
+ return lastResetReason;
+ }
+
+ public int reserved() {
+ return reserved;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int reserved2() {
+ return reserved2;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public long nbTcPingSinceFirstStart() {
+ return nbTcPingSinceFirstStart;
+ }
+
+ public long nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long nbTmInSdcard() {
+ return nbTmInSdcard;
+ }
+
+ public int sdcardStatus() {
+ return sdcardStatus;
+ }
+
+ public long sdcardLastError() {
+ return sdcardLastError;
+ }
+
+ public long oldTimeTMInSdcard() {
+ return oldTimeTMInSdcard;
+ }
+
+ public long newTimeTMInSdcard() {
+ return newTimeTMInSdcard;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AntsHk extends KaitaiStruct {
+ public static AntsHk fromFile(String fileName) throws IOException {
+ return new AntsHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AntsHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AntsHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AntsHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmtcSideAAntsTemperature = this._io.readU2be();
+ this.tmtcSideAAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideAAntsUptime = this._io.readU4be();
+ this.tmtcSideBAntsTemperature = this._io.readU2be();
+ this.tmtcSideBAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideBAntsUptime = this._io.readU2be();
+ this.ionoSideAAntsTemperature = this._io.readU2be();
+ this.ionoSideAAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideAAntsUptime = this._io.readU4be();
+ this.ionoSideBAntsTemperature = this._io.readU2be();
+ this.ionoSideBAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideBAntsUptime = this._io.readU2be();
+ }
+
+ private Double ionoSideBAntsTemperatureC;
+
+ public Double ionoSideBAntsTemperatureC() {
+ if (this.ionoSideBAntsTemperatureC != null) return this.ionoSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (ionoSideBAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideBAntsTemperatureC = _tmp;
+ return this.ionoSideBAntsTemperatureC;
+ }
+
+ private Long ionoSideAAntsUptimeS;
+
+ public Long ionoSideAAntsUptimeS() {
+ if (this.ionoSideAAntsUptimeS != null) return this.ionoSideAAntsUptimeS;
+ long _tmp = (long) (ionoSideAAntsUptime());
+ this.ionoSideAAntsUptimeS = _tmp;
+ return this.ionoSideAAntsUptimeS;
+ }
+
+ private Long tmtcSideAAntsUptimeS;
+
+ public Long tmtcSideAAntsUptimeS() {
+ if (this.tmtcSideAAntsUptimeS != null) return this.tmtcSideAAntsUptimeS;
+ long _tmp = (long) (tmtcSideAAntsUptime());
+ this.tmtcSideAAntsUptimeS = _tmp;
+ return this.tmtcSideAAntsUptimeS;
+ }
+
+ private Integer tmtcSideBAntsUptimeS;
+
+ public Integer tmtcSideBAntsUptimeS() {
+ if (this.tmtcSideBAntsUptimeS != null) return this.tmtcSideBAntsUptimeS;
+ int _tmp = (int) (tmtcSideBAntsUptime());
+ this.tmtcSideBAntsUptimeS = _tmp;
+ return this.tmtcSideBAntsUptimeS;
+ }
+
+ private Double tmtcSideBAntsTemperatureC;
+
+ public Double tmtcSideBAntsTemperatureC() {
+ if (this.tmtcSideBAntsTemperatureC != null) return this.tmtcSideBAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideBAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideBAntsTemperatureC = _tmp;
+ return this.tmtcSideBAntsTemperatureC;
+ }
+
+ private Integer ionoSideBAntsDeploymentStatusRaw;
+
+ public Integer ionoSideBAntsDeploymentStatusRaw() {
+ if (this.ionoSideBAntsDeploymentStatusRaw != null)
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideBAntsDeploymentStatus());
+ this.ionoSideBAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ }
+
+ private Integer ionoSideBAntsUptimeS;
+
+ public Integer ionoSideBAntsUptimeS() {
+ if (this.ionoSideBAntsUptimeS != null) return this.ionoSideBAntsUptimeS;
+ int _tmp = (int) (ionoSideBAntsUptime());
+ this.ionoSideBAntsUptimeS = _tmp;
+ return this.ionoSideBAntsUptimeS;
+ }
+
+ private Double ionoSideAAntsTemperatureC;
+
+ public Double ionoSideAAntsTemperatureC() {
+ if (this.ionoSideAAntsTemperatureC != null) return this.ionoSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (ionoSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.ionoSideAAntsTemperatureC = _tmp;
+ return this.ionoSideAAntsTemperatureC;
+ }
+
+ private Integer tmtcSideBAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideBAntsDeploymentStatusRaw() {
+ if (this.tmtcSideBAntsDeploymentStatusRaw != null)
+ return this.tmtcSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideBAntsDeploymentStatus());
+ this.tmtcSideBAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideBAntsDeploymentStatusRaw;
+ }
+
+ private Integer tmtcSideAAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideAAntsDeploymentStatusRaw() {
+ if (this.tmtcSideAAntsDeploymentStatusRaw != null)
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideAAntsDeploymentStatus());
+ this.tmtcSideAAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ }
+
+ private Double tmtcSideAAntsTemperatureC;
+
+ public Double tmtcSideAAntsTemperatureC() {
+ if (this.tmtcSideAAntsTemperatureC != null) return this.tmtcSideAAntsTemperatureC;
+ double _tmp =
+ (double) (((-0.091496562 * (tmtcSideAAntsTemperature() / 1023.0)) + 191.4554974));
+ this.tmtcSideAAntsTemperatureC = _tmp;
+ return this.tmtcSideAAntsTemperatureC;
+ }
+
+ private Integer ionoSideAAntsDeploymentStatusRaw;
+
+ public Integer ionoSideAAntsDeploymentStatusRaw() {
+ if (this.ionoSideAAntsDeploymentStatusRaw != null)
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideAAntsDeploymentStatus());
+ this.ionoSideAAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ }
+
+ private int tmtcSideAAntsTemperature;
+ private int tmtcSideAAntsDeploymentStatus;
+ private long tmtcSideAAntsUptime;
+ private int tmtcSideBAntsTemperature;
+ private int tmtcSideBAntsDeploymentStatus;
+ private int tmtcSideBAntsUptime;
+ private int ionoSideAAntsTemperature;
+ private int ionoSideAAntsDeploymentStatus;
+ private long ionoSideAAntsUptime;
+ private int ionoSideBAntsTemperature;
+ private int ionoSideBAntsDeploymentStatus;
+ private int ionoSideBAntsUptime;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int tmtcSideAAntsTemperature() {
+ return tmtcSideAAntsTemperature;
+ }
+
+ public int tmtcSideAAntsDeploymentStatus() {
+ return tmtcSideAAntsDeploymentStatus;
+ }
+
+ public long tmtcSideAAntsUptime() {
+ return tmtcSideAAntsUptime;
+ }
+
+ public int tmtcSideBAntsTemperature() {
+ return tmtcSideBAntsTemperature;
+ }
+
+ public int tmtcSideBAntsDeploymentStatus() {
+ return tmtcSideBAntsDeploymentStatus;
+ }
+
+ public int tmtcSideBAntsUptime() {
+ return tmtcSideBAntsUptime;
+ }
+
+ public int ionoSideAAntsTemperature() {
+ return ionoSideAAntsTemperature;
+ }
+
+ public int ionoSideAAntsDeploymentStatus() {
+ return ionoSideAAntsDeploymentStatus;
+ }
+
+ public long ionoSideAAntsUptime() {
+ return ionoSideAAntsUptime;
+ }
+
+ public int ionoSideBAntsTemperature() {
+ return ionoSideBAntsTemperature;
+ }
+
+ public int ionoSideBAntsDeploymentStatus() {
+ return ionoSideBAntsDeploymentStatus;
+ }
+
+ public int ionoSideBAntsUptime() {
+ return ionoSideBAntsUptime;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AntsStatus extends KaitaiStruct {
+ public static AntsStatus fromFile(String fileName) throws IOException {
+ return new AntsStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AntsStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AntsStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AntsStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmtcSideADeploymentCountAntenna1 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna2 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna3 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna4 = this._io.readU1();
+ this.tmtcSideADeploymentTimeAntenna1 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna2 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna3 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna4 = this._io.readU2be();
+ this.tmtcSideBDeploymentCountAntenna1 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna2 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna3 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna4 = this._io.readU1();
+ this.tmtcSideBDeploymentTimeAntenna1 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna2 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna3 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna4 = this._io.readU2be();
+ this.ionoSideADeploymentCountAntenna1 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna2 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna3 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna4 = this._io.readU1();
+ this.ionoSideADeploymentTimeAntenna1 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna2 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna3 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna4 = this._io.readU2be();
+ this.ionoSideBDeploymentCountAntenna1 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna2 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna3 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna4 = this._io.readU1();
+ this.ionoSideBDeploymentTimeAntenna1 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna2 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna3 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna4 = this._io.readU2be();
+ }
+
+ private Integer ionoSideADeploymentCountAntenna3Raw;
+
+ public Integer ionoSideADeploymentCountAntenna3Raw() {
+ if (this.ionoSideADeploymentCountAntenna3Raw != null)
+ return this.ionoSideADeploymentCountAntenna3Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna3());
+ this.ionoSideADeploymentCountAntenna3Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna2Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna2Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna2Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna2Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna2());
+ this.ionoSideBDeploymentTimeAntenna2Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna4Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna4Raw() {
+ if (this.ionoSideADeploymentTimeAntenna4Raw != null)
+ return this.ionoSideADeploymentTimeAntenna4Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna4());
+ this.ionoSideADeploymentTimeAntenna4Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna3Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna3Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna3Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna3Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna3());
+ this.ionoSideBDeploymentTimeAntenna3Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna3Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna3Raw() {
+ if (this.ionoSideBDeploymentCountAntenna3Raw != null)
+ return this.ionoSideBDeploymentCountAntenna3Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna3());
+ this.ionoSideBDeploymentCountAntenna3Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna3Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna1Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna1Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna1Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna1Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna1());
+ this.tmtcSideBDeploymentTimeAntenna1Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna2Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna2Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna2Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna2Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna2());
+ this.tmtcSideBDeploymentCountAntenna2Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna3Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna3Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna3Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna3Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna3());
+ this.tmtcSideBDeploymentCountAntenna3Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna3Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna3Raw() {
+ if (this.tmtcSideADeploymentCountAntenna3Raw != null)
+ return this.tmtcSideADeploymentCountAntenna3Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna3());
+ this.tmtcSideADeploymentCountAntenna3Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna4Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna4Raw() {
+ if (this.ionoSideBDeploymentCountAntenna4Raw != null)
+ return this.ionoSideBDeploymentCountAntenna4Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna4());
+ this.ionoSideBDeploymentCountAntenna4Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna2Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna2Raw() {
+ if (this.ionoSideBDeploymentCountAntenna2Raw != null)
+ return this.ionoSideBDeploymentCountAntenna2Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna2());
+ this.ionoSideBDeploymentCountAntenna2Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna3Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna3Raw() {
+ if (this.ionoSideADeploymentTimeAntenna3Raw != null)
+ return this.ionoSideADeploymentTimeAntenna3Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna3());
+ this.ionoSideADeploymentTimeAntenna3Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna1Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna1Raw() {
+ if (this.tmtcSideADeploymentCountAntenna1Raw != null)
+ return this.tmtcSideADeploymentCountAntenna1Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna1());
+ this.tmtcSideADeploymentCountAntenna1Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna1Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna2Raw;
+
+ public Integer ionoSideADeploymentCountAntenna2Raw() {
+ if (this.ionoSideADeploymentCountAntenna2Raw != null)
+ return this.ionoSideADeploymentCountAntenna2Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna2());
+ this.ionoSideADeploymentCountAntenna2Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna4Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna4Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna4Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna4Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna4());
+ this.tmtcSideBDeploymentCountAntenna4Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna4Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna3Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna3Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna3Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna3Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna3());
+ this.tmtcSideADeploymentTimeAntenna3Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna1Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna1Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna1Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna1Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna1());
+ this.tmtcSideADeploymentTimeAntenna1Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna4Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna4Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna4Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna4Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna4());
+ this.tmtcSideBDeploymentTimeAntenna4Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna1Raw;
+
+ public Integer ionoSideADeploymentCountAntenna1Raw() {
+ if (this.ionoSideADeploymentCountAntenna1Raw != null)
+ return this.ionoSideADeploymentCountAntenna1Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna1());
+ this.ionoSideADeploymentCountAntenna1Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna2Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna2Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna2Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna2Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna2());
+ this.tmtcSideBDeploymentTimeAntenna2Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna1Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna1Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna1Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna1Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna1());
+ this.tmtcSideBDeploymentCountAntenna1Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna3Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna3Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna3Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna3Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna3());
+ this.tmtcSideBDeploymentTimeAntenna3Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna3Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna2Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna2Raw() {
+ if (this.ionoSideADeploymentTimeAntenna2Raw != null)
+ return this.ionoSideADeploymentTimeAntenna2Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna2());
+ this.ionoSideADeploymentTimeAntenna2Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna2Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna2Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna2Raw() {
+ if (this.tmtcSideADeploymentCountAntenna2Raw != null)
+ return this.tmtcSideADeploymentCountAntenna2Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna2());
+ this.tmtcSideADeploymentCountAntenna2Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna1Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna1Raw() {
+ if (this.ionoSideADeploymentTimeAntenna1Raw != null)
+ return this.ionoSideADeploymentTimeAntenna1Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna1());
+ this.ionoSideADeploymentTimeAntenna1Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna1Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna1Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna1Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna1Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna1Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna1());
+ this.ionoSideBDeploymentTimeAntenna1Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna4Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna4Raw() {
+ if (this.tmtcSideADeploymentCountAntenna4Raw != null)
+ return this.tmtcSideADeploymentCountAntenna4Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna4());
+ this.tmtcSideADeploymentCountAntenna4Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna4Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna4Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna4Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna4Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna4Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna4());
+ this.tmtcSideADeploymentTimeAntenna4Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna4Raw;
+
+ public Integer ionoSideADeploymentCountAntenna4Raw() {
+ if (this.ionoSideADeploymentCountAntenna4Raw != null)
+ return this.ionoSideADeploymentCountAntenna4Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna4());
+ this.ionoSideADeploymentCountAntenna4Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna4Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna4Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna4Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna4Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna4());
+ this.ionoSideBDeploymentTimeAntenna4Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna1Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna1Raw() {
+ if (this.ionoSideBDeploymentCountAntenna1Raw != null)
+ return this.ionoSideBDeploymentCountAntenna1Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna1());
+ this.ionoSideBDeploymentCountAntenna1Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna2Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna2Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna2Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna2Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna2());
+ this.tmtcSideADeploymentTimeAntenna2Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna2Raw;
+ }
+
+ private int tmtcSideADeploymentCountAntenna1;
+ private int tmtcSideADeploymentCountAntenna2;
+ private int tmtcSideADeploymentCountAntenna3;
+ private int tmtcSideADeploymentCountAntenna4;
+ private int tmtcSideADeploymentTimeAntenna1;
+ private int tmtcSideADeploymentTimeAntenna2;
+ private int tmtcSideADeploymentTimeAntenna3;
+ private int tmtcSideADeploymentTimeAntenna4;
+ private int tmtcSideBDeploymentCountAntenna1;
+ private int tmtcSideBDeploymentCountAntenna2;
+ private int tmtcSideBDeploymentCountAntenna3;
+ private int tmtcSideBDeploymentCountAntenna4;
+ private int tmtcSideBDeploymentTimeAntenna1;
+ private int tmtcSideBDeploymentTimeAntenna2;
+ private int tmtcSideBDeploymentTimeAntenna3;
+ private int tmtcSideBDeploymentTimeAntenna4;
+ private int ionoSideADeploymentCountAntenna1;
+ private int ionoSideADeploymentCountAntenna2;
+ private int ionoSideADeploymentCountAntenna3;
+ private int ionoSideADeploymentCountAntenna4;
+ private int ionoSideADeploymentTimeAntenna1;
+ private int ionoSideADeploymentTimeAntenna2;
+ private int ionoSideADeploymentTimeAntenna3;
+ private int ionoSideADeploymentTimeAntenna4;
+ private int ionoSideBDeploymentCountAntenna1;
+ private int ionoSideBDeploymentCountAntenna2;
+ private int ionoSideBDeploymentCountAntenna3;
+ private int ionoSideBDeploymentCountAntenna4;
+ private int ionoSideBDeploymentTimeAntenna1;
+ private int ionoSideBDeploymentTimeAntenna2;
+ private int ionoSideBDeploymentTimeAntenna3;
+ private int ionoSideBDeploymentTimeAntenna4;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int tmtcSideADeploymentCountAntenna1() {
+ return tmtcSideADeploymentCountAntenna1;
+ }
+
+ public int tmtcSideADeploymentCountAntenna2() {
+ return tmtcSideADeploymentCountAntenna2;
+ }
+
+ public int tmtcSideADeploymentCountAntenna3() {
+ return tmtcSideADeploymentCountAntenna3;
+ }
+
+ public int tmtcSideADeploymentCountAntenna4() {
+ return tmtcSideADeploymentCountAntenna4;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna1() {
+ return tmtcSideADeploymentTimeAntenna1;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna2() {
+ return tmtcSideADeploymentTimeAntenna2;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna3() {
+ return tmtcSideADeploymentTimeAntenna3;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna4() {
+ return tmtcSideADeploymentTimeAntenna4;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna1() {
+ return tmtcSideBDeploymentCountAntenna1;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna2() {
+ return tmtcSideBDeploymentCountAntenna2;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna3() {
+ return tmtcSideBDeploymentCountAntenna3;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna4() {
+ return tmtcSideBDeploymentCountAntenna4;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna1() {
+ return tmtcSideBDeploymentTimeAntenna1;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna2() {
+ return tmtcSideBDeploymentTimeAntenna2;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna3() {
+ return tmtcSideBDeploymentTimeAntenna3;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna4() {
+ return tmtcSideBDeploymentTimeAntenna4;
+ }
+
+ public int ionoSideADeploymentCountAntenna1() {
+ return ionoSideADeploymentCountAntenna1;
+ }
+
+ public int ionoSideADeploymentCountAntenna2() {
+ return ionoSideADeploymentCountAntenna2;
+ }
+
+ public int ionoSideADeploymentCountAntenna3() {
+ return ionoSideADeploymentCountAntenna3;
+ }
+
+ public int ionoSideADeploymentCountAntenna4() {
+ return ionoSideADeploymentCountAntenna4;
+ }
+
+ public int ionoSideADeploymentTimeAntenna1() {
+ return ionoSideADeploymentTimeAntenna1;
+ }
+
+ public int ionoSideADeploymentTimeAntenna2() {
+ return ionoSideADeploymentTimeAntenna2;
+ }
+
+ public int ionoSideADeploymentTimeAntenna3() {
+ return ionoSideADeploymentTimeAntenna3;
+ }
+
+ public int ionoSideADeploymentTimeAntenna4() {
+ return ionoSideADeploymentTimeAntenna4;
+ }
+
+ public int ionoSideBDeploymentCountAntenna1() {
+ return ionoSideBDeploymentCountAntenna1;
+ }
+
+ public int ionoSideBDeploymentCountAntenna2() {
+ return ionoSideBDeploymentCountAntenna2;
+ }
+
+ public int ionoSideBDeploymentCountAntenna3() {
+ return ionoSideBDeploymentCountAntenna3;
+ }
+
+ public int ionoSideBDeploymentCountAntenna4() {
+ return ionoSideBDeploymentCountAntenna4;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna1() {
+ return ionoSideBDeploymentTimeAntenna1;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna2() {
+ return ionoSideBDeploymentTimeAntenna2;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna3() {
+ return ionoSideBDeploymentTimeAntenna3;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna4() {
+ return ionoSideBDeploymentTimeAntenna4;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ private Ax25Frame ax25Frame;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ /** @see Source */
+ public Ax25Frame ax25Frame() {
+ return ax25Frame;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+}
diff --git a/ModuleInspireSat7/src/main/java/org/josast/inspiresat7/kgenerated/InspireSat7.java b/ModuleInspireSat7/src/main/java/org/josast/inspiresat7/kgenerated/InspireSat7.java
new file mode 100644
index 0000000000000000000000000000000000000000..7e935333a4ee8f5eaf8b1e0063f70b8cc685297d
--- /dev/null
+++ b/ModuleInspireSat7/src/main/java/org/josast/inspiresat7/kgenerated/InspireSat7.java
@@ -0,0 +1,7393 @@
+// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
+
+package org.josast.inspiresat7.kgenerated;
+
+import io.kaitai.struct.ByteBufferKaitaiStream;
+import io.kaitai.struct.KaitaiStruct;
+import io.kaitai.struct.KaitaiStream;
+import java.io.IOException;
+import java.nio.charset.Charset;
+
+/**
+ * : InspireSat7 telemetry description file : Version 0.0.1 : : reference documentation :
+ * UVSQsat-Beacon description for web site : : This ksy file is used for different automatic code
+ * generation : - ksy file to programming language thanks o ksy compiler - ksy file to graphwiz
+ * document thnaks to ksy compiler - Ksy file to java textual display files thanks to JOSAST
+ * GeneratePOJOfromKSY tool (experimental) - Ksy file to FXML files and associated java files file
+ * thanks to JOSAST GeneratePOJOfromKSY tool (experimental)
+ *
+ * : Writing rules should be respected (see JOSAST project) : - for interpreted value, variable
+ * should finish with : _raw if no interpretation is done : _c, _ma _v _dbm _mw according to the
+ * interpreted value : - the name of the interpreted value should be close to the displaed name (to
+ * limit rework) : _c, _ma _v _dbm _mw are automaticaly converted to (C) (mA) (dbm) (mW) : :field
+ * dest_callsign: ax25_frame.ax25_header.dest_callsign_raw.callsign_ror.callsign :field
+ * src_callsign: ax25_frame.ax25_header.src_callsign_raw.callsign_ror.callsign :field src_ssid:
+ * ax25_frame.ax25_header.src_ssid_raw.ssid :field dest_ssid:
+ * ax25_frame.ax25_header.dest_ssid_raw.ssid :field ctl: ax25_frame.ax25_header.ctl :field pid:
+ * ax25_frame.payload.pid
+ */
+public class InspireSat7 extends KaitaiStruct {
+ public static InspireSat7 fromFile(String fileName) throws IOException {
+ return new InspireSat7(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public InspireSat7(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public InspireSat7(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public InspireSat7(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root == null ? this : _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ax25Frame = new Ax25Frame(this._io, this, _root);
+ }
+
+ public static class Ax25Frame extends KaitaiStruct {
+ public static Ax25Frame fromFile(String fileName) throws IOException {
+ return new Ax25Frame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Ax25Frame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Ax25Frame(KaitaiStream _io, InspireSat7 _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Ax25Frame(KaitaiStream _io, InspireSat7 _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ax25Header = new Ax25Header(this._io, this, _root);
+ switch ((ax25Header().ctl() & 19)) {
+ case 0:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 3:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.payload = new UiFrame(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ case 2:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.payload = new IFrame(this._io, this, _root);
+ break;
+ }
+ }
+ }
+
+ private Ax25Header ax25Header;
+ private KaitaiStruct payload;
+ private InspireSat7 _root;
+ private InspireSat7 _parent;
+
+ public Ax25Header ax25Header() {
+ return ax25Header;
+ }
+
+ public KaitaiStruct payload() {
+ return payload;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7 _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Ax25Header extends KaitaiStruct {
+ public static Ax25Header fromFile(String fileName) throws IOException {
+ return new Ax25Header(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Ax25Header(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Ax25Header(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.destCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.destSsidRaw = new SsidMask(this._io, this, _root);
+ this.srcCallsignRaw = new CallsignRaw(this._io, this, _root);
+ this.srcSsidRaw = new SsidMask(this._io, this, _root);
+ this.ctl = this._io.readU1();
+ }
+
+ private CallsignRaw destCallsignRaw;
+ private SsidMask destSsidRaw;
+ private CallsignRaw srcCallsignRaw;
+ private SsidMask srcSsidRaw;
+ private int ctl;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public CallsignRaw destCallsignRaw() {
+ return destCallsignRaw;
+ }
+
+ public SsidMask destSsidRaw() {
+ return destSsidRaw;
+ }
+
+ public CallsignRaw srcCallsignRaw() {
+ return srcCallsignRaw;
+ }
+
+ public SsidMask srcSsidRaw() {
+ return srcSsidRaw;
+ }
+
+ public int ctl() {
+ return ctl;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class UiFrame extends KaitaiStruct {
+ public static UiFrame fromFile(String fileName) throws IOException {
+ return new UiFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public UiFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public UiFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public UiFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.packetPrimaryHeader = new PacketPrimaryHeader(this._io, this, _root);
+ this.packetSecondaryHeader = new PacketSecondaryHeader(this._io, this, _root);
+ switch (packetSecondaryHeader().sid()) {
+ case 14:
+ {
+ this.tlm = new AmsatAscii(this._io, this, _root);
+ break;
+ }
+ case 17:
+ {
+ this.tlm = new IobcStatus(this._io, this, _root);
+ break;
+ }
+ case 24:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ case 20:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ case 19:
+ {
+ this.tlm = new LvStatus(this._io, this, _root);
+ break;
+ }
+ case 23:
+ {
+ this.tlm = new ImtqHk(this._io, this, _root);
+ break;
+ }
+ case 15:
+ {
+ this.tlm = new Beacon(this._io, this, _root);
+ break;
+ }
+ case 21:
+ {
+ this.tlm = new IepsHkStatus(this._io, this, _root);
+ break;
+ }
+ case 16:
+ {
+ this.tlm = new AntsHk(this._io, this, _root);
+ break;
+ }
+ case 18:
+ {
+ this.tlm = new IobcHk(this._io, this, _root);
+ break;
+ }
+ case 25:
+ {
+ this.tlm = new AntsStatus(this._io, this, _root);
+ break;
+ }
+ case 22:
+ {
+ this.tlm = new TrxvuHk(this._io, this, _root);
+ break;
+ }
+ default:
+ {
+ this.tlm = new MsgOrUnknow(this._io, this, _root);
+ break;
+ }
+ }
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private PacketPrimaryHeader packetPrimaryHeader;
+ private PacketSecondaryHeader packetSecondaryHeader;
+ private KaitaiStruct tlm;
+ private byte[] ax25Info;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public PacketPrimaryHeader packetPrimaryHeader() {
+ return packetPrimaryHeader;
+ }
+
+ public PacketSecondaryHeader packetSecondaryHeader() {
+ return packetSecondaryHeader;
+ }
+
+ public KaitaiStruct tlm() {
+ return tlm;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Callsign extends KaitaiStruct {
+ public static Callsign fromFile(String fileName) throws IOException {
+ return new Callsign(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Callsign(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Callsign(KaitaiStream _io, InspireSat7.CallsignRaw _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Callsign(KaitaiStream _io, InspireSat7.CallsignRaw _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.callsign = new String(this._io.readBytes(6), Charset.forName("ASCII"));
+ }
+
+ private String callsign;
+ private InspireSat7 _root;
+ private InspireSat7.CallsignRaw _parent;
+
+ public String callsign() {
+ return callsign;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.CallsignRaw _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketPrimaryHeader extends KaitaiStruct {
+ public static PacketPrimaryHeader fromFile(String fileName) throws IOException {
+ return new PacketPrimaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketPrimaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.packetVersionNumber = this._io.readBitsIntBe(3);
+ this.packetIdPacketType = this._io.readBitsIntBe(1) != 0;
+ this.packetIdSecondaryHeaderFlag = this._io.readBitsIntBe(1) != 0;
+ this.packetIdApplicationProcessId = this._io.readBitsIntBe(11);
+ this.packetSequenceControlSecquenceFlag = this._io.readBitsIntBe(2);
+ this.packetSequenceControlCountOrName = this._io.readBitsIntBe(14);
+ this._io.alignToByte();
+ this.packetDataLength = this._io.readU2be();
+ }
+
+ private long packetVersionNumber;
+ private boolean packetIdPacketType;
+ private boolean packetIdSecondaryHeaderFlag;
+ private long packetIdApplicationProcessId;
+ private long packetSequenceControlSecquenceFlag;
+ private long packetSequenceControlCountOrName;
+ private int packetDataLength;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long packetVersionNumber() {
+ return packetVersionNumber;
+ }
+
+ public boolean packetIdPacketType() {
+ return packetIdPacketType;
+ }
+
+ public boolean packetIdSecondaryHeaderFlag() {
+ return packetIdSecondaryHeaderFlag;
+ }
+
+ public long packetIdApplicationProcessId() {
+ return packetIdApplicationProcessId;
+ }
+
+ public long packetSequenceControlSecquenceFlag() {
+ return packetSequenceControlSecquenceFlag;
+ }
+
+ public long packetSequenceControlCountOrName() {
+ return packetSequenceControlCountOrName;
+ }
+
+ public int packetDataLength() {
+ return packetDataLength;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardAllScience extends KaitaiStruct {
+ public static MainboardAllScience fromFile(String fileName) throws IOException {
+ return new MainboardAllScience(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardAllScience(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardAllScience(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardScienceTime = this._io.readU4be();
+ this.teachWearOn = this._io.readU1();
+ this.frequenceOfAcquisitions = this._io.readU2be();
+ this.gain = this._io.readU4be();
+ this.numberOfAcquisitionCommanded = this._io.readU2be();
+ this.numberOfRealAcquisition = this._io.readU2be();
+ this.hkPlus5v = this._io.readU4be();
+ this.hkMinus5v = this._io.readU4be();
+ this.hkMinus5vPolar = this._io.readU4be();
+ this.hkTempAdc = this._io.readU4be();
+ this.hkFeePlusXVref = this._io.readU4be();
+ this.hkFeeMinusXVref = this._io.readU4be();
+ this.hkFeePlusYVref = this._io.readU4be();
+ this.hkFeeMinusYVref = this._io.readU4be();
+ this.feePlusXErs1Signal = this._io.readU4be();
+ this.feePlusXErs1Temperature = this._io.readU4be();
+ this.feePlusXErs2Signal = this._io.readU4be();
+ this.feePlusXErs2Temperature = this._io.readU4be();
+ this.feePlusXErs3Signal = this._io.readU4be();
+ this.feePlusXErs3Temperature = this._io.readU4be();
+ this.feePlusXUvsSignal = this._io.readU4be();
+ this.feeMinusXErs1Signal = this._io.readU4be();
+ this.feeMinusXErs1Temperature = this._io.readU4be();
+ this.feeMinusXErs2Signal = this._io.readU4be();
+ this.feeMinusXErs2Temperature = this._io.readU4be();
+ this.feeMinusXErs3Signal = this._io.readU4be();
+ this.feeMinusXErs3Temperature = this._io.readU4be();
+ this.feeMinusXUvsSignal = this._io.readU4be();
+ this.feePlusYErs1Signal = this._io.readU4be();
+ this.feePlusYErs1Temperature = this._io.readU4be();
+ this.feePlusYErs2Signal = this._io.readU4be();
+ this.feePlusYErs2Temperature = this._io.readU4be();
+ this.feePlusYErs3Signal = this._io.readU4be();
+ this.feePlusYErs3Temperature = this._io.readU4be();
+ this.feePlusYUvsSignal = this._io.readU4be();
+ this.feeMinusYErs1Signal = this._io.readU4be();
+ this.feeMinusYErs1Temperature = this._io.readU4be();
+ this.feeMinusYErs2Signal = this._io.readU4be();
+ this.feeMinusYErs2Temperature = this._io.readU4be();
+ this.feeMinusYErs3Signal = this._io.readU4be();
+ this.feeMinusYErs3Temperature = this._io.readU4be();
+ this.feeMinusYUvsSignal = this._io.readU4be();
+ this.teachwearAccX = this._io.readU2be();
+ this.teachwearAccY = this._io.readU2be();
+ this.teachwearAccZ = this._io.readU2be();
+ this.teachwearDegC = this._io.readU2be();
+ this.teachwearGyroX = this._io.readU2be();
+ this.teachwearGyroY = this._io.readU2be();
+ this.teachwearGyroZ = this._io.readU2be();
+ this.teachwearMagnX = this._io.readU2be();
+ this.teachwearMagnY = this._io.readU2be();
+ this.teachwearMagnZ = this._io.readU2be();
+ this.teachwearState = this._io.readU1();
+ this.teachwearResetReason = this._io.readU1();
+ this.teachwearCrc = this._io.readU2be();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ }
+
+ private Long feePlusYErs1SignalRaw;
+
+ public Long feePlusYErs1SignalRaw() {
+ if (this.feePlusYErs1SignalRaw != null) return this.feePlusYErs1SignalRaw;
+ long _tmp = (long) (feePlusYErs1Signal());
+ this.feePlusYErs1SignalRaw = _tmp;
+ return this.feePlusYErs1SignalRaw;
+ }
+
+ private Long feeMinusYErs1TemperatureRaw;
+
+ public Long feeMinusYErs1TemperatureRaw() {
+ if (this.feeMinusYErs1TemperatureRaw != null) return this.feeMinusYErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs1Temperature());
+ this.feeMinusYErs1TemperatureRaw = _tmp;
+ return this.feeMinusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearCRCRaw;
+
+ public Integer teachwearCRCRaw() {
+ if (this.teachwearCRCRaw != null) return this.teachwearCRCRaw;
+ int _tmp = (int) (teachwearCrc());
+ this.teachwearCRCRaw = _tmp;
+ return this.teachwearCRCRaw;
+ }
+
+ private Long feePlusXErs2SignalRaw;
+
+ public Long feePlusXErs2SignalRaw() {
+ if (this.feePlusXErs2SignalRaw != null) return this.feePlusXErs2SignalRaw;
+ long _tmp = (long) (feePlusXErs2Signal());
+ this.feePlusXErs2SignalRaw = _tmp;
+ return this.feePlusXErs2SignalRaw;
+ }
+
+ private Long hkFeePlusXVrefRaw;
+
+ public Long hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ long _tmp = (long) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Long feeMinusYUvsSignalRaw;
+
+ public Long feeMinusYUvsSignalRaw() {
+ if (this.feeMinusYUvsSignalRaw != null) return this.feeMinusYUvsSignalRaw;
+ long _tmp = (long) (feeMinusYUvsSignal());
+ this.feeMinusYUvsSignalRaw = _tmp;
+ return this.feeMinusYUvsSignalRaw;
+ }
+
+ private Integer teachwearMagnYRaw;
+
+ public Integer teachwearMagnYRaw() {
+ if (this.teachwearMagnYRaw != null) return this.teachwearMagnYRaw;
+ int _tmp = (int) (teachwearMagnY());
+ this.teachwearMagnYRaw = _tmp;
+ return this.teachwearMagnYRaw;
+ }
+
+ private Long hkMinus5vPolarRaw;
+
+ public Long hkMinus5vPolarRaw() {
+ if (this.hkMinus5vPolarRaw != null) return this.hkMinus5vPolarRaw;
+ long _tmp = (long) (hkMinus5vPolar());
+ this.hkMinus5vPolarRaw = _tmp;
+ return this.hkMinus5vPolarRaw;
+ }
+
+ private Integer teachwearGyroZRaw;
+
+ public Integer teachwearGyroZRaw() {
+ if (this.teachwearGyroZRaw != null) return this.teachwearGyroZRaw;
+ int _tmp = (int) (teachwearGyroZ());
+ this.teachwearGyroZRaw = _tmp;
+ return this.teachwearGyroZRaw;
+ }
+
+ private Long feePlusXErs2TemperatureRaw;
+
+ public Long feePlusXErs2TemperatureRaw() {
+ if (this.feePlusXErs2TemperatureRaw != null) return this.feePlusXErs2TemperatureRaw;
+ long _tmp = (long) (feePlusXErs2Temperature());
+ this.feePlusXErs2TemperatureRaw = _tmp;
+ return this.feePlusXErs2TemperatureRaw;
+ }
+
+ private Long feeMinusYErs3TemperatureRaw;
+
+ public Long feeMinusYErs3TemperatureRaw() {
+ if (this.feeMinusYErs3TemperatureRaw != null) return this.feeMinusYErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs3Temperature());
+ this.feeMinusYErs3TemperatureRaw = _tmp;
+ return this.feeMinusYErs3TemperatureRaw;
+ }
+
+ private Long feePlusYUvsSignalRaw;
+
+ public Long feePlusYUvsSignalRaw() {
+ if (this.feePlusYUvsSignalRaw != null) return this.feePlusYUvsSignalRaw;
+ long _tmp = (long) (feePlusYUvsSignal());
+ this.feePlusYUvsSignalRaw = _tmp;
+ return this.feePlusYUvsSignalRaw;
+ }
+
+ private Long hkTempAdcRaw;
+
+ public Long hkTempAdcRaw() {
+ if (this.hkTempAdcRaw != null) return this.hkTempAdcRaw;
+ long _tmp = (long) (hkTempAdc());
+ this.hkTempAdcRaw = _tmp;
+ return this.hkTempAdcRaw;
+ }
+
+ private Long feePlusXErs3TemperatureRaw;
+
+ public Long feePlusXErs3TemperatureRaw() {
+ if (this.feePlusXErs3TemperatureRaw != null) return this.feePlusXErs3TemperatureRaw;
+ long _tmp = (long) (feePlusXErs3Temperature());
+ this.feePlusXErs3TemperatureRaw = _tmp;
+ return this.feePlusXErs3TemperatureRaw;
+ }
+
+ private Long hkFeePlusYVrefRaw;
+
+ public Long hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ long _tmp = (long) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Long feeMinusYErs3SignalRaw;
+
+ public Long feeMinusYErs3SignalRaw() {
+ if (this.feeMinusYErs3SignalRaw != null) return this.feeMinusYErs3SignalRaw;
+ long _tmp = (long) (feeMinusYErs3Signal());
+ this.feeMinusYErs3SignalRaw = _tmp;
+ return this.feeMinusYErs3SignalRaw;
+ }
+
+ private Long feeMinusXErs2SignalRaw;
+
+ public Long feeMinusXErs2SignalRaw() {
+ if (this.feeMinusXErs2SignalRaw != null) return this.feeMinusXErs2SignalRaw;
+ long _tmp = (long) (feeMinusXErs2Signal());
+ this.feeMinusXErs2SignalRaw = _tmp;
+ return this.feeMinusXErs2SignalRaw;
+ }
+
+ private Integer numberOfAcquisitionCommandedRaw;
+
+ public Integer numberOfAcquisitionCommandedRaw() {
+ if (this.numberOfAcquisitionCommandedRaw != null) return this.numberOfAcquisitionCommandedRaw;
+ int _tmp = (int) (numberOfAcquisitionCommanded());
+ this.numberOfAcquisitionCommandedRaw = _tmp;
+ return this.numberOfAcquisitionCommandedRaw;
+ }
+
+ private Long gainRaw;
+
+ public Long gainRaw() {
+ if (this.gainRaw != null) return this.gainRaw;
+ long _tmp = (long) (gain());
+ this.gainRaw = _tmp;
+ return this.gainRaw;
+ }
+
+ private Long feeMinusYErs1SignalRaw;
+
+ public Long feeMinusYErs1SignalRaw() {
+ if (this.feeMinusYErs1SignalRaw != null) return this.feeMinusYErs1SignalRaw;
+ long _tmp = (long) (feeMinusYErs1Signal());
+ this.feeMinusYErs1SignalRaw = _tmp;
+ return this.feeMinusYErs1SignalRaw;
+ }
+
+ private Integer teachwearAccZRaw;
+
+ public Integer teachwearAccZRaw() {
+ if (this.teachwearAccZRaw != null) return this.teachwearAccZRaw;
+ int _tmp = (int) (teachwearAccZ());
+ this.teachwearAccZRaw = _tmp;
+ return this.teachwearAccZRaw;
+ }
+
+ private Long mainboardScienceTimeRaw;
+
+ public Long mainboardScienceTimeRaw() {
+ if (this.mainboardScienceTimeRaw != null) return this.mainboardScienceTimeRaw;
+ long _tmp = (long) (mainboardScienceTime());
+ this.mainboardScienceTimeRaw = _tmp;
+ return this.mainboardScienceTimeRaw;
+ }
+
+ private Long feePlusXErs3SignalRaw;
+
+ public Long feePlusXErs3SignalRaw() {
+ if (this.feePlusXErs3SignalRaw != null) return this.feePlusXErs3SignalRaw;
+ long _tmp = (long) (feePlusXErs3Signal());
+ this.feePlusXErs3SignalRaw = _tmp;
+ return this.feePlusXErs3SignalRaw;
+ }
+
+ private Integer teachwearAccXRaw;
+
+ public Integer teachwearAccXRaw() {
+ if (this.teachwearAccXRaw != null) return this.teachwearAccXRaw;
+ int _tmp = (int) (teachwearAccX());
+ this.teachwearAccXRaw = _tmp;
+ return this.teachwearAccXRaw;
+ }
+
+ private Long feeMinusXUvsSignalRaw;
+
+ public Long feeMinusXUvsSignalRaw() {
+ if (this.feeMinusXUvsSignalRaw != null) return this.feeMinusXUvsSignalRaw;
+ long _tmp = (long) (feeMinusXUvsSignal());
+ this.feeMinusXUvsSignalRaw = _tmp;
+ return this.feeMinusXUvsSignalRaw;
+ }
+
+ private Long feePlusYErs3TemperatureRaw;
+
+ public Long feePlusYErs3TemperatureRaw() {
+ if (this.feePlusYErs3TemperatureRaw != null) return this.feePlusYErs3TemperatureRaw;
+ long _tmp = (long) (feePlusYErs3Temperature());
+ this.feePlusYErs3TemperatureRaw = _tmp;
+ return this.feePlusYErs3TemperatureRaw;
+ }
+
+ private Long feeMinusXErs1TemperatureRaw;
+
+ public Long feeMinusXErs1TemperatureRaw() {
+ if (this.feeMinusXErs1TemperatureRaw != null) return this.feeMinusXErs1TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs1Temperature());
+ this.feeMinusXErs1TemperatureRaw = _tmp;
+ return this.feeMinusXErs1TemperatureRaw;
+ }
+
+ private Long hkPlus5vRaw;
+
+ public Long hkPlus5vRaw() {
+ if (this.hkPlus5vRaw != null) return this.hkPlus5vRaw;
+ long _tmp = (long) (hkPlus5v());
+ this.hkPlus5vRaw = _tmp;
+ return this.hkPlus5vRaw;
+ }
+
+ private Integer numberOfRealAcquisitionRaw;
+
+ public Integer numberOfRealAcquisitionRaw() {
+ if (this.numberOfRealAcquisitionRaw != null) return this.numberOfRealAcquisitionRaw;
+ int _tmp = (int) (numberOfRealAcquisition());
+ this.numberOfRealAcquisitionRaw = _tmp;
+ return this.numberOfRealAcquisitionRaw;
+ }
+
+ private Long feePlusYErs2SignalRaw;
+
+ public Long feePlusYErs2SignalRaw() {
+ if (this.feePlusYErs2SignalRaw != null) return this.feePlusYErs2SignalRaw;
+ long _tmp = (long) (feePlusYErs2Signal());
+ this.feePlusYErs2SignalRaw = _tmp;
+ return this.feePlusYErs2SignalRaw;
+ }
+
+ private Integer teachWearOnRaw;
+
+ public Integer teachWearOnRaw() {
+ if (this.teachWearOnRaw != null) return this.teachWearOnRaw;
+ int _tmp = (int) (teachWearOn());
+ this.teachWearOnRaw = _tmp;
+ return this.teachWearOnRaw;
+ }
+
+ private Integer frequenceOfAcquisitionsRaw;
+
+ public Integer frequenceOfAcquisitionsRaw() {
+ if (this.frequenceOfAcquisitionsRaw != null) return this.frequenceOfAcquisitionsRaw;
+ int _tmp = (int) (frequenceOfAcquisitions());
+ this.frequenceOfAcquisitionsRaw = _tmp;
+ return this.frequenceOfAcquisitionsRaw;
+ }
+
+ private Long feePlusYErs2TemperatureRaw;
+
+ public Long feePlusYErs2TemperatureRaw() {
+ if (this.feePlusYErs2TemperatureRaw != null) return this.feePlusYErs2TemperatureRaw;
+ long _tmp = (long) (feePlusYErs2Temperature());
+ this.feePlusYErs2TemperatureRaw = _tmp;
+ return this.feePlusYErs2TemperatureRaw;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer teachwearMagnXRaw;
+
+ public Integer teachwearMagnXRaw() {
+ if (this.teachwearMagnXRaw != null) return this.teachwearMagnXRaw;
+ int _tmp = (int) (teachwearMagnX());
+ this.teachwearMagnXRaw = _tmp;
+ return this.teachwearMagnXRaw;
+ }
+
+ private Long feeMinusXErs1SignalRaw;
+
+ public Long feeMinusXErs1SignalRaw() {
+ if (this.feeMinusXErs1SignalRaw != null) return this.feeMinusXErs1SignalRaw;
+ long _tmp = (long) (feeMinusXErs1Signal());
+ this.feeMinusXErs1SignalRaw = _tmp;
+ return this.feeMinusXErs1SignalRaw;
+ }
+
+ private Long feeMinusXErs3SignalRaw;
+
+ public Long feeMinusXErs3SignalRaw() {
+ if (this.feeMinusXErs3SignalRaw != null) return this.feeMinusXErs3SignalRaw;
+ long _tmp = (long) (feeMinusXErs3Signal());
+ this.feeMinusXErs3SignalRaw = _tmp;
+ return this.feeMinusXErs3SignalRaw;
+ }
+
+ private Long feeMinusYErs2SignalRaw;
+
+ public Long feeMinusYErs2SignalRaw() {
+ if (this.feeMinusYErs2SignalRaw != null) return this.feeMinusYErs2SignalRaw;
+ long _tmp = (long) (feeMinusYErs2Signal());
+ this.feeMinusYErs2SignalRaw = _tmp;
+ return this.feeMinusYErs2SignalRaw;
+ }
+
+ private Long feeMinusYErs2TemperatureRaw;
+
+ public Long feeMinusYErs2TemperatureRaw() {
+ if (this.feeMinusYErs2TemperatureRaw != null) return this.feeMinusYErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusYErs2Temperature());
+ this.feeMinusYErs2TemperatureRaw = _tmp;
+ return this.feeMinusYErs2TemperatureRaw;
+ }
+
+ private Long feeMinusXErs2TemperatureRaw;
+
+ public Long feeMinusXErs2TemperatureRaw() {
+ if (this.feeMinusXErs2TemperatureRaw != null) return this.feeMinusXErs2TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs2Temperature());
+ this.feeMinusXErs2TemperatureRaw = _tmp;
+ return this.feeMinusXErs2TemperatureRaw;
+ }
+
+ private Long feePlusXErs1TemperatureRaw;
+
+ public Long feePlusXErs1TemperatureRaw() {
+ if (this.feePlusXErs1TemperatureRaw != null) return this.feePlusXErs1TemperatureRaw;
+ long _tmp = (long) (feePlusXErs1Temperature());
+ this.feePlusXErs1TemperatureRaw = _tmp;
+ return this.feePlusXErs1TemperatureRaw;
+ }
+
+ private Long hkFeeMinusXVrefRaw;
+
+ public Long hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ long _tmp = (long) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Long feePlusYErs1TemperatureRaw;
+
+ public Long feePlusYErs1TemperatureRaw() {
+ if (this.feePlusYErs1TemperatureRaw != null) return this.feePlusYErs1TemperatureRaw;
+ long _tmp = (long) (feePlusYErs1Temperature());
+ this.feePlusYErs1TemperatureRaw = _tmp;
+ return this.feePlusYErs1TemperatureRaw;
+ }
+
+ private Integer teachwearGyroXRaw;
+
+ public Integer teachwearGyroXRaw() {
+ if (this.teachwearGyroXRaw != null) return this.teachwearGyroXRaw;
+ int _tmp = (int) (teachwearGyroX());
+ this.teachwearGyroXRaw = _tmp;
+ return this.teachwearGyroXRaw;
+ }
+
+ private Long feePlusXUvsSignalRaw;
+
+ public Long feePlusXUvsSignalRaw() {
+ if (this.feePlusXUvsSignalRaw != null) return this.feePlusXUvsSignalRaw;
+ long _tmp = (long) (feePlusXUvsSignal());
+ this.feePlusXUvsSignalRaw = _tmp;
+ return this.feePlusXUvsSignalRaw;
+ }
+
+ private Long hkFeeMinusYVrefRaw;
+
+ public Long hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ long _tmp = (long) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private Integer teachwearStateRaw;
+
+ public Integer teachwearStateRaw() {
+ if (this.teachwearStateRaw != null) return this.teachwearStateRaw;
+ int _tmp = (int) (teachwearState());
+ this.teachwearStateRaw = _tmp;
+ return this.teachwearStateRaw;
+ }
+
+ private Long feePlusXErs1SignalRaw;
+
+ public Long feePlusXErs1SignalRaw() {
+ if (this.feePlusXErs1SignalRaw != null) return this.feePlusXErs1SignalRaw;
+ long _tmp = (long) (feePlusXErs1Signal());
+ this.feePlusXErs1SignalRaw = _tmp;
+ return this.feePlusXErs1SignalRaw;
+ }
+
+ private Long hkMinus5vRaw;
+
+ public Long hkMinus5vRaw() {
+ if (this.hkMinus5vRaw != null) return this.hkMinus5vRaw;
+ long _tmp = (long) (hkMinus5v());
+ this.hkMinus5vRaw = _tmp;
+ return this.hkMinus5vRaw;
+ }
+
+ private Long feeMinusXErs3TemperatureRaw;
+
+ public Long feeMinusXErs3TemperatureRaw() {
+ if (this.feeMinusXErs3TemperatureRaw != null) return this.feeMinusXErs3TemperatureRaw;
+ long _tmp = (long) (feeMinusXErs3Temperature());
+ this.feeMinusXErs3TemperatureRaw = _tmp;
+ return this.feeMinusXErs3TemperatureRaw;
+ }
+
+ private Integer teachwearResetReasonRaw;
+
+ public Integer teachwearResetReasonRaw() {
+ if (this.teachwearResetReasonRaw != null) return this.teachwearResetReasonRaw;
+ int _tmp = (int) (teachwearResetReason());
+ this.teachwearResetReasonRaw = _tmp;
+ return this.teachwearResetReasonRaw;
+ }
+
+ private Integer teachwearDegCRaw;
+
+ public Integer teachwearDegCRaw() {
+ if (this.teachwearDegCRaw != null) return this.teachwearDegCRaw;
+ int _tmp = (int) (teachwearDegC());
+ this.teachwearDegCRaw = _tmp;
+ return this.teachwearDegCRaw;
+ }
+
+ private Integer teachwearGyroYRaw;
+
+ public Integer teachwearGyroYRaw() {
+ if (this.teachwearGyroYRaw != null) return this.teachwearGyroYRaw;
+ int _tmp = (int) (teachwearGyroY());
+ this.teachwearGyroYRaw = _tmp;
+ return this.teachwearGyroYRaw;
+ }
+
+ private Integer teachwearMagnZRaw;
+
+ public Integer teachwearMagnZRaw() {
+ if (this.teachwearMagnZRaw != null) return this.teachwearMagnZRaw;
+ int _tmp = (int) (teachwearMagnZ());
+ this.teachwearMagnZRaw = _tmp;
+ return this.teachwearMagnZRaw;
+ }
+
+ private Long feePlusYErs3SignalRaw;
+
+ public Long feePlusYErs3SignalRaw() {
+ if (this.feePlusYErs3SignalRaw != null) return this.feePlusYErs3SignalRaw;
+ long _tmp = (long) (feePlusYErs3Signal());
+ this.feePlusYErs3SignalRaw = _tmp;
+ return this.feePlusYErs3SignalRaw;
+ }
+
+ private Integer teachwearAccYRaw;
+
+ public Integer teachwearAccYRaw() {
+ if (this.teachwearAccYRaw != null) return this.teachwearAccYRaw;
+ int _tmp = (int) (teachwearAccY());
+ this.teachwearAccYRaw = _tmp;
+ return this.teachwearAccYRaw;
+ }
+
+ private long mainboardScienceTime;
+ private int teachWearOn;
+ private int frequenceOfAcquisitions;
+ private long gain;
+ private int numberOfAcquisitionCommanded;
+ private int numberOfRealAcquisition;
+ private long hkPlus5v;
+ private long hkMinus5v;
+ private long hkMinus5vPolar;
+ private long hkTempAdc;
+ private long hkFeePlusXVref;
+ private long hkFeeMinusXVref;
+ private long hkFeePlusYVref;
+ private long hkFeeMinusYVref;
+ private long feePlusXErs1Signal;
+ private long feePlusXErs1Temperature;
+ private long feePlusXErs2Signal;
+ private long feePlusXErs2Temperature;
+ private long feePlusXErs3Signal;
+ private long feePlusXErs3Temperature;
+ private long feePlusXUvsSignal;
+ private long feeMinusXErs1Signal;
+ private long feeMinusXErs1Temperature;
+ private long feeMinusXErs2Signal;
+ private long feeMinusXErs2Temperature;
+ private long feeMinusXErs3Signal;
+ private long feeMinusXErs3Temperature;
+ private long feeMinusXUvsSignal;
+ private long feePlusYErs1Signal;
+ private long feePlusYErs1Temperature;
+ private long feePlusYErs2Signal;
+ private long feePlusYErs2Temperature;
+ private long feePlusYErs3Signal;
+ private long feePlusYErs3Temperature;
+ private long feePlusYUvsSignal;
+ private long feeMinusYErs1Signal;
+ private long feeMinusYErs1Temperature;
+ private long feeMinusYErs2Signal;
+ private long feeMinusYErs2Temperature;
+ private long feeMinusYErs3Signal;
+ private long feeMinusYErs3Temperature;
+ private long feeMinusYUvsSignal;
+ private int teachwearAccX;
+ private int teachwearAccY;
+ private int teachwearAccZ;
+ private int teachwearDegC;
+ private int teachwearGyroX;
+ private int teachwearGyroY;
+ private int teachwearGyroZ;
+ private int teachwearMagnX;
+ private int teachwearMagnY;
+ private int teachwearMagnZ;
+ private int teachwearState;
+ private int teachwearResetReason;
+ private int teachwearCrc;
+ private long nbTmSinceFirstStart;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ public long mainboardScienceTime() {
+ return mainboardScienceTime;
+ }
+
+ public int teachWearOn() {
+ return teachWearOn;
+ }
+
+ public int frequenceOfAcquisitions() {
+ return frequenceOfAcquisitions;
+ }
+
+ public long gain() {
+ return gain;
+ }
+
+ public int numberOfAcquisitionCommanded() {
+ return numberOfAcquisitionCommanded;
+ }
+
+ public int numberOfRealAcquisition() {
+ return numberOfRealAcquisition;
+ }
+
+ public long hkPlus5v() {
+ return hkPlus5v;
+ }
+
+ public long hkMinus5v() {
+ return hkMinus5v;
+ }
+
+ public long hkMinus5vPolar() {
+ return hkMinus5vPolar;
+ }
+
+ public long hkTempAdc() {
+ return hkTempAdc;
+ }
+
+ public long hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public long hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public long hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public long hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public long feePlusXErs1Signal() {
+ return feePlusXErs1Signal;
+ }
+
+ public long feePlusXErs1Temperature() {
+ return feePlusXErs1Temperature;
+ }
+
+ public long feePlusXErs2Signal() {
+ return feePlusXErs2Signal;
+ }
+
+ public long feePlusXErs2Temperature() {
+ return feePlusXErs2Temperature;
+ }
+
+ public long feePlusXErs3Signal() {
+ return feePlusXErs3Signal;
+ }
+
+ public long feePlusXErs3Temperature() {
+ return feePlusXErs3Temperature;
+ }
+
+ public long feePlusXUvsSignal() {
+ return feePlusXUvsSignal;
+ }
+
+ public long feeMinusXErs1Signal() {
+ return feeMinusXErs1Signal;
+ }
+
+ public long feeMinusXErs1Temperature() {
+ return feeMinusXErs1Temperature;
+ }
+
+ public long feeMinusXErs2Signal() {
+ return feeMinusXErs2Signal;
+ }
+
+ public long feeMinusXErs2Temperature() {
+ return feeMinusXErs2Temperature;
+ }
+
+ public long feeMinusXErs3Signal() {
+ return feeMinusXErs3Signal;
+ }
+
+ public long feeMinusXErs3Temperature() {
+ return feeMinusXErs3Temperature;
+ }
+
+ public long feeMinusXUvsSignal() {
+ return feeMinusXUvsSignal;
+ }
+
+ public long feePlusYErs1Signal() {
+ return feePlusYErs1Signal;
+ }
+
+ public long feePlusYErs1Temperature() {
+ return feePlusYErs1Temperature;
+ }
+
+ public long feePlusYErs2Signal() {
+ return feePlusYErs2Signal;
+ }
+
+ public long feePlusYErs2Temperature() {
+ return feePlusYErs2Temperature;
+ }
+
+ public long feePlusYErs3Signal() {
+ return feePlusYErs3Signal;
+ }
+
+ public long feePlusYErs3Temperature() {
+ return feePlusYErs3Temperature;
+ }
+
+ public long feePlusYUvsSignal() {
+ return feePlusYUvsSignal;
+ }
+
+ public long feeMinusYErs1Signal() {
+ return feeMinusYErs1Signal;
+ }
+
+ public long feeMinusYErs1Temperature() {
+ return feeMinusYErs1Temperature;
+ }
+
+ public long feeMinusYErs2Signal() {
+ return feeMinusYErs2Signal;
+ }
+
+ public long feeMinusYErs2Temperature() {
+ return feeMinusYErs2Temperature;
+ }
+
+ public long feeMinusYErs3Signal() {
+ return feeMinusYErs3Signal;
+ }
+
+ public long feeMinusYErs3Temperature() {
+ return feeMinusYErs3Temperature;
+ }
+
+ public long feeMinusYUvsSignal() {
+ return feeMinusYUvsSignal;
+ }
+
+ public int teachwearAccX() {
+ return teachwearAccX;
+ }
+
+ public int teachwearAccY() {
+ return teachwearAccY;
+ }
+
+ public int teachwearAccZ() {
+ return teachwearAccZ;
+ }
+
+ public int teachwearDegC() {
+ return teachwearDegC;
+ }
+
+ public int teachwearGyroX() {
+ return teachwearGyroX;
+ }
+
+ public int teachwearGyroY() {
+ return teachwearGyroY;
+ }
+
+ public int teachwearGyroZ() {
+ return teachwearGyroZ;
+ }
+
+ public int teachwearMagnX() {
+ return teachwearMagnX;
+ }
+
+ public int teachwearMagnY() {
+ return teachwearMagnY;
+ }
+
+ public int teachwearMagnZ() {
+ return teachwearMagnZ;
+ }
+
+ public int teachwearState() {
+ return teachwearState;
+ }
+
+ public int teachwearResetReason() {
+ return teachwearResetReason;
+ }
+
+ public int teachwearCrc() {
+ return teachwearCrc;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+ }
+
+ public static class LvStatus extends KaitaiStruct {
+ public static LvStatus fromFile(String fileName) throws IOException {
+ return new LvStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public LvStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public LvStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public LvStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.modePlateform = this._io.readU1();
+ this.pFNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modeImtq = this._io.readU1();
+ this.imtqNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modeTrxvu = this._io.readU1();
+ this.pFNumberOfSecondsInCurrentModebis = this._io.readBitsIntBe(24);
+ this.nbTMInPfFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadCapteurs = this._io.readU1();
+ this.capteursNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInCapteursPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadIMU = this._io.readU1();
+ this.imuNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInIMUPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadIono = this._io.readU1();
+ this.ionoNumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInIonoPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadLIFI = this._io.readU1();
+ this.lIFINumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTMInLIFIPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.modePayloadSPINO = this._io.readU1();
+ this.sPINONumberOfSecondsInCurrentMode = this._io.readBitsIntBe(24);
+ this.nbTmInSPINOPayloadFifo = this._io.readBitsIntBe(24);
+ this._io.alignToByte();
+ this.numberOfFileInSDForHktmPf = this._io.readU1();
+ this.numberOfFileInSDPltmCapteurs = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmImu = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmIono = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmLifi = this._io.readBitsIntBe(12);
+ this.numberOfFileInSDPltmSpino = this._io.readBitsIntBe(12);
+ }
+
+ private Long pFNumberOfSecondsInCurrentModeRaw;
+
+ public Long pFNumberOfSecondsInCurrentModeRaw() {
+ if (this.pFNumberOfSecondsInCurrentModeRaw != null)
+ return this.pFNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (pFNumberOfSecondsInCurrentMode());
+ this.pFNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.pFNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long numberOfFileInSDPltmIonoRaw;
+
+ public Long numberOfFileInSDPltmIonoRaw() {
+ if (this.numberOfFileInSDPltmIonoRaw != null) return this.numberOfFileInSDPltmIonoRaw;
+ long _tmp = (long) (numberOfFileInSDPltmIono());
+ this.numberOfFileInSDPltmIonoRaw = _tmp;
+ return this.numberOfFileInSDPltmIonoRaw;
+ }
+
+ private Long imuNumberOfSecondsInCurrentModeRaw;
+
+ public Long imuNumberOfSecondsInCurrentModeRaw() {
+ if (this.imuNumberOfSecondsInCurrentModeRaw != null)
+ return this.imuNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (imuNumberOfSecondsInCurrentMode());
+ this.imuNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.imuNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long capteursNumberOfSecondsInCurrentModeRaw;
+
+ public Long capteursNumberOfSecondsInCurrentModeRaw() {
+ if (this.capteursNumberOfSecondsInCurrentModeRaw != null)
+ return this.capteursNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (capteursNumberOfSecondsInCurrentMode());
+ this.capteursNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.capteursNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long nbTMInLIFIPayloadFifoRaw;
+
+ public Long nbTMInLIFIPayloadFifoRaw() {
+ if (this.nbTMInLIFIPayloadFifoRaw != null) return this.nbTMInLIFIPayloadFifoRaw;
+ long _tmp = (long) (nbTMInLIFIPayloadFifo());
+ this.nbTMInLIFIPayloadFifoRaw = _tmp;
+ return this.nbTMInLIFIPayloadFifoRaw;
+ }
+
+ private Long nbTMInIMUPayloadFifoRaw;
+
+ public Long nbTMInIMUPayloadFifoRaw() {
+ if (this.nbTMInIMUPayloadFifoRaw != null) return this.nbTMInIMUPayloadFifoRaw;
+ long _tmp = (long) (nbTMInIMUPayloadFifo());
+ this.nbTMInIMUPayloadFifoRaw = _tmp;
+ return this.nbTMInIMUPayloadFifoRaw;
+ }
+
+ private Long ionoNumberOfSecondsInCurrentModeRaw;
+
+ public Long ionoNumberOfSecondsInCurrentModeRaw() {
+ if (this.ionoNumberOfSecondsInCurrentModeRaw != null)
+ return this.ionoNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (ionoNumberOfSecondsInCurrentMode());
+ this.ionoNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.ionoNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Integer modePayloadIonoRaw;
+
+ public Integer modePayloadIonoRaw() {
+ if (this.modePayloadIonoRaw != null) return this.modePayloadIonoRaw;
+ int _tmp = (int) (modePayloadIono());
+ this.modePayloadIonoRaw = _tmp;
+ return this.modePayloadIonoRaw;
+ }
+
+ private Integer numberOfFileInSDForHktmPfRaw;
+
+ public Integer numberOfFileInSDForHktmPfRaw() {
+ if (this.numberOfFileInSDForHktmPfRaw != null) return this.numberOfFileInSDForHktmPfRaw;
+ int _tmp = (int) (numberOfFileInSDForHktmPf());
+ this.numberOfFileInSDForHktmPfRaw = _tmp;
+ return this.numberOfFileInSDForHktmPfRaw;
+ }
+
+ private Long numberOfFileInSDPltmLifiRaw;
+
+ public Long numberOfFileInSDPltmLifiRaw() {
+ if (this.numberOfFileInSDPltmLifiRaw != null) return this.numberOfFileInSDPltmLifiRaw;
+ long _tmp = (long) (numberOfFileInSDPltmLifi());
+ this.numberOfFileInSDPltmLifiRaw = _tmp;
+ return this.numberOfFileInSDPltmLifiRaw;
+ }
+
+ private Integer modeTrxvuRaw;
+
+ public Integer modeTrxvuRaw() {
+ if (this.modeTrxvuRaw != null) return this.modeTrxvuRaw;
+ int _tmp = (int) (modeTrxvu());
+ this.modeTrxvuRaw = _tmp;
+ return this.modeTrxvuRaw;
+ }
+
+ private Long nbTmInSPINOPayloadFifoRaw;
+
+ public Long nbTmInSPINOPayloadFifoRaw() {
+ if (this.nbTmInSPINOPayloadFifoRaw != null) return this.nbTmInSPINOPayloadFifoRaw;
+ long _tmp = (long) (nbTmInSPINOPayloadFifo());
+ this.nbTmInSPINOPayloadFifoRaw = _tmp;
+ return this.nbTmInSPINOPayloadFifoRaw;
+ }
+
+ private Long sPINONumberOfSecondsInCurrentModeRaw;
+
+ public Long sPINONumberOfSecondsInCurrentModeRaw() {
+ if (this.sPINONumberOfSecondsInCurrentModeRaw != null)
+ return this.sPINONumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (sPINONumberOfSecondsInCurrentMode());
+ this.sPINONumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.sPINONumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long nbTMInIonoPayloadFifoRaw;
+
+ public Long nbTMInIonoPayloadFifoRaw() {
+ if (this.nbTMInIonoPayloadFifoRaw != null) return this.nbTMInIonoPayloadFifoRaw;
+ long _tmp = (long) (nbTMInIonoPayloadFifo());
+ this.nbTMInIonoPayloadFifoRaw = _tmp;
+ return this.nbTMInIonoPayloadFifoRaw;
+ }
+
+ private Integer modePayloadIMURaw;
+
+ public Integer modePayloadIMURaw() {
+ if (this.modePayloadIMURaw != null) return this.modePayloadIMURaw;
+ int _tmp = (int) (modePayloadIMU());
+ this.modePayloadIMURaw = _tmp;
+ return this.modePayloadIMURaw;
+ }
+
+ private Long lIFINumberOfSecondsInCurrentModeRaw;
+
+ public Long lIFINumberOfSecondsInCurrentModeRaw() {
+ if (this.lIFINumberOfSecondsInCurrentModeRaw != null)
+ return this.lIFINumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (lIFINumberOfSecondsInCurrentMode());
+ this.lIFINumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.lIFINumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Integer modeImtqRaw;
+
+ public Integer modeImtqRaw() {
+ if (this.modeImtqRaw != null) return this.modeImtqRaw;
+ int _tmp = (int) (modeImtq());
+ this.modeImtqRaw = _tmp;
+ return this.modeImtqRaw;
+ }
+
+ private Long imtqNumberOfSecondsInCurrentModeRaw;
+
+ public Long imtqNumberOfSecondsInCurrentModeRaw() {
+ if (this.imtqNumberOfSecondsInCurrentModeRaw != null)
+ return this.imtqNumberOfSecondsInCurrentModeRaw;
+ long _tmp = (long) (imtqNumberOfSecondsInCurrentMode());
+ this.imtqNumberOfSecondsInCurrentModeRaw = _tmp;
+ return this.imtqNumberOfSecondsInCurrentModeRaw;
+ }
+
+ private Long pFNumberOfSecondsInCurrentModebisRaw;
+
+ public Long pFNumberOfSecondsInCurrentModebisRaw() {
+ if (this.pFNumberOfSecondsInCurrentModebisRaw != null)
+ return this.pFNumberOfSecondsInCurrentModebisRaw;
+ long _tmp = (long) (pFNumberOfSecondsInCurrentModebis());
+ this.pFNumberOfSecondsInCurrentModebisRaw = _tmp;
+ return this.pFNumberOfSecondsInCurrentModebisRaw;
+ }
+
+ private Integer modePlateformRaw;
+
+ public Integer modePlateformRaw() {
+ if (this.modePlateformRaw != null) return this.modePlateformRaw;
+ int _tmp = (int) (modePlateform());
+ this.modePlateformRaw = _tmp;
+ return this.modePlateformRaw;
+ }
+
+ private Integer modePayloadSPINORaw;
+
+ public Integer modePayloadSPINORaw() {
+ if (this.modePayloadSPINORaw != null) return this.modePayloadSPINORaw;
+ int _tmp = (int) (modePayloadSPINO());
+ this.modePayloadSPINORaw = _tmp;
+ return this.modePayloadSPINORaw;
+ }
+
+ private Long numberOfFileInSDPltmSpinoRaw;
+
+ public Long numberOfFileInSDPltmSpinoRaw() {
+ if (this.numberOfFileInSDPltmSpinoRaw != null) return this.numberOfFileInSDPltmSpinoRaw;
+ long _tmp = (long) (numberOfFileInSDPltmSpino());
+ this.numberOfFileInSDPltmSpinoRaw = _tmp;
+ return this.numberOfFileInSDPltmSpinoRaw;
+ }
+
+ private Long numberOfFileInSDPltmImuRaw;
+
+ public Long numberOfFileInSDPltmImuRaw() {
+ if (this.numberOfFileInSDPltmImuRaw != null) return this.numberOfFileInSDPltmImuRaw;
+ long _tmp = (long) (numberOfFileInSDPltmImu());
+ this.numberOfFileInSDPltmImuRaw = _tmp;
+ return this.numberOfFileInSDPltmImuRaw;
+ }
+
+ private Integer modePayloadLIFIRaw;
+
+ public Integer modePayloadLIFIRaw() {
+ if (this.modePayloadLIFIRaw != null) return this.modePayloadLIFIRaw;
+ int _tmp = (int) (modePayloadLIFI());
+ this.modePayloadLIFIRaw = _tmp;
+ return this.modePayloadLIFIRaw;
+ }
+
+ private Long numberOfFileInSDPltmCapteursRaw;
+
+ public Long numberOfFileInSDPltmCapteursRaw() {
+ if (this.numberOfFileInSDPltmCapteursRaw != null) return this.numberOfFileInSDPltmCapteursRaw;
+ long _tmp = (long) (numberOfFileInSDPltmCapteurs());
+ this.numberOfFileInSDPltmCapteursRaw = _tmp;
+ return this.numberOfFileInSDPltmCapteursRaw;
+ }
+
+ private Long nbTMInCapteursPayloadFifoRaw;
+
+ public Long nbTMInCapteursPayloadFifoRaw() {
+ if (this.nbTMInCapteursPayloadFifoRaw != null) return this.nbTMInCapteursPayloadFifoRaw;
+ long _tmp = (long) (nbTMInCapteursPayloadFifo());
+ this.nbTMInCapteursPayloadFifoRaw = _tmp;
+ return this.nbTMInCapteursPayloadFifoRaw;
+ }
+
+ private Integer modePayloadCapteursRaw;
+
+ public Integer modePayloadCapteursRaw() {
+ if (this.modePayloadCapteursRaw != null) return this.modePayloadCapteursRaw;
+ int _tmp = (int) (modePayloadCapteurs());
+ this.modePayloadCapteursRaw = _tmp;
+ return this.modePayloadCapteursRaw;
+ }
+
+ private Long nbTMInPfFifoRaw;
+
+ public Long nbTMInPfFifoRaw() {
+ if (this.nbTMInPfFifoRaw != null) return this.nbTMInPfFifoRaw;
+ long _tmp = (long) (nbTMInPfFifo());
+ this.nbTMInPfFifoRaw = _tmp;
+ return this.nbTMInPfFifoRaw;
+ }
+
+ private int modePlateform;
+ private long pFNumberOfSecondsInCurrentMode;
+ private int modeImtq;
+ private long imtqNumberOfSecondsInCurrentMode;
+ private int modeTrxvu;
+ private long pFNumberOfSecondsInCurrentModebis;
+ private long nbTMInPfFifo;
+ private int modePayloadCapteurs;
+ private long capteursNumberOfSecondsInCurrentMode;
+ private long nbTMInCapteursPayloadFifo;
+ private int modePayloadIMU;
+ private long imuNumberOfSecondsInCurrentMode;
+ private long nbTMInIMUPayloadFifo;
+ private int modePayloadIono;
+ private long ionoNumberOfSecondsInCurrentMode;
+ private long nbTMInIonoPayloadFifo;
+ private int modePayloadLIFI;
+ private long lIFINumberOfSecondsInCurrentMode;
+ private long nbTMInLIFIPayloadFifo;
+ private int modePayloadSPINO;
+ private long sPINONumberOfSecondsInCurrentMode;
+ private long nbTmInSPINOPayloadFifo;
+ private int numberOfFileInSDForHktmPf;
+ private long numberOfFileInSDPltmCapteurs;
+ private long numberOfFileInSDPltmImu;
+ private long numberOfFileInSDPltmIono;
+ private long numberOfFileInSDPltmLifi;
+ private long numberOfFileInSDPltmSpino;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int modePlateform() {
+ return modePlateform;
+ }
+
+ public long pFNumberOfSecondsInCurrentMode() {
+ return pFNumberOfSecondsInCurrentMode;
+ }
+
+ public int modeImtq() {
+ return modeImtq;
+ }
+
+ public long imtqNumberOfSecondsInCurrentMode() {
+ return imtqNumberOfSecondsInCurrentMode;
+ }
+
+ public int modeTrxvu() {
+ return modeTrxvu;
+ }
+
+ public long pFNumberOfSecondsInCurrentModebis() {
+ return pFNumberOfSecondsInCurrentModebis;
+ }
+
+ public long nbTMInPfFifo() {
+ return nbTMInPfFifo;
+ }
+
+ public int modePayloadCapteurs() {
+ return modePayloadCapteurs;
+ }
+
+ public long capteursNumberOfSecondsInCurrentMode() {
+ return capteursNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInCapteursPayloadFifo() {
+ return nbTMInCapteursPayloadFifo;
+ }
+
+ public int modePayloadIMU() {
+ return modePayloadIMU;
+ }
+
+ public long imuNumberOfSecondsInCurrentMode() {
+ return imuNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInIMUPayloadFifo() {
+ return nbTMInIMUPayloadFifo;
+ }
+
+ public int modePayloadIono() {
+ return modePayloadIono;
+ }
+
+ public long ionoNumberOfSecondsInCurrentMode() {
+ return ionoNumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInIonoPayloadFifo() {
+ return nbTMInIonoPayloadFifo;
+ }
+
+ public int modePayloadLIFI() {
+ return modePayloadLIFI;
+ }
+
+ public long lIFINumberOfSecondsInCurrentMode() {
+ return lIFINumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTMInLIFIPayloadFifo() {
+ return nbTMInLIFIPayloadFifo;
+ }
+
+ public int modePayloadSPINO() {
+ return modePayloadSPINO;
+ }
+
+ public long sPINONumberOfSecondsInCurrentMode() {
+ return sPINONumberOfSecondsInCurrentMode;
+ }
+
+ public long nbTmInSPINOPayloadFifo() {
+ return nbTmInSPINOPayloadFifo;
+ }
+
+ public int numberOfFileInSDForHktmPf() {
+ return numberOfFileInSDForHktmPf;
+ }
+
+ public long numberOfFileInSDPltmCapteurs() {
+ return numberOfFileInSDPltmCapteurs;
+ }
+
+ public long numberOfFileInSDPltmImu() {
+ return numberOfFileInSDPltmImu;
+ }
+
+ public long numberOfFileInSDPltmIono() {
+ return numberOfFileInSDPltmIono;
+ }
+
+ public long numberOfFileInSDPltmLifi() {
+ return numberOfFileInSDPltmLifi;
+ }
+
+ public long numberOfFileInSDPltmSpino() {
+ return numberOfFileInSDPltmSpino;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class TrxvuHk extends KaitaiStruct {
+ public static TrxvuHk fromFile(String fileName) throws IOException {
+ return new TrxvuHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public TrxvuHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public TrxvuHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public TrxvuHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsIntBe(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this._io.alignToByte();
+ this.trxvuRxUptime = this._io.readU4be();
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvutxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvutxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this._io.alignToByte();
+ this.trxvuTxUptime = this._io.readU4be();
+ this.trxvuTxState = this._io.readU1();
+ }
+
+ private Double trxvutxTotalSupplyCurrentMa;
+
+ public Double trxvutxTotalSupplyCurrentMa() {
+ if (this.trxvutxTotalSupplyCurrentMa != null) return this.trxvutxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
+ this.trxvutxTotalSupplyCurrentMa = _tmp;
+ return this.trxvutxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvutxPowerAmplifierCurrentMa;
+
+ public Double trxvutxPowerAmplifierCurrentMa() {
+ if (this.trxvutxPowerAmplifierCurrentMa != null) return this.trxvutxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvutxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvutxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
+
+ public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ double _tmp =
+ (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
+ this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ }
+
+ private Long trxvuTxUptimeRaw;
+
+ public Long trxvuTxUptimeRaw() {
+ if (this.trxvuTxUptimeRaw != null) return this.trxvuTxUptimeRaw;
+ long _tmp = (long) (trxvuTxUptime());
+ this.trxvuTxUptimeRaw = _tmp;
+ return this.trxvuTxUptimeRaw;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalDopplerHz;
+
+ public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ double _tmp =
+ (double)
+ (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552)
+ - 22300));
+ this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ }
+
+ private Double trxvurxSupplyVoltageV;
+
+ public Double trxvurxSupplyVoltageV() {
+ if (this.trxvurxSupplyVoltageV != null) return this.trxvurxSupplyVoltageV;
+ double _tmp = (double) ((trxvurxSupplyVoltage() * 0.00488));
+ this.trxvurxSupplyVoltageV = _tmp;
+ return this.trxvurxSupplyVoltageV;
+ }
+
+ private Double trxvurxLocalOscillatorTemperatureC;
+
+ public Double trxvurxLocalOscillatorTemperatureC() {
+ if (this.trxvurxLocalOscillatorTemperatureC != null)
+ return this.trxvurxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvurxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvurxTransmitterCurrentMa;
+
+ public Double trxvurxTransmitterCurrentMa() {
+ if (this.trxvurxTransmitterCurrentMa != null) return this.trxvurxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
+ this.trxvurxTransmitterCurrentMa = _tmp;
+ return this.trxvurxTransmitterCurrentMa;
+ }
+
+ private Double trxvutxSupplyVoltageV;
+
+ public Double trxvutxSupplyVoltageV() {
+ if (this.trxvutxSupplyVoltageV != null) return this.trxvutxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
+ this.trxvutxSupplyVoltageV = _tmp;
+ return this.trxvutxSupplyVoltageV;
+ }
+
+ private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxLocalOscillatorTemperatureC;
+
+ public Double trxvutxLocalOscillatorTemperatureC() {
+ if (this.trxvutxLocalOscillatorTemperatureC != null)
+ return this.trxvutxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvutxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvutxLocalOscillatorTemperatureC;
+ }
+
+ private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ }
+
+ private Double trxvutxReceiverCurrentMa;
+
+ public Double trxvutxReceiverCurrentMa() {
+ if (this.trxvutxReceiverCurrentMa != null) return this.trxvutxReceiverCurrentMa;
+ double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
+ this.trxvutxReceiverCurrentMa = _tmp;
+ return this.trxvutxReceiverCurrentMa;
+ }
+
+ private Double trxvurxPowerAmplifierCurrentMa;
+
+ public Double trxvurxPowerAmplifierCurrentMa() {
+ if (this.trxvurxPowerAmplifierCurrentMa != null) return this.trxvurxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvurxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvurxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxTotalSupplyCurrentMa;
+
+ public Double trxvurxTotalSupplyCurrentMa() {
+ if (this.trxvurxTotalSupplyCurrentMa != null) return this.trxvurxTotalSupplyCurrentMa;
+ double _tmp = (double) ((trxvurxTotalSupplyCurrent() * 0.16643964));
+ this.trxvurxTotalSupplyCurrentMa = _tmp;
+ return this.trxvurxTotalSupplyCurrentMa;
+ }
+
+ private Double trxvutxPowerAmplifierTemperatureC;
+
+ public Double trxvutxPowerAmplifierTemperatureC() {
+ if (this.trxvutxPowerAmplifierTemperatureC != null)
+ return this.trxvutxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvutxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvutxPowerAmplifierTemperatureC;
+ }
+
+ private Double trxvutxTransmitterCurrentMa;
+
+ public Double trxvutxTransmitterCurrentMa() {
+ if (this.trxvutxTransmitterCurrentMa != null) return this.trxvutxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
+ this.trxvutxTransmitterCurrentMa = _tmp;
+ return this.trxvutxTransmitterCurrentMa;
+ }
+
+ private Double trxvurxPowerAmplifierTemperatureC;
+
+ public Double trxvurxPowerAmplifierTemperatureC() {
+ if (this.trxvurxPowerAmplifierTemperatureC != null)
+ return this.trxvurxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvurxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureC;
+ }
+
+ private Integer trxvuTxStateRaw;
+
+ public Integer trxvuTxStateRaw() {
+ if (this.trxvuTxStateRaw != null) return this.trxvuTxStateRaw;
+ int _tmp = (int) (trxvuTxState());
+ this.trxvuTxStateRaw = _tmp;
+ return this.trxvuTxStateRaw;
+ }
+
+ private Long trxvuRxUptimeRaw;
+
+ public Long trxvuRxUptimeRaw() {
+ if (this.trxvuRxUptimeRaw != null) return this.trxvuRxUptimeRaw;
+ long _tmp = (long) (trxvuRxUptime());
+ this.trxvuRxUptimeRaw = _tmp;
+ return this.trxvuRxUptimeRaw;
+ }
+
+ private Double trxvurxReceiverCurrentMa;
+
+ public Double trxvurxReceiverCurrentMa() {
+ if (this.trxvurxReceiverCurrentMa != null) return this.trxvurxReceiverCurrentMa;
+ double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
+ this.trxvurxReceiverCurrentMa = _tmp;
+ return this.trxvurxReceiverCurrentMa;
+ }
+
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private long trxvuRxUptime;
+ private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ private long trxvutxSupplyVoltage;
+ private long trxvutxTotalSupplyCurrent;
+ private long trxvutxTransmitterCurrent;
+ private long trxvutxReceiverCurrent;
+ private long trxvutxPowerAmplifierCurrent;
+ private long trxvutxPowerAmplifierTemperature;
+ private long trxvutxLocalOscillatorTemperature;
+ private long trxvuTxUptime;
+ private int trxvuTxState;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public long trxvuRxUptime() {
+ return trxvuRxUptime;
+ }
+
+ public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ }
+
+ public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvutxSupplyVoltage() {
+ return trxvutxSupplyVoltage;
+ }
+
+ public long trxvutxTotalSupplyCurrent() {
+ return trxvutxTotalSupplyCurrent;
+ }
+
+ public long trxvutxTransmitterCurrent() {
+ return trxvutxTransmitterCurrent;
+ }
+
+ public long trxvutxReceiverCurrent() {
+ return trxvutxReceiverCurrent;
+ }
+
+ public long trxvutxPowerAmplifierCurrent() {
+ return trxvutxPowerAmplifierCurrent;
+ }
+
+ public long trxvutxPowerAmplifierTemperature() {
+ return trxvutxPowerAmplifierTemperature;
+ }
+
+ public long trxvutxLocalOscillatorTemperature() {
+ return trxvutxLocalOscillatorTemperature;
+ }
+
+ public long trxvuTxUptime() {
+ return trxvuTxUptime;
+ }
+
+ public int trxvuTxState() {
+ return trxvuTxState;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AmsatAscii extends KaitaiStruct {
+ public static AmsatAscii fromFile(String fileName) throws IOException {
+ return new AmsatAscii(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AmsatAscii(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AmsatAscii(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.message = new String(this._io.readBytesFull(), Charset.forName("UTF-8"));
+ }
+
+ private String messageStr;
+
+ public String messageStr() {
+ if (this.messageStr != null) return this.messageStr;
+ this.messageStr = message();
+ return this.messageStr;
+ }
+
+ private String message;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public String message() {
+ return message;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MainboardHk extends KaitaiStruct {
+ public static MainboardHk fromFile(String fileName) throws IOException {
+ return new MainboardHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MainboardHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, KaitaiStruct _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MainboardHk(KaitaiStream _io, KaitaiStruct _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.mainboardHkTime = this._io.readU4be();
+ this.hkPlus5V = this._io.readU2be();
+ this.hkMinus5V = this._io.readU2be();
+ this.hkMinusPolar = this._io.readU2be();
+ this.hkTempADC = this._io.readU2be();
+ this.hkFeePlusXVref = this._io.readU2be();
+ this.hkFeeMinusXVref = this._io.readU2be();
+ this.hkFeePlusYVref = this._io.readU2be();
+ this.hkFeeMinusYVref = this._io.readU2be();
+ }
+
+ private Integer hkFeePlusXVrefRaw;
+
+ public Integer hkFeePlusXVrefRaw() {
+ if (this.hkFeePlusXVrefRaw != null) return this.hkFeePlusXVrefRaw;
+ int _tmp = (int) (hkFeePlusXVref());
+ this.hkFeePlusXVrefRaw = _tmp;
+ return this.hkFeePlusXVrefRaw;
+ }
+
+ private Integer hkFeePlusYVrefRaw;
+
+ public Integer hkFeePlusYVrefRaw() {
+ if (this.hkFeePlusYVrefRaw != null) return this.hkFeePlusYVrefRaw;
+ int _tmp = (int) (hkFeePlusYVref());
+ this.hkFeePlusYVrefRaw = _tmp;
+ return this.hkFeePlusYVrefRaw;
+ }
+
+ private Integer hkPlus5VRaw;
+
+ public Integer hkPlus5VRaw() {
+ if (this.hkPlus5VRaw != null) return this.hkPlus5VRaw;
+ int _tmp = (int) (hkPlus5V());
+ this.hkPlus5VRaw = _tmp;
+ return this.hkPlus5VRaw;
+ }
+
+ private Integer hkTempADCRaw;
+
+ public Integer hkTempADCRaw() {
+ if (this.hkTempADCRaw != null) return this.hkTempADCRaw;
+ int _tmp = (int) (hkTempADC());
+ this.hkTempADCRaw = _tmp;
+ return this.hkTempADCRaw;
+ }
+
+ private Long mainboardHKTimeRaw;
+
+ public Long mainboardHKTimeRaw() {
+ if (this.mainboardHKTimeRaw != null) return this.mainboardHKTimeRaw;
+ long _tmp = (long) (mainboardHkTime());
+ this.mainboardHKTimeRaw = _tmp;
+ return this.mainboardHKTimeRaw;
+ }
+
+ private Integer hkMinusPolarRaw;
+
+ public Integer hkMinusPolarRaw() {
+ if (this.hkMinusPolarRaw != null) return this.hkMinusPolarRaw;
+ int _tmp = (int) (hkMinusPolar());
+ this.hkMinusPolarRaw = _tmp;
+ return this.hkMinusPolarRaw;
+ }
+
+ private Integer hkMinus5VRaw;
+
+ public Integer hkMinus5VRaw() {
+ if (this.hkMinus5VRaw != null) return this.hkMinus5VRaw;
+ int _tmp = (int) (hkMinus5V());
+ this.hkMinus5VRaw = _tmp;
+ return this.hkMinus5VRaw;
+ }
+
+ private Integer hkFeeMinusXVrefRaw;
+
+ public Integer hkFeeMinusXVrefRaw() {
+ if (this.hkFeeMinusXVrefRaw != null) return this.hkFeeMinusXVrefRaw;
+ int _tmp = (int) (hkFeeMinusXVref());
+ this.hkFeeMinusXVrefRaw = _tmp;
+ return this.hkFeeMinusXVrefRaw;
+ }
+
+ private Integer hkFeeMinusYVrefRaw;
+
+ public Integer hkFeeMinusYVrefRaw() {
+ if (this.hkFeeMinusYVrefRaw != null) return this.hkFeeMinusYVrefRaw;
+ int _tmp = (int) (hkFeeMinusYVref());
+ this.hkFeeMinusYVrefRaw = _tmp;
+ return this.hkFeeMinusYVrefRaw;
+ }
+
+ private long mainboardHkTime;
+ private int hkPlus5V;
+ private int hkMinus5V;
+ private int hkMinusPolar;
+ private int hkTempADC;
+ private int hkFeePlusXVref;
+ private int hkFeeMinusXVref;
+ private int hkFeePlusYVref;
+ private int hkFeeMinusYVref;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ public long mainboardHkTime() {
+ return mainboardHkTime;
+ }
+
+ public int hkPlus5V() {
+ return hkPlus5V;
+ }
+
+ public int hkMinus5V() {
+ return hkMinus5V;
+ }
+
+ public int hkMinusPolar() {
+ return hkMinusPolar;
+ }
+
+ public int hkTempADC() {
+ return hkTempADC;
+ }
+
+ public int hkFeePlusXVref() {
+ return hkFeePlusXVref;
+ }
+
+ public int hkFeeMinusXVref() {
+ return hkFeeMinusXVref;
+ }
+
+ public int hkFeePlusYVref() {
+ return hkFeePlusYVref;
+ }
+
+ public int hkFeeMinusYVref() {
+ return hkFeeMinusYVref;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IFrame extends KaitaiStruct {
+ public static IFrame fromFile(String fileName) throws IOException {
+ return new IFrame(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IFrame(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IFrame(KaitaiStream _io, InspireSat7.Ax25Frame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.pid = this._io.readU1();
+ this.ax25Info = this._io.readBytesFull();
+ }
+
+ private int pid;
+ private byte[] ax25Info;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Frame _parent;
+
+ public int pid() {
+ return pid;
+ }
+
+ public byte[] ax25Info() {
+ return ax25Info;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Frame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class SsidMask extends KaitaiStruct {
+ public static SsidMask fromFile(String fileName) throws IOException {
+ return new SsidMask(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public SsidMask(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public SsidMask(KaitaiStream _io, InspireSat7.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public SsidMask(KaitaiStream _io, InspireSat7.Ax25Header _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.ssidMask = this._io.readU1();
+ }
+
+ private Integer ssid;
+
+ public Integer ssid() {
+ if (this.ssid != null) return this.ssid;
+ int _tmp = (int) (((ssidMask() & 15) >> 1));
+ this.ssid = _tmp;
+ return this.ssid;
+ }
+
+ private int ssidMask;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Header _parent;
+
+ public int ssidMask() {
+ return ssidMask;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Header _parent() {
+ return _parent;
+ }
+ }
+
+ public static class Beacon extends KaitaiStruct {
+ public static Beacon fromFile(String fileName) throws IOException {
+ return new Beacon(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public Beacon(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public Beacon(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public Beacon(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.swMode = this._io.readU1();
+ this.lastResetReason = this._io.readU1();
+ this.resetOrder = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.formatSdcardOrder = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU4be();
+ this.nbTcPingSinceFirstStart = this._io.readU4be();
+ this.nbBadTcSinceFirstStart = this._io.readU4be();
+ this.nbTmInSdcard = this._io.readU4be();
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPort = this._io.readBitsIntBe(12);
+ this.trxvutxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvutxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvutxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvutxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort =
+ this._io.readBitsIntBe(12);
+ this.trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort = this._io.readBitsIntBe(12);
+ this.trxvurxSupplyVoltage = this._io.readBitsIntBe(12);
+ this.trxvurxTotalSupplyCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxTransmitterCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxReceiverCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierCurrent = this._io.readBitsIntBe(12);
+ this.trxvurxPowerAmplifierTemperature = this._io.readBitsIntBe(12);
+ this.trxvurxLocalOscillatorTemperature = this._io.readBitsIntBe(12);
+ this._io.alignToByte();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.measureCoilXCurrent = this._io.readU2be();
+ this.measureCoilYCurrent = this._io.readU2be();
+ this.measureCoilZCurrent = this._io.readU2be();
+ this.measureCoilXTemperature = this._io.readU2be();
+ this.measureCoilYTemperature = this._io.readU2be();
+ this.measureCoilZTemperature = this._io.readU2be();
+ this.mcuTemperature = this._io.readU2be();
+ this.sideAAntsTemperature = this._io.readU2be();
+ this.sideAAntsDeploymentStatus = this._io.readU2be();
+ this.voltBrdSupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vDistInputRaw = this._io.readU2be();
+ this.iDistInputRaw = this._io.readU2be();
+ this.pDistInputRaw = this._io.readU2be();
+ this.vBattInputRaw = this._io.readU2be();
+ this.iBattInputRaw = this._io.readU2be();
+ this.pBattInputRaw = this._io.readU2be();
+ this.statObcOn = this._io.readU2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vObc00 = this._io.readU2be();
+ this.iObc00 = this._io.readU2be();
+ this.pObc00 = this._io.readU2be();
+ this.vObc01 = this._io.readU2be();
+ this.iObc01 = this._io.readU2be();
+ this.pObc01 = this._io.readU2be();
+ this.vObc02 = this._io.readU2be();
+ this.iObc02 = this._io.readU2be();
+ this.pObc02 = this._io.readU2be();
+ this.vObc03 = this._io.readU2be();
+ this.iObc03 = this._io.readU2be();
+ this.pObc03 = this._io.readU2be();
+ this.vObc05 = this._io.readU2be();
+ this.iObc05 = this._io.readU2be();
+ this.pObc05 = this._io.readU2be();
+ this.vObc06 = this._io.readU2be();
+ this.iObc06 = this._io.readU2be();
+ this.pObc06 = this._io.readU2be();
+ this.statusStid = this._io.readU1();
+ this.statusIvid = this._io.readU1();
+ this.statusRc = this._io.readU1();
+ this.statusBid = this._io.readU1();
+ this.statusCmderr = this._io.readBitsIntBe(4);
+ this.statusStat = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.uptime = this._io.readU4be();
+ this.error = this._io.readU2be();
+ this.rcCntPwron = this._io.readU2be();
+ this.rcCntWdg = this._io.readU2be();
+ this.rcCntCmd = this._io.readU2be();
+ this.rcCntMcu = this._io.readU2be();
+ this.rcCntEmlopo = this._io.readU2be();
+ this.prevcmdElapsed = this._io.readU2be();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Double measureCoilYTemperatureC;
+
+ public Double measureCoilYTemperatureC() {
+ if (this.measureCoilYTemperatureC != null) return this.measureCoilYTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilYTemperatureC = _tmp;
+ return this.measureCoilYTemperatureC;
+ }
+
+ private Integer rcCntPwronRaw;
+
+ public Integer rcCntPwronRaw() {
+ if (this.rcCntPwronRaw != null) return this.rcCntPwronRaw;
+ int _tmp = (int) (rcCntPwron());
+ this.rcCntPwronRaw = _tmp;
+ return this.rcCntPwronRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ /** : value Nominal = 0 No deploy = 0x11 Deployment Debug = 0xDB */
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Double vDistInputRawV;
+
+ public Double vDistInputRawV() {
+ if (this.vDistInputRawV != null) return this.vDistInputRawV;
+ double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vDistInputRawV = _tmp;
+ return this.vDistInputRawV;
+ }
+
+ private Double iObc05Ma;
+
+ public Double iObc05Ma() {
+ if (this.iObc05Ma != null) return this.iObc05Ma;
+ double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
+ this.iObc05Ma = _tmp;
+ return this.iObc05Ma;
+ }
+
+ private Double trxvutxTotalSupplyCurrentMa;
+
+ public Double trxvutxTotalSupplyCurrentMa() {
+ if (this.trxvutxTotalSupplyCurrentMa != null) return this.trxvutxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvutxTotalSupplyCurrent()));
+ this.trxvutxTotalSupplyCurrentMa = _tmp;
+ return this.trxvutxTotalSupplyCurrentMa;
+ }
+
+ private Integer lastResetReasonRaw;
+
+ /**
+ * : last reset value First start = 0 TC Init received = 0x80 No TC since 4 days = 0x81 Unknown
+ * reason = 0x81
+ */
+ public Integer lastResetReasonRaw() {
+ if (this.lastResetReasonRaw != null) return this.lastResetReasonRaw;
+ int _tmp = (int) (lastResetReason());
+ this.lastResetReasonRaw = _tmp;
+ return this.lastResetReasonRaw;
+ }
+
+ private Double trxvutxPowerAmplifierCurrentMa;
+
+ public Double trxvutxPowerAmplifierCurrentMa() {
+ if (this.trxvutxPowerAmplifierCurrentMa != null) return this.trxvutxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvutxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvutxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvutxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalStrengthDbm;
+
+ public Double trxvurxInstantaneousReceivedSignalStrengthDbm() {
+ if (this.trxvurxInstantaneousReceivedSignalStrengthDbm != null)
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ double _tmp =
+ (double) (((trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() * 0.03) - 152));
+ this.trxvurxInstantaneousReceivedSignalStrengthDbm = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalStrengthDbm;
+ }
+
+ private Double pObc05Mw;
+
+ public Double pObc05Mw() {
+ if (this.pObc05Mw != null) return this.pObc05Mw;
+ double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
+ this.pObc05Mw = _tmp;
+ return this.pObc05Mw;
+ }
+
+ private Integer statObcOnRaw;
+
+ /** bit n = 1 indicates the channel n is ON 9 firsts bits used */
+ public Integer statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ int _tmp = (int) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Long statusStatRaw;
+
+ public Long statusStatRaw() {
+ if (this.statusStatRaw != null) return this.statusStatRaw;
+ long _tmp = (long) (statusStat());
+ this.statusStatRaw = _tmp;
+ return this.statusStatRaw;
+ }
+
+ private Double pObc00Mw;
+
+ public Double pObc00Mw() {
+ if (this.pObc00Mw != null) return this.pObc00Mw;
+ double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
+ this.pObc00Mw = _tmp;
+ return this.pObc00Mw;
+ }
+
+ private Double trxvurxInstantaneousReceivedSignalDopplerHz;
+
+ public Double trxvurxInstantaneousReceivedSignalDopplerHz() {
+ if (this.trxvurxInstantaneousReceivedSignalDopplerHz != null)
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ double _tmp =
+ (double)
+ (((trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() * 13.552)
+ - 22300));
+ this.trxvurxInstantaneousReceivedSignalDopplerHz = _tmp;
+ return this.trxvurxInstantaneousReceivedSignalDopplerHz;
+ }
+
+ private Double vObc02V;
+
+ public Double vObc02V() {
+ if (this.vObc02V != null) return this.vObc02V;
+ double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
+ this.vObc02V = _tmp;
+ return this.vObc02V;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Double trxvurxSupplyVoltageV;
+
+ public Double trxvurxSupplyVoltageV() {
+ if (this.trxvurxSupplyVoltageV != null) return this.trxvurxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvurxSupplyVoltage()));
+ this.trxvurxSupplyVoltageV = _tmp;
+ return this.trxvurxSupplyVoltageV;
+ }
+
+ private Double pObc06Mw;
+
+ public Double pObc06Mw() {
+ if (this.pObc06Mw != null) return this.pObc06Mw;
+ double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
+ this.pObc06Mw = _tmp;
+ return this.pObc06Mw;
+ }
+
+ private Integer modeRaw;
+
+ /** value : 0 = Startup 1 = Nominal 2 = Safety 3 = Emergency low power 8 */
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Double trxvurxLocalOscillatorTemperatureC;
+
+ public Double trxvurxLocalOscillatorTemperatureC() {
+ if (this.trxvurxLocalOscillatorTemperatureC != null)
+ return this.trxvurxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvurxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvurxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvurxLocalOscillatorTemperatureC;
+ }
+
+ private Long statusCmderrRaw;
+
+ public Long statusCmderrRaw() {
+ if (this.statusCmderrRaw != null) return this.statusCmderrRaw;
+ long _tmp = (long) (statusCmderr());
+ this.statusCmderrRaw = _tmp;
+ return this.statusCmderrRaw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Double pObc01Mw;
+
+ public Double pObc01Mw() {
+ if (this.pObc01Mw != null) return this.pObc01Mw;
+ double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
+ this.pObc01Mw = _tmp;
+ return this.pObc01Mw;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Double trxvurxTransmitterCurrentMa;
+
+ public Double trxvurxTransmitterCurrentMa() {
+ if (this.trxvurxTransmitterCurrentMa != null) return this.trxvurxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvurxTransmitterCurrent() * 0.16643964));
+ this.trxvurxTransmitterCurrentMa = _tmp;
+ return this.trxvurxTransmitterCurrentMa;
+ }
+
+ private Integer rcCntCmdRaw;
+
+ public Integer rcCntCmdRaw() {
+ if (this.rcCntCmdRaw != null) return this.rcCntCmdRaw;
+ int _tmp = (int) (rcCntCmd());
+ this.rcCntCmdRaw = _tmp;
+ return this.rcCntCmdRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ /** value : IDLE = 0 SELFTEST = 1 DETUMBLE = 2 */
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Integer statObcOcfRaw;
+
+ /** bit n = 1 indicates a overcurrent on the channel n 9 firsts bits used */
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Double measureCoilZCurrentMa;
+
+ public Double measureCoilZCurrentMa() {
+ if (this.measureCoilZCurrentMa != null) return this.measureCoilZCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
+ this.measureCoilZCurrentMa = _tmp;
+ return this.measureCoilZCurrentMa;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long uptimeRaw;
+
+ public Long uptimeRaw() {
+ if (this.uptimeRaw != null) return this.uptimeRaw;
+ long _tmp = (long) (uptime());
+ this.uptimeRaw = _tmp;
+ return this.uptimeRaw;
+ }
+
+ private Double voltBrdSupRawV;
+
+ public Double voltBrdSupRawV() {
+ if (this.voltBrdSupRawV != null) return this.voltBrdSupRawV;
+ double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
+ this.voltBrdSupRawV = _tmp;
+ return this.voltBrdSupRawV;
+ }
+
+ private Double measureCoilZTemperatureC;
+
+ public Double measureCoilZTemperatureC() {
+ if (this.measureCoilZTemperatureC != null) return this.measureCoilZTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilZTemperatureC = _tmp;
+ return this.measureCoilZTemperatureC;
+ }
+
+ private Double iObc00Ma;
+
+ public Double iObc00Ma() {
+ if (this.iObc00Ma != null) return this.iObc00Ma;
+ double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
+ this.iObc00Ma = _tmp;
+ return this.iObc00Ma;
+ }
+
+ private Integer rcCntWdgRaw;
+
+ public Integer rcCntWdgRaw() {
+ if (this.rcCntWdgRaw != null) return this.rcCntWdgRaw;
+ int _tmp = (int) (rcCntWdg());
+ this.rcCntWdgRaw = _tmp;
+ return this.rcCntWdgRaw;
+ }
+
+ private Double pDistInputRawMw;
+
+ public Double pDistInputRawMw() {
+ if (this.pDistInputRawMw != null) return this.pDistInputRawMw;
+ double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
+ this.pDistInputRawMw = _tmp;
+ return this.pDistInputRawMw;
+ }
+
+ private Double measureCoilXCurrentMa;
+
+ public Double measureCoilXCurrentMa() {
+ if (this.measureCoilXCurrentMa != null) return this.measureCoilXCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
+ this.measureCoilXCurrentMa = _tmp;
+ return this.measureCoilXCurrentMa;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Integer resetOrderRaw;
+
+ /** Order by TC = 0xCA No order = 0 */
+ public Integer resetOrderRaw() {
+ if (this.resetOrderRaw != null) return this.resetOrderRaw;
+ int _tmp = (int) (resetOrder());
+ this.resetOrderRaw = _tmp;
+ return this.resetOrderRaw;
+ }
+
+ private Double trxvutxSupplyVoltageV;
+
+ public Double trxvutxSupplyVoltageV() {
+ if (this.trxvutxSupplyVoltageV != null) return this.trxvutxSupplyVoltageV;
+ double _tmp = (double) ((0.00488 * trxvutxSupplyVoltage()));
+ this.trxvutxSupplyVoltageV = _tmp;
+ return this.trxvutxSupplyVoltageV;
+ }
+
+ private Double vObc06V;
+
+ public Double vObc06V() {
+ if (this.vObc06V != null) return this.vObc06V;
+ double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
+ this.vObc06V = _tmp;
+ return this.vObc06V;
+ }
+
+ private Double iObc03Ma;
+
+ public Double iObc03Ma() {
+ if (this.iObc03Ma != null) return this.iObc03Ma;
+ double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
+ this.iObc03Ma = _tmp;
+ return this.iObc03Ma;
+ }
+
+ private Double vObc03V;
+
+ public Double vObc03V() {
+ if (this.vObc03V != null) return this.vObc03V;
+ double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
+ this.vObc03V = _tmp;
+ return this.vObc03V;
+ }
+
+ private Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfReflectedPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfReflectedPowerFromTransmitterPortMw;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Double iBattInputRawMa;
+
+ public Double iBattInputRawMa() {
+ if (this.iBattInputRawMa != null) return this.iBattInputRawMa;
+ double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
+ this.iBattInputRawMa = _tmp;
+ return this.iBattInputRawMa;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Double trxvutxLocalOscillatorTemperatureC;
+
+ public Double trxvutxLocalOscillatorTemperatureC() {
+ if (this.trxvutxLocalOscillatorTemperatureC != null)
+ return this.trxvutxLocalOscillatorTemperatureC;
+ double _tmp = (double) (((trxvutxLocalOscillatorTemperature() * -0.07669) + 195.6037));
+ this.trxvutxLocalOscillatorTemperatureC = _tmp;
+ return this.trxvutxLocalOscillatorTemperatureC;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Double iObc02Ma;
+
+ public Double iObc02Ma() {
+ if (this.iObc02Ma != null) return this.iObc02Ma;
+ double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
+ this.iObc02Ma = _tmp;
+ return this.iObc02Ma;
+ }
+
+ private Integer statusStidRaw;
+
+ public Integer statusStidRaw() {
+ if (this.statusStidRaw != null) return this.statusStidRaw;
+ int _tmp = (int) (statusStid());
+ this.statusStidRaw = _tmp;
+ return this.statusStidRaw;
+ }
+
+ private Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+
+ public Double trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw() {
+ if (this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw != null)
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ double _tmp =
+ (double)
+ (((((1000.0 * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * trxvutxInstantaneousRfForwardPowerFromTransmitterPort())
+ * 5.887)
+ * 0.00001));
+ this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw = _tmp;
+ return this.trxvutxInstantaneousRfForwardPowerFromTransmitterPortMw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double iObc06Ma;
+
+ public Double iObc06Ma() {
+ if (this.iObc06Ma != null) return this.iObc06Ma;
+ double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
+ this.iObc06Ma = _tmp;
+ return this.iObc06Ma;
+ }
+
+ private Integer statusRcRaw;
+
+ public Integer statusRcRaw() {
+ if (this.statusRcRaw != null) return this.statusRcRaw;
+ int _tmp = (int) (statusRc());
+ this.statusRcRaw = _tmp;
+ return this.statusRcRaw;
+ }
+
+ private Integer errorRaw;
+
+ public Integer errorRaw() {
+ if (this.errorRaw != null) return this.errorRaw;
+ int _tmp = (int) (error());
+ this.errorRaw = _tmp;
+ return this.errorRaw;
+ }
+
+ private Double iDistInputRawMa;
+
+ public Double iDistInputRawMa() {
+ if (this.iDistInputRawMa != null) return this.iDistInputRawMa;
+ double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
+ this.iDistInputRawMa = _tmp;
+ return this.iDistInputRawMa;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Double measureCoilYCurrentMa;
+
+ public Double measureCoilYCurrentMa() {
+ if (this.measureCoilYCurrentMa != null) return this.measureCoilYCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
+ this.measureCoilYCurrentMa = _tmp;
+ return this.measureCoilYCurrentMa;
+ }
+
+ private Double vObc01V;
+
+ public Double vObc01V() {
+ if (this.vObc01V != null) return this.vObc01V;
+ double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
+ this.vObc01V = _tmp;
+ return this.vObc01V;
+ }
+
+ private Double pBattInputRawMw;
+
+ public Double pBattInputRawMw() {
+ if (this.pBattInputRawMw != null) return this.pBattInputRawMw;
+ double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
+ this.pBattInputRawMw = _tmp;
+ return this.pBattInputRawMw;
+ }
+
+ private Double iObc01Ma;
+
+ public Double iObc01Ma() {
+ if (this.iObc01Ma != null) return this.iObc01Ma;
+ double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
+ this.iObc01Ma = _tmp;
+ return this.iObc01Ma;
+ }
+
+ private Long nbTmInSdcardRaw;
+
+ public Long nbTmInSdcardRaw() {
+ if (this.nbTmInSdcardRaw != null) return this.nbTmInSdcardRaw;
+ long _tmp = (long) (nbTmInSdcard());
+ this.nbTmInSdcardRaw = _tmp;
+ return this.nbTmInSdcardRaw;
+ }
+
+ private Double tempRawT;
+
+ public Double tempRawT() {
+ if (this.tempRawT != null) return this.tempRawT;
+ double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
+ this.tempRawT = _tmp;
+ return this.tempRawT;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Double trxvutxReceiverCurrentMa;
+
+ public Double trxvutxReceiverCurrentMa() {
+ if (this.trxvutxReceiverCurrentMa != null) return this.trxvutxReceiverCurrentMa;
+ double _tmp = (double) ((trxvutxReceiverCurrent() * 0.16643964));
+ this.trxvutxReceiverCurrentMa = _tmp;
+ return this.trxvutxReceiverCurrentMa;
+ }
+
+ private Integer rcCntEmlopoRaw;
+
+ public Integer rcCntEmlopoRaw() {
+ if (this.rcCntEmlopoRaw != null) return this.rcCntEmlopoRaw;
+ int _tmp = (int) (rcCntEmlopo());
+ this.rcCntEmlopoRaw = _tmp;
+ return this.rcCntEmlopoRaw;
+ }
+
+ private Integer rcCntMcuRaw;
+
+ public Integer rcCntMcuRaw() {
+ if (this.rcCntMcuRaw != null) return this.rcCntMcuRaw;
+ int _tmp = (int) (rcCntMcu());
+ this.rcCntMcuRaw = _tmp;
+ return this.rcCntMcuRaw;
+ }
+
+ private Integer statusBidRaw;
+
+ public Integer statusBidRaw() {
+ if (this.statusBidRaw != null) return this.statusBidRaw;
+ int _tmp = (int) (statusBid());
+ this.statusBidRaw = _tmp;
+ return this.statusBidRaw;
+ }
+
+ private Integer statusIvidRaw;
+
+ public Integer statusIvidRaw() {
+ if (this.statusIvidRaw != null) return this.statusIvidRaw;
+ int _tmp = (int) (statusIvid());
+ this.statusIvidRaw = _tmp;
+ return this.statusIvidRaw;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Double pObc03Mw;
+
+ public Double pObc03Mw() {
+ if (this.pObc03Mw != null) return this.pObc03Mw;
+ double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
+ this.pObc03Mw = _tmp;
+ return this.pObc03Mw;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private Double trxvurxPowerAmplifierCurrentMa;
+
+ public Double trxvurxPowerAmplifierCurrentMa() {
+ if (this.trxvurxPowerAmplifierCurrentMa != null) return this.trxvurxPowerAmplifierCurrentMa;
+ double _tmp = (double) (((1000.0 * trxvurxPowerAmplifierCurrent()) * 0.16643964));
+ this.trxvurxPowerAmplifierCurrentMa = _tmp;
+ return this.trxvurxPowerAmplifierCurrentMa;
+ }
+
+ private Double trxvurxTotalSupplyCurrentMa;
+
+ public Double trxvurxTotalSupplyCurrentMa() {
+ if (this.trxvurxTotalSupplyCurrentMa != null) return this.trxvurxTotalSupplyCurrentMa;
+ double _tmp = (double) ((0.16643964 * trxvurxTotalSupplyCurrent()));
+ this.trxvurxTotalSupplyCurrentMa = _tmp;
+ return this.trxvurxTotalSupplyCurrentMa;
+ }
+
+ private Double vObc05V;
+
+ public Double vObc05V() {
+ if (this.vObc05V != null) return this.vObc05V;
+ double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
+ this.vObc05V = _tmp;
+ return this.vObc05V;
+ }
+
+ private Double trxvutxPowerAmplifierTemperatureC;
+
+ public Double trxvutxPowerAmplifierTemperatureC() {
+ if (this.trxvutxPowerAmplifierTemperatureC != null)
+ return this.trxvutxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvutxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvutxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvutxPowerAmplifierTemperatureC;
+ }
+
+ private Long nbTcSinceFirstStartRaw;
+
+ public Long nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ long _tmp = (long) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Double trxvutxTransmitterCurrentMa;
+
+ public Double trxvutxTransmitterCurrentMa() {
+ if (this.trxvutxTransmitterCurrentMa != null) return this.trxvutxTransmitterCurrentMa;
+ double _tmp = (double) ((trxvutxTransmitterCurrent() * 0.16643964));
+ this.trxvutxTransmitterCurrentMa = _tmp;
+ return this.trxvutxTransmitterCurrentMa;
+ }
+
+ private Double mcuTemperatureC;
+
+ public Double mcuTemperatureC() {
+ if (this.mcuTemperatureC != null) return this.mcuTemperatureC;
+ double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
+ this.mcuTemperatureC = _tmp;
+ return this.mcuTemperatureC;
+ }
+
+ private Double vObc00V;
+
+ public Double vObc00V() {
+ if (this.vObc00V != null) return this.vObc00V;
+ double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
+ this.vObc00V = _tmp;
+ return this.vObc00V;
+ }
+
+ private Long nbTcPingSinceFirstStartRaw;
+
+ public Long nbTcPingSinceFirstStartRaw() {
+ if (this.nbTcPingSinceFirstStartRaw != null) return this.nbTcPingSinceFirstStartRaw;
+ long _tmp = (long) (nbTcPingSinceFirstStart());
+ this.nbTcPingSinceFirstStartRaw = _tmp;
+ return this.nbTcPingSinceFirstStartRaw;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Double batTemp2RawT;
+
+ public Double batTemp2RawT() {
+ if (this.batTemp2RawT != null) return this.batTemp2RawT;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2RawT = _tmp;
+ return this.batTemp2RawT;
+ }
+
+ private Double vBattInputRawV;
+
+ public Double vBattInputRawV() {
+ if (this.vBattInputRawV != null) return this.vBattInputRawV;
+ double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vBattInputRawV = _tmp;
+ return this.vBattInputRawV;
+ }
+
+ private Double trxvurxPowerAmplifierTemperatureC;
+
+ public Double trxvurxPowerAmplifierTemperatureC() {
+ if (this.trxvurxPowerAmplifierTemperatureC != null)
+ return this.trxvurxPowerAmplifierTemperatureC;
+ double _tmp = (double) (((trxvurxPowerAmplifierTemperature() * -0.07669) + 195.6037));
+ this.trxvurxPowerAmplifierTemperatureC = _tmp;
+ return this.trxvurxPowerAmplifierTemperatureC;
+ }
+
+ private Integer resetCauseRaw;
+
+ /**
+ * value : 0 = Power-on; system returned from an unpowered state (e.g. power cycle). 1 =
+ * Watchdog; system was reset due to watchdog timeout, caused by a too-long delay between
+ * command interactions with the parent system. 2 = Commanded; system was reset after having
+ * received a reset command. 3 = Control system reset; an upset in the EPS control system caused
+ * a reset. 4 = Emlopo; emergency low power mode was engaged because the input voltage dropped
+ * below the threshold.
+ */
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Long nbBadTcSinceFirstStartRaw;
+
+ public Long nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ long _tmp = (long) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Double pObc02Mw;
+
+ public Double pObc02Mw() {
+ if (this.pObc02Mw != null) return this.pObc02Mw;
+ double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
+ this.pObc02Mw = _tmp;
+ return this.pObc02Mw;
+ }
+
+ private Integer swModeRaw;
+
+ /**
+ * : mode value MODE_INIT = 0 MODE_DETUMBLING = 1 MODE_STANDBY = 2 MODE_OPERATIONAL = 3
+ * MODE_SAFE = 4 MODE_TRANSPONDER = 5
+ */
+ public Integer swModeRaw() {
+ if (this.swModeRaw != null) return this.swModeRaw;
+ int _tmp = (int) (swMode());
+ this.swModeRaw = _tmp;
+ return this.swModeRaw;
+ }
+
+ private Integer sideAAntsTemperatureRaw;
+
+ public Integer sideAAntsTemperatureRaw() {
+ if (this.sideAAntsTemperatureRaw != null) return this.sideAAntsTemperatureRaw;
+ int _tmp = (int) (sideAAntsTemperature());
+ this.sideAAntsTemperatureRaw = _tmp;
+ return this.sideAAntsTemperatureRaw;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Integer sideAAntsDeploymentStatusRaw;
+
+ public Integer sideAAntsDeploymentStatusRaw() {
+ if (this.sideAAntsDeploymentStatusRaw != null) return this.sideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (sideAAntsDeploymentStatus());
+ this.sideAAntsDeploymentStatusRaw = _tmp;
+ return this.sideAAntsDeploymentStatusRaw;
+ }
+
+ private Double measureCoilXTemperatureC;
+
+ public Double measureCoilXTemperatureC() {
+ if (this.measureCoilXTemperatureC != null) return this.measureCoilXTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilXTemperatureC = _tmp;
+ return this.measureCoilXTemperatureC;
+ }
+
+ private Integer confRaw;
+
+ /**
+ * value : 0 = Parameters have not been altered since the last load/save. 1 = Parameters have
+ * been altered since the last load/save.
+ */
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Integer formatSdcardOrderRaw;
+
+ /**
+ * Order to Format SdCard 0 = 0 Order to Format SdCard 1 = 1 Order to NOT Format SdCard 0 = 0xAC
+ * Order to NOT Format SdCard 1 = 0xAD
+ */
+ public Integer formatSdcardOrderRaw() {
+ if (this.formatSdcardOrderRaw != null) return this.formatSdcardOrderRaw;
+ int _tmp = (int) (formatSdcardOrder());
+ this.formatSdcardOrderRaw = _tmp;
+ return this.formatSdcardOrderRaw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private Double trxvurxReceiverCurrentMa;
+
+ public Double trxvurxReceiverCurrentMa() {
+ if (this.trxvurxReceiverCurrentMa != null) return this.trxvurxReceiverCurrentMa;
+ double _tmp = (double) ((trxvurxReceiverCurrent() * 0.16643964));
+ this.trxvurxReceiverCurrentMa = _tmp;
+ return this.trxvurxReceiverCurrentMa;
+ }
+
+ private Integer prevcmdElapsedRaw;
+
+ public Integer prevcmdElapsedRaw() {
+ if (this.prevcmdElapsedRaw != null) return this.prevcmdElapsedRaw;
+ int _tmp = (int) (prevcmdElapsed());
+ this.prevcmdElapsedRaw = _tmp;
+ return this.prevcmdElapsedRaw;
+ }
+
+ private int swMode;
+ private int lastResetReason;
+ private int resetOrder;
+ private int nbReset;
+ private int formatSdcardOrder;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTcSinceFirstStart;
+ private long nbTcPingSinceFirstStart;
+ private long nbBadTcSinceFirstStart;
+ private long nbTmInSdcard;
+ private long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ private long trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ private long trxvutxSupplyVoltage;
+ private long trxvutxTotalSupplyCurrent;
+ private long trxvutxTransmitterCurrent;
+ private long trxvutxReceiverCurrent;
+ private long trxvutxPowerAmplifierCurrent;
+ private long trxvutxPowerAmplifierTemperature;
+ private long trxvutxLocalOscillatorTemperature;
+ private long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ private long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ private long trxvurxSupplyVoltage;
+ private long trxvurxTotalSupplyCurrent;
+ private long trxvurxTransmitterCurrent;
+ private long trxvurxReceiverCurrent;
+ private long trxvurxPowerAmplifierCurrent;
+ private long trxvurxPowerAmplifierTemperature;
+ private long trxvurxLocalOscillatorTemperature;
+ private int imtqSystemStateMode;
+ private int measureCoilXCurrent;
+ private int measureCoilYCurrent;
+ private int measureCoilZCurrent;
+ private int measureCoilXTemperature;
+ private int measureCoilYTemperature;
+ private int measureCoilZTemperature;
+ private int mcuTemperature;
+ private int sideAAntsTemperature;
+ private int sideAAntsDeploymentStatus;
+ private int voltBrdSupRaw;
+ private int tempRaw;
+ private int vDistInputRaw;
+ private int iDistInputRaw;
+ private int pDistInputRaw;
+ private int vBattInputRaw;
+ private int iBattInputRaw;
+ private int pBattInputRaw;
+ private int statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private int vObc00;
+ private int iObc00;
+ private int pObc00;
+ private int vObc01;
+ private int iObc01;
+ private int pObc01;
+ private int vObc02;
+ private int iObc02;
+ private int pObc02;
+ private int vObc03;
+ private int iObc03;
+ private int pObc03;
+ private int vObc05;
+ private int iObc05;
+ private int pObc05;
+ private int vObc06;
+ private int iObc06;
+ private int pObc06;
+ private int statusStid;
+ private int statusIvid;
+ private int statusRc;
+ private int statusBid;
+ private long statusCmderr;
+ private long statusStat;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long uptime;
+ private int error;
+ private int rcCntPwron;
+ private int rcCntWdg;
+ private int rcCntCmd;
+ private int rcCntMcu;
+ private int rcCntEmlopo;
+ private int prevcmdElapsed;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int swMode() {
+ return swMode;
+ }
+
+ public int lastResetReason() {
+ return lastResetReason;
+ }
+
+ public int resetOrder() {
+ return resetOrder;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int formatSdcardOrder() {
+ return formatSdcardOrder;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public long nbTcPingSinceFirstStart() {
+ return nbTcPingSinceFirstStart;
+ }
+
+ public long nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long nbTmInSdcard() {
+ return nbTmInSdcard;
+ }
+
+ public long trxvutxInstantaneousRfReflectedPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfReflectedPowerFromTransmitterPort;
+ }
+
+ public long trxvutxInstantaneousRfForwardPowerFromTransmitterPort() {
+ return trxvutxInstantaneousRfForwardPowerFromTransmitterPort;
+ }
+
+ public long trxvutxSupplyVoltage() {
+ return trxvutxSupplyVoltage;
+ }
+
+ public long trxvutxTotalSupplyCurrent() {
+ return trxvutxTotalSupplyCurrent;
+ }
+
+ public long trxvutxTransmitterCurrent() {
+ return trxvutxTransmitterCurrent;
+ }
+
+ public long trxvutxReceiverCurrent() {
+ return trxvutxReceiverCurrent;
+ }
+
+ public long trxvutxPowerAmplifierCurrent() {
+ return trxvutxPowerAmplifierCurrent;
+ }
+
+ public long trxvutxPowerAmplifierTemperature() {
+ return trxvutxPowerAmplifierTemperature;
+ }
+
+ public long trxvutxLocalOscillatorTemperature() {
+ return trxvutxLocalOscillatorTemperature;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalDopplerOffsetAtTheReceiverPort;
+ }
+
+ public long trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort() {
+ return trxvurxInstantaneousReceivedSignalStrengthAtTheReceiverPort;
+ }
+
+ public long trxvurxSupplyVoltage() {
+ return trxvurxSupplyVoltage;
+ }
+
+ public long trxvurxTotalSupplyCurrent() {
+ return trxvurxTotalSupplyCurrent;
+ }
+
+ public long trxvurxTransmitterCurrent() {
+ return trxvurxTransmitterCurrent;
+ }
+
+ public long trxvurxReceiverCurrent() {
+ return trxvurxReceiverCurrent;
+ }
+
+ public long trxvurxPowerAmplifierCurrent() {
+ return trxvurxPowerAmplifierCurrent;
+ }
+
+ public long trxvurxPowerAmplifierTemperature() {
+ return trxvurxPowerAmplifierTemperature;
+ }
+
+ public long trxvurxLocalOscillatorTemperature() {
+ return trxvurxLocalOscillatorTemperature;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public int measureCoilXCurrent() {
+ return measureCoilXCurrent;
+ }
+
+ public int measureCoilYCurrent() {
+ return measureCoilYCurrent;
+ }
+
+ public int measureCoilZCurrent() {
+ return measureCoilZCurrent;
+ }
+
+ public int measureCoilXTemperature() {
+ return measureCoilXTemperature;
+ }
+
+ public int measureCoilYTemperature() {
+ return measureCoilYTemperature;
+ }
+
+ public int measureCoilZTemperature() {
+ return measureCoilZTemperature;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int sideAAntsTemperature() {
+ return sideAAntsTemperature;
+ }
+
+ public int sideAAntsDeploymentStatus() {
+ return sideAAntsDeploymentStatus;
+ }
+
+ public int voltBrdSupRaw() {
+ return voltBrdSupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public int vDistInputRaw() {
+ return vDistInputRaw;
+ }
+
+ public int iDistInputRaw() {
+ return iDistInputRaw;
+ }
+
+ public int pDistInputRaw() {
+ return pDistInputRaw;
+ }
+
+ public int vBattInputRaw() {
+ return vBattInputRaw;
+ }
+
+ public int iBattInputRaw() {
+ return iBattInputRaw;
+ }
+
+ public int pBattInputRaw() {
+ return pBattInputRaw;
+ }
+
+ public int statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public int vObc00() {
+ return vObc00;
+ }
+
+ public int iObc00() {
+ return iObc00;
+ }
+
+ public int pObc00() {
+ return pObc00;
+ }
+
+ public int vObc01() {
+ return vObc01;
+ }
+
+ public int iObc01() {
+ return iObc01;
+ }
+
+ public int pObc01() {
+ return pObc01;
+ }
+
+ public int vObc02() {
+ return vObc02;
+ }
+
+ public int iObc02() {
+ return iObc02;
+ }
+
+ public int pObc02() {
+ return pObc02;
+ }
+
+ public int vObc03() {
+ return vObc03;
+ }
+
+ public int iObc03() {
+ return iObc03;
+ }
+
+ public int pObc03() {
+ return pObc03;
+ }
+
+ public int vObc05() {
+ return vObc05;
+ }
+
+ public int iObc05() {
+ return iObc05;
+ }
+
+ public int pObc05() {
+ return pObc05;
+ }
+
+ public int vObc06() {
+ return vObc06;
+ }
+
+ public int iObc06() {
+ return iObc06;
+ }
+
+ public int pObc06() {
+ return pObc06;
+ }
+
+ public int statusStid() {
+ return statusStid;
+ }
+
+ public int statusIvid() {
+ return statusIvid;
+ }
+
+ public int statusRc() {
+ return statusRc;
+ }
+
+ public int statusBid() {
+ return statusBid;
+ }
+
+ public long statusCmderr() {
+ return statusCmderr;
+ }
+
+ public long statusStat() {
+ return statusStat;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long uptime() {
+ return uptime;
+ }
+
+ public int error() {
+ return error;
+ }
+
+ public int rcCntPwron() {
+ return rcCntPwron;
+ }
+
+ public int rcCntWdg() {
+ return rcCntWdg;
+ }
+
+ public int rcCntCmd() {
+ return rcCntCmd;
+ }
+
+ public int rcCntMcu() {
+ return rcCntMcu;
+ }
+
+ public int rcCntEmlopo() {
+ return rcCntEmlopo;
+ }
+
+ public int prevcmdElapsed() {
+ return prevcmdElapsed;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class ImtqHk extends KaitaiStruct {
+ public static ImtqHk fromFile(String fileName) throws IOException {
+ return new ImtqHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public ImtqHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public ImtqHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.digitaleVoltage = this._io.readU2be();
+ this.analogVoltage = this._io.readU2be();
+ this.digitalCurrent = this._io.readU2be();
+ this.analogCurrent = this._io.readU2be();
+ this.measureCoilXCurrent = this._io.readU2be();
+ this.measureCoilYCurrent = this._io.readU2be();
+ this.measureCoilZCurrent = this._io.readU2be();
+ this.measureCoilXTemperature = this._io.readU2be();
+ this.measureCoilYTemperature = this._io.readU2be();
+ this.measureCoilZTemperature = this._io.readU2be();
+ this.mcuTemperature = this._io.readU2be();
+ this.imtqSystemStateMode = this._io.readU1();
+ this.imtqSystemStateError = this._io.readU1();
+ this.imtqSystemStateConfiguration = this._io.readU1();
+ this.imtqSystemStateUptime = this._io.readU4be();
+ this.rawMagX = this._io.readU4be();
+ this.rawMagY = this._io.readU4be();
+ this.rawMagZ = this._io.readU4be();
+ this.cOILACT = this._io.readU1();
+ }
+
+ private Integer analogCurrentRaw;
+
+ public Integer analogCurrentRaw() {
+ if (this.analogCurrentRaw != null) return this.analogCurrentRaw;
+ int _tmp = (int) (analogCurrent());
+ this.analogCurrentRaw = _tmp;
+ return this.analogCurrentRaw;
+ }
+
+ private Double measureCoilYTemperatureC;
+
+ public Double measureCoilYTemperatureC() {
+ if (this.measureCoilYTemperatureC != null) return this.measureCoilYTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilYTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilYTemperatureC = _tmp;
+ return this.measureCoilYTemperatureC;
+ }
+
+ private Integer cOILACTRaw;
+
+ public Integer cOILACTRaw() {
+ if (this.cOILACTRaw != null) return this.cOILACTRaw;
+ int _tmp = (int) (cOILACT());
+ this.cOILACTRaw = _tmp;
+ return this.cOILACTRaw;
+ }
+
+ private Long rawMagZRaw;
+
+ public Long rawMagZRaw() {
+ if (this.rawMagZRaw != null) return this.rawMagZRaw;
+ long _tmp = (long) (rawMagZ());
+ this.rawMagZRaw = _tmp;
+ return this.rawMagZRaw;
+ }
+
+ private Integer digitalCurrentRaw;
+
+ public Integer digitalCurrentRaw() {
+ if (this.digitalCurrentRaw != null) return this.digitalCurrentRaw;
+ int _tmp = (int) (digitalCurrent());
+ this.digitalCurrentRaw = _tmp;
+ return this.digitalCurrentRaw;
+ }
+
+ private Integer imtqSystemStateModeRaw;
+
+ public Integer imtqSystemStateModeRaw() {
+ if (this.imtqSystemStateModeRaw != null) return this.imtqSystemStateModeRaw;
+ int _tmp = (int) (imtqSystemStateMode());
+ this.imtqSystemStateModeRaw = _tmp;
+ return this.imtqSystemStateModeRaw;
+ }
+
+ private Double measureCoilZCurrentMa;
+
+ public Double measureCoilZCurrentMa() {
+ if (this.measureCoilZCurrentMa != null) return this.measureCoilZCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilZCurrent()) - 1.03)) / 0.48));
+ this.measureCoilZCurrentMa = _tmp;
+ return this.measureCoilZCurrentMa;
+ }
+
+ private Double measureCoilZTemperatureC;
+
+ public Double measureCoilZTemperatureC() {
+ if (this.measureCoilZTemperatureC != null) return this.measureCoilZTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilZTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilZTemperatureC = _tmp;
+ return this.measureCoilZTemperatureC;
+ }
+
+ private Double measureCoilXCurrentMa;
+
+ public Double measureCoilXCurrentMa() {
+ if (this.measureCoilXCurrentMa != null) return this.measureCoilXCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilXCurrent()) - 1.03)) / 2.0));
+ this.measureCoilXCurrentMa = _tmp;
+ return this.measureCoilXCurrentMa;
+ }
+
+ private Double measureCoilYCurrentMa;
+
+ public Double measureCoilYCurrentMa() {
+ if (this.measureCoilYCurrentMa != null) return this.measureCoilYCurrentMa;
+ double _tmp = (double) (((1000.0 * (((2.5 / 4095) * measureCoilYCurrent()) - 1.03)) / 2.0));
+ this.measureCoilYCurrentMa = _tmp;
+ return this.measureCoilYCurrentMa;
+ }
+
+ private Double digitaleVoltageV;
+
+ public Double digitaleVoltageV() {
+ if (this.digitaleVoltageV != null) return this.digitaleVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * digitaleVoltage()));
+ this.digitaleVoltageV = _tmp;
+ return this.digitaleVoltageV;
+ }
+
+ private Double analogVoltageV;
+
+ public Double analogVoltageV() {
+ if (this.analogVoltageV != null) return this.analogVoltageV;
+ double _tmp = (double) (((2 * (2.5 / 4095)) * analogVoltage()));
+ this.analogVoltageV = _tmp;
+ return this.analogVoltageV;
+ }
+
+ private Long rawMagXRaw;
+
+ public Long rawMagXRaw() {
+ if (this.rawMagXRaw != null) return this.rawMagXRaw;
+ long _tmp = (long) (rawMagX());
+ this.rawMagXRaw = _tmp;
+ return this.rawMagXRaw;
+ }
+
+ private Long imtqSystemStateUptimeRaw;
+
+ public Long imtqSystemStateUptimeRaw() {
+ if (this.imtqSystemStateUptimeRaw != null) return this.imtqSystemStateUptimeRaw;
+ long _tmp = (long) (imtqSystemStateUptime());
+ this.imtqSystemStateUptimeRaw = _tmp;
+ return this.imtqSystemStateUptimeRaw;
+ }
+
+ private Double mcuTemperatureC;
+
+ public Double mcuTemperatureC() {
+ if (this.mcuTemperatureC != null) return this.mcuTemperatureC;
+ double _tmp = (double) ((((((2.5 / 4095) * mcuTemperature()) - 0.680) * -1.0) / 0.00225));
+ this.mcuTemperatureC = _tmp;
+ return this.mcuTemperatureC;
+ }
+
+ private Integer imtqSystemStateConfigurationRaw;
+
+ public Integer imtqSystemStateConfigurationRaw() {
+ if (this.imtqSystemStateConfigurationRaw != null) return this.imtqSystemStateConfigurationRaw;
+ int _tmp = (int) (imtqSystemStateConfiguration());
+ this.imtqSystemStateConfigurationRaw = _tmp;
+ return this.imtqSystemStateConfigurationRaw;
+ }
+
+ private Double measureCoilXTemperatureC;
+
+ public Double measureCoilXTemperatureC() {
+ if (this.measureCoilXTemperatureC != null) return this.measureCoilXTemperatureC;
+ double _tmp =
+ (double) ((((((2.5 / 4095) * measureCoilXTemperature()) - 1.567) * -1.0) / 0.0081));
+ this.measureCoilXTemperatureC = _tmp;
+ return this.measureCoilXTemperatureC;
+ }
+
+ private Long rawMagYRaw;
+
+ public Long rawMagYRaw() {
+ if (this.rawMagYRaw != null) return this.rawMagYRaw;
+ long _tmp = (long) (rawMagY());
+ this.rawMagYRaw = _tmp;
+ return this.rawMagYRaw;
+ }
+
+ private Integer imtqSystemStateErrorRaw;
+
+ public Integer imtqSystemStateErrorRaw() {
+ if (this.imtqSystemStateErrorRaw != null) return this.imtqSystemStateErrorRaw;
+ int _tmp = (int) (imtqSystemStateError());
+ this.imtqSystemStateErrorRaw = _tmp;
+ return this.imtqSystemStateErrorRaw;
+ }
+
+ private int digitaleVoltage;
+ private int analogVoltage;
+ private int digitalCurrent;
+ private int analogCurrent;
+ private int measureCoilXCurrent;
+ private int measureCoilYCurrent;
+ private int measureCoilZCurrent;
+ private int measureCoilXTemperature;
+ private int measureCoilYTemperature;
+ private int measureCoilZTemperature;
+ private int mcuTemperature;
+ private int imtqSystemStateMode;
+ private int imtqSystemStateError;
+ private int imtqSystemStateConfiguration;
+ private long imtqSystemStateUptime;
+ private long rawMagX;
+ private long rawMagY;
+ private long rawMagZ;
+ private int cOILACT;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int digitaleVoltage() {
+ return digitaleVoltage;
+ }
+
+ public int analogVoltage() {
+ return analogVoltage;
+ }
+
+ public int digitalCurrent() {
+ return digitalCurrent;
+ }
+
+ public int analogCurrent() {
+ return analogCurrent;
+ }
+
+ public int measureCoilXCurrent() {
+ return measureCoilXCurrent;
+ }
+
+ public int measureCoilYCurrent() {
+ return measureCoilYCurrent;
+ }
+
+ public int measureCoilZCurrent() {
+ return measureCoilZCurrent;
+ }
+
+ public int measureCoilXTemperature() {
+ return measureCoilXTemperature;
+ }
+
+ public int measureCoilYTemperature() {
+ return measureCoilYTemperature;
+ }
+
+ public int measureCoilZTemperature() {
+ return measureCoilZTemperature;
+ }
+
+ public int mcuTemperature() {
+ return mcuTemperature;
+ }
+
+ public int imtqSystemStateMode() {
+ return imtqSystemStateMode;
+ }
+
+ public int imtqSystemStateError() {
+ return imtqSystemStateError;
+ }
+
+ public int imtqSystemStateConfiguration() {
+ return imtqSystemStateConfiguration;
+ }
+
+ public long imtqSystemStateUptime() {
+ return imtqSystemStateUptime;
+ }
+
+ public long rawMagX() {
+ return rawMagX;
+ }
+
+ public long rawMagY() {
+ return rawMagY;
+ }
+
+ public long rawMagZ() {
+ return rawMagZ;
+ }
+
+ public int cOILACT() {
+ return cOILACT;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class PacketSecondaryHeader extends KaitaiStruct {
+ public static PacketSecondaryHeader fromFile(String fileName) throws IOException {
+ return new PacketSecondaryHeader(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public PacketSecondaryHeader(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmPacketPusVersionNumber = this._io.readBitsIntBe(4);
+ this.spacecraftTimeReferenceStatus = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.serviceTypeId = this._io.readU1();
+ this.messageSubtypeId = this._io.readU1();
+ this.messageTypeCounter = this._io.readU2be();
+ this.destinationId = this._io.readU2be();
+ this.time = this._io.readU4be();
+ this.dummy1 = this._io.readU2be();
+ this.dummy2 = this._io.readU1();
+ this.sid = this._io.readU1();
+ }
+
+ private long tmPacketPusVersionNumber;
+ private long spacecraftTimeReferenceStatus;
+ private int serviceTypeId;
+ private int messageSubtypeId;
+ private int messageTypeCounter;
+ private int destinationId;
+ private long time;
+ private int dummy1;
+ private int dummy2;
+ private int sid;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public long tmPacketPusVersionNumber() {
+ return tmPacketPusVersionNumber;
+ }
+
+ public long spacecraftTimeReferenceStatus() {
+ return spacecraftTimeReferenceStatus;
+ }
+
+ public int serviceTypeId() {
+ return serviceTypeId;
+ }
+
+ public int messageSubtypeId() {
+ return messageSubtypeId;
+ }
+
+ public int messageTypeCounter() {
+ return messageTypeCounter;
+ }
+
+ public int destinationId() {
+ return destinationId;
+ }
+
+ public long time() {
+ return time;
+ }
+
+ public int dummy1() {
+ return dummy1;
+ }
+
+ public int dummy2() {
+ return dummy2;
+ }
+
+ public int sid() {
+ return sid;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class MsgOrUnknow extends KaitaiStruct {
+ public static MsgOrUnknow fromFile(String fileName) throws IOException {
+ return new MsgOrUnknow(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public MsgOrUnknow(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public MsgOrUnknow(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.data = this._io.readBytesFull();
+ }
+
+ private byte[] dataByte;
+
+ public byte[] dataByte() {
+ if (this.dataByte != null) return this.dataByte;
+ this.dataByte = data();
+ return this.dataByte;
+ }
+
+ private byte[] data;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public byte[] data() {
+ return data;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class CallsignRaw extends KaitaiStruct {
+ public static CallsignRaw fromFile(String fileName) throws IOException {
+ return new CallsignRaw(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public CallsignRaw(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, InspireSat7.Ax25Header _parent) {
+ this(_io, _parent, null);
+ }
+
+ public CallsignRaw(KaitaiStream _io, InspireSat7.Ax25Header _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this._raw__raw_callsignRor = this._io.readBytes(6);
+ this._raw_callsignRor = KaitaiStream.processRotateLeft(_raw__raw_callsignRor, 8 - (1), 1);
+ KaitaiStream _io__raw_callsignRor = new ByteBufferKaitaiStream(_raw_callsignRor);
+ this.callsignRor = new Callsign(_io__raw_callsignRor, this, _root);
+ }
+
+ private Callsign callsignRor;
+ private InspireSat7 _root;
+ private InspireSat7.Ax25Header _parent;
+ private byte[] _raw_callsignRor;
+ private byte[] _raw__raw_callsignRor;
+
+ public Callsign callsignRor() {
+ return callsignRor;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.Ax25Header _parent() {
+ return _parent;
+ }
+
+ public byte[] _raw_callsignRor() {
+ return _raw_callsignRor;
+ }
+
+ public byte[] _raw__raw_callsignRor() {
+ return _raw__raw_callsignRor;
+ }
+ }
+
+ public static class IobcHk extends KaitaiStruct {
+ public static IobcHk fromFile(String fileName) throws IOException {
+ return new IobcHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IobcHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IobcHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IobcHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorEnableStatus = this._io.readU1();
+ this.supervisorUptime = this._io.readU4be();
+ this.iobcUptime = this._io.readU4be();
+ this.iobcResetCount = this._io.readU4be();
+ this.iobcMeasureTemperature = this._io.readU2be();
+ this.iobcMeasure3v3In = this._io.readU2be();
+ this.iobcMeasure3v3 = this._io.readU2be();
+ this.iobcMeasure2vReference = this._io.readU2be();
+ this.iobcMeasure1v8 = this._io.readU2be();
+ this.iobcMeasure1v0 = this._io.readU2be();
+ this.iobcMeasureCurrent3v3 = this._io.readU2be();
+ this.iobcMeasureCurrent1v8 = this._io.readU2be();
+ this.iobcMeasureCurrent1v0 = this._io.readU2be();
+ this.iobcMeasureVoltRtc = this._io.readU2be();
+ this.iobcAdcUpdateFlag = this._io.readU1();
+ this.iobcCrc8 = this._io.readU1();
+ this.photodiode1 = this._io.readU2be();
+ this.photodiode2 = this._io.readU2be();
+ this.photodiode3 = this._io.readU2be();
+ this.photodiode4 = this._io.readU2be();
+ this.photodiode5 = this._io.readU2be();
+ this.photodiode6 = this._io.readU2be();
+ this.panelTemperature1 = this._io.readS4be();
+ this.panelTemperature2 = this._io.readS4be();
+ this.panelTemperature3 = this._io.readS4be();
+ this.panelTemperature4 = this._io.readS4be();
+ this.panelTemperature5 = this._io.readS4be();
+ this.panelTemperature6 = this._io.readS4be();
+ }
+
+ private Double panelTemperature6C;
+
+ public Double panelTemperature6C() {
+ if (this.panelTemperature6C != null) return this.panelTemperature6C;
+ double _tmp = (double) ((panelTemperature6() / 1024.0));
+ this.panelTemperature6C = _tmp;
+ return this.panelTemperature6C;
+ }
+
+ private Integer iobcMeasureTemperatureRaw;
+
+ public Integer iobcMeasureTemperatureRaw() {
+ if (this.iobcMeasureTemperatureRaw != null) return this.iobcMeasureTemperatureRaw;
+ int _tmp = (int) (iobcMeasureTemperature());
+ this.iobcMeasureTemperatureRaw = _tmp;
+ return this.iobcMeasureTemperatureRaw;
+ }
+
+ private Long supervisorUptimeRaw;
+
+ public Long supervisorUptimeRaw() {
+ if (this.supervisorUptimeRaw != null) return this.supervisorUptimeRaw;
+ long _tmp = (long) (supervisorUptime());
+ this.supervisorUptimeRaw = _tmp;
+ return this.supervisorUptimeRaw;
+ }
+
+ private Integer supervisorEnableStatusRaw;
+
+ public Integer supervisorEnableStatusRaw() {
+ if (this.supervisorEnableStatusRaw != null) return this.supervisorEnableStatusRaw;
+ int _tmp = (int) (supervisorEnableStatus());
+ this.supervisorEnableStatusRaw = _tmp;
+ return this.supervisorEnableStatusRaw;
+ }
+
+ private Integer iobcMeasure3v3InRaw;
+
+ public Integer iobcMeasure3v3InRaw() {
+ if (this.iobcMeasure3v3InRaw != null) return this.iobcMeasure3v3InRaw;
+ int _tmp = (int) (iobcMeasure3v3In());
+ this.iobcMeasure3v3InRaw = _tmp;
+ return this.iobcMeasure3v3InRaw;
+ }
+
+ private Integer photodiode2Raw;
+
+ public Integer photodiode2Raw() {
+ if (this.photodiode2Raw != null) return this.photodiode2Raw;
+ int _tmp = (int) (photodiode2());
+ this.photodiode2Raw = _tmp;
+ return this.photodiode2Raw;
+ }
+
+ private Integer iobcMeasureCurrent1v0Raw;
+
+ public Integer iobcMeasureCurrent1v0Raw() {
+ if (this.iobcMeasureCurrent1v0Raw != null) return this.iobcMeasureCurrent1v0Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v0());
+ this.iobcMeasureCurrent1v0Raw = _tmp;
+ return this.iobcMeasureCurrent1v0Raw;
+ }
+
+ private Double panelTemperature3C;
+
+ public Double panelTemperature3C() {
+ if (this.panelTemperature3C != null) return this.panelTemperature3C;
+ double _tmp = (double) ((panelTemperature3() / 1024.0));
+ this.panelTemperature3C = _tmp;
+ return this.panelTemperature3C;
+ }
+
+ private Integer dummyRaw;
+
+ public Integer dummyRaw() {
+ if (this.dummyRaw != null) return this.dummyRaw;
+ int _tmp = (int) (dummy());
+ this.dummyRaw = _tmp;
+ return this.dummyRaw;
+ }
+
+ private Integer iobcMeasureVoltRtcRaw;
+
+ public Integer iobcMeasureVoltRtcRaw() {
+ if (this.iobcMeasureVoltRtcRaw != null) return this.iobcMeasureVoltRtcRaw;
+ int _tmp = (int) (iobcMeasureVoltRtc());
+ this.iobcMeasureVoltRtcRaw = _tmp;
+ return this.iobcMeasureVoltRtcRaw;
+ }
+
+ private Integer iobcMeasure1v8Raw;
+
+ public Integer iobcMeasure1v8Raw() {
+ if (this.iobcMeasure1v8Raw != null) return this.iobcMeasure1v8Raw;
+ int _tmp = (int) (iobcMeasure1v8());
+ this.iobcMeasure1v8Raw = _tmp;
+ return this.iobcMeasure1v8Raw;
+ }
+
+ private Integer iobcMeasure2vReferenceRaw;
+
+ public Integer iobcMeasure2vReferenceRaw() {
+ if (this.iobcMeasure2vReferenceRaw != null) return this.iobcMeasure2vReferenceRaw;
+ int _tmp = (int) (iobcMeasure2vReference());
+ this.iobcMeasure2vReferenceRaw = _tmp;
+ return this.iobcMeasure2vReferenceRaw;
+ }
+
+ private Integer iobcMeasureCurrent1v8Raw;
+
+ public Integer iobcMeasureCurrent1v8Raw() {
+ if (this.iobcMeasureCurrent1v8Raw != null) return this.iobcMeasureCurrent1v8Raw;
+ int _tmp = (int) (iobcMeasureCurrent1v8());
+ this.iobcMeasureCurrent1v8Raw = _tmp;
+ return this.iobcMeasureCurrent1v8Raw;
+ }
+
+ private Integer iobcMeasure3v3Raw;
+
+ public Integer iobcMeasure3v3Raw() {
+ if (this.iobcMeasure3v3Raw != null) return this.iobcMeasure3v3Raw;
+ int _tmp = (int) (iobcMeasure3v3());
+ this.iobcMeasure3v3Raw = _tmp;
+ return this.iobcMeasure3v3Raw;
+ }
+
+ private Integer photodiode6Raw;
+
+ public Integer photodiode6Raw() {
+ if (this.photodiode6Raw != null) return this.photodiode6Raw;
+ int _tmp = (int) (photodiode6());
+ this.photodiode6Raw = _tmp;
+ return this.photodiode6Raw;
+ }
+
+ private Double panelTemperature4C;
+
+ public Double panelTemperature4C() {
+ if (this.panelTemperature4C != null) return this.panelTemperature4C;
+ double _tmp = (double) ((panelTemperature4() / 1024.0));
+ this.panelTemperature4C = _tmp;
+ return this.panelTemperature4C;
+ }
+
+ private Double panelTemperature1C;
+
+ public Double panelTemperature1C() {
+ if (this.panelTemperature1C != null) return this.panelTemperature1C;
+ double _tmp = (double) ((panelTemperature1() / 1024.0));
+ this.panelTemperature1C = _tmp;
+ return this.panelTemperature1C;
+ }
+
+ private Integer iobcAdcUpdateFlagRaw;
+
+ public Integer iobcAdcUpdateFlagRaw() {
+ if (this.iobcAdcUpdateFlagRaw != null) return this.iobcAdcUpdateFlagRaw;
+ int _tmp = (int) (iobcAdcUpdateFlag());
+ this.iobcAdcUpdateFlagRaw = _tmp;
+ return this.iobcAdcUpdateFlagRaw;
+ }
+
+ private Integer photodiode4Raw;
+
+ public Integer photodiode4Raw() {
+ if (this.photodiode4Raw != null) return this.photodiode4Raw;
+ int _tmp = (int) (photodiode4());
+ this.photodiode4Raw = _tmp;
+ return this.photodiode4Raw;
+ }
+
+ private Long iobcResetCountRaw;
+
+ public Long iobcResetCountRaw() {
+ if (this.iobcResetCountRaw != null) return this.iobcResetCountRaw;
+ long _tmp = (long) (iobcResetCount());
+ this.iobcResetCountRaw = _tmp;
+ return this.iobcResetCountRaw;
+ }
+
+ private Long iobcUptimeRaw;
+
+ public Long iobcUptimeRaw() {
+ if (this.iobcUptimeRaw != null) return this.iobcUptimeRaw;
+ long _tmp = (long) (iobcUptime());
+ this.iobcUptimeRaw = _tmp;
+ return this.iobcUptimeRaw;
+ }
+
+ private Integer photodiode3Raw;
+
+ public Integer photodiode3Raw() {
+ if (this.photodiode3Raw != null) return this.photodiode3Raw;
+ int _tmp = (int) (photodiode3());
+ this.photodiode3Raw = _tmp;
+ return this.photodiode3Raw;
+ }
+
+ private Integer photodiode5Raw;
+
+ public Integer photodiode5Raw() {
+ if (this.photodiode5Raw != null) return this.photodiode5Raw;
+ int _tmp = (int) (photodiode5());
+ this.photodiode5Raw = _tmp;
+ return this.photodiode5Raw;
+ }
+
+ private Double panelTemperature5C;
+
+ public Double panelTemperature5C() {
+ if (this.panelTemperature5C != null) return this.panelTemperature5C;
+ double _tmp = (double) ((panelTemperature5() / 1024.0));
+ this.panelTemperature5C = _tmp;
+ return this.panelTemperature5C;
+ }
+
+ private Integer iobcMeasure1v0Raw;
+
+ public Integer iobcMeasure1v0Raw() {
+ if (this.iobcMeasure1v0Raw != null) return this.iobcMeasure1v0Raw;
+ int _tmp = (int) (iobcMeasure1v0());
+ this.iobcMeasure1v0Raw = _tmp;
+ return this.iobcMeasure1v0Raw;
+ }
+
+ private Integer iobcCrc8Raw;
+
+ public Integer iobcCrc8Raw() {
+ if (this.iobcCrc8Raw != null) return this.iobcCrc8Raw;
+ int _tmp = (int) (iobcCrc8());
+ this.iobcCrc8Raw = _tmp;
+ return this.iobcCrc8Raw;
+ }
+
+ private Integer photodiode1Raw;
+
+ public Integer photodiode1Raw() {
+ if (this.photodiode1Raw != null) return this.photodiode1Raw;
+ int _tmp = (int) (photodiode1());
+ this.photodiode1Raw = _tmp;
+ return this.photodiode1Raw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private Integer iobcMeasureCurrent3v3Raw;
+
+ public Integer iobcMeasureCurrent3v3Raw() {
+ if (this.iobcMeasureCurrent3v3Raw != null) return this.iobcMeasureCurrent3v3Raw;
+ int _tmp = (int) (iobcMeasureCurrent3v3());
+ this.iobcMeasureCurrent3v3Raw = _tmp;
+ return this.iobcMeasureCurrent3v3Raw;
+ }
+
+ private Double panelTemperature2C;
+
+ public Double panelTemperature2C() {
+ if (this.panelTemperature2C != null) return this.panelTemperature2C;
+ double _tmp = (double) ((panelTemperature2() / 1024.0));
+ this.panelTemperature2C = _tmp;
+ return this.panelTemperature2C;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorEnableStatus;
+ private long supervisorUptime;
+ private long iobcUptime;
+ private long iobcResetCount;
+ private int iobcMeasureTemperature;
+ private int iobcMeasure3v3In;
+ private int iobcMeasure3v3;
+ private int iobcMeasure2vReference;
+ private int iobcMeasure1v8;
+ private int iobcMeasure1v0;
+ private int iobcMeasureCurrent3v3;
+ private int iobcMeasureCurrent1v8;
+ private int iobcMeasureCurrent1v0;
+ private int iobcMeasureVoltRtc;
+ private int iobcAdcUpdateFlag;
+ private int iobcCrc8;
+ private int photodiode1;
+ private int photodiode2;
+ private int photodiode3;
+ private int photodiode4;
+ private int photodiode5;
+ private int photodiode6;
+ private int panelTemperature1;
+ private int panelTemperature2;
+ private int panelTemperature3;
+ private int panelTemperature4;
+ private int panelTemperature5;
+ private int panelTemperature6;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorEnableStatus() {
+ return supervisorEnableStatus;
+ }
+
+ public long supervisorUptime() {
+ return supervisorUptime;
+ }
+
+ public long iobcUptime() {
+ return iobcUptime;
+ }
+
+ public long iobcResetCount() {
+ return iobcResetCount;
+ }
+
+ public int iobcMeasureTemperature() {
+ return iobcMeasureTemperature;
+ }
+
+ public int iobcMeasure3v3In() {
+ return iobcMeasure3v3In;
+ }
+
+ public int iobcMeasure3v3() {
+ return iobcMeasure3v3;
+ }
+
+ public int iobcMeasure2vReference() {
+ return iobcMeasure2vReference;
+ }
+
+ public int iobcMeasure1v8() {
+ return iobcMeasure1v8;
+ }
+
+ public int iobcMeasure1v0() {
+ return iobcMeasure1v0;
+ }
+
+ public int iobcMeasureCurrent3v3() {
+ return iobcMeasureCurrent3v3;
+ }
+
+ public int iobcMeasureCurrent1v8() {
+ return iobcMeasureCurrent1v8;
+ }
+
+ public int iobcMeasureCurrent1v0() {
+ return iobcMeasureCurrent1v0;
+ }
+
+ public int iobcMeasureVoltRtc() {
+ return iobcMeasureVoltRtc;
+ }
+
+ public int iobcAdcUpdateFlag() {
+ return iobcAdcUpdateFlag;
+ }
+
+ public int iobcCrc8() {
+ return iobcCrc8;
+ }
+
+ public int photodiode1() {
+ return photodiode1;
+ }
+
+ public int photodiode2() {
+ return photodiode2;
+ }
+
+ public int photodiode3() {
+ return photodiode3;
+ }
+
+ public int photodiode4() {
+ return photodiode4;
+ }
+
+ public int photodiode5() {
+ return photodiode5;
+ }
+
+ public int photodiode6() {
+ return photodiode6;
+ }
+
+ public int panelTemperature1() {
+ return panelTemperature1;
+ }
+
+ public int panelTemperature2() {
+ return panelTemperature2;
+ }
+
+ public int panelTemperature3() {
+ return panelTemperature3;
+ }
+
+ public int panelTemperature4() {
+ return panelTemperature4;
+ }
+
+ public int panelTemperature5() {
+ return panelTemperature5;
+ }
+
+ public int panelTemperature6() {
+ return panelTemperature6;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IepsHkStatus extends KaitaiStruct {
+ public static IepsHkStatus fromFile(String fileName) throws IOException {
+ return new IepsHkStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IepsHkStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IepsHkStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.hKStid = this._io.readU1();
+ this.hKIvid = this._io.readU1();
+ this.hKRc = this._io.readU1();
+ this.hKBid = this._io.readU1();
+ this.hKCmderr = this._io.readBitsIntBe(4);
+ this.hKStat = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.voltBrdSupRaw = this._io.readU2be();
+ this.tempRaw = this._io.readU2be();
+ this.vDistInputRaw = this._io.readU2be();
+ this.iDistInputRaw = this._io.readU2be();
+ this.pDistInputRaw = this._io.readU2be();
+ this.vBattInputRaw = this._io.readU2be();
+ this.iBattInputRaw = this._io.readU2be();
+ this.pBattInputRaw = this._io.readU2be();
+ this.statObcOn = this._io.readU2be();
+ this.statObcOcf = this._io.readU2be();
+ this.batStat = this._io.readU2be();
+ this.batTemp2Raw = this._io.readU2be();
+ this.batTemp3Raw = this._io.readU2be();
+ this.voltVd0 = this._io.readU2be();
+ this.voltVd1 = this._io.readU2be();
+ this.voltVd2 = this._io.readU2be();
+ this.vObc00 = this._io.readU2be();
+ this.iObc00 = this._io.readU2be();
+ this.pObc00 = this._io.readU2be();
+ this.vObc01 = this._io.readU2be();
+ this.iObc01 = this._io.readU2be();
+ this.pObc01 = this._io.readU2be();
+ this.vObc02 = this._io.readU2be();
+ this.iObc02 = this._io.readU2be();
+ this.pObc02 = this._io.readU2be();
+ this.vObc03 = this._io.readU2be();
+ this.iObc03 = this._io.readU2be();
+ this.pObc03 = this._io.readU2be();
+ this.vObc04 = this._io.readU2be();
+ this.iObc04 = this._io.readU2be();
+ this.pObc04 = this._io.readU2be();
+ this.vObc05 = this._io.readU2be();
+ this.iObc05 = this._io.readU2be();
+ this.pObc05 = this._io.readU2be();
+ this.vObc06 = this._io.readU2be();
+ this.iObc06 = this._io.readU2be();
+ this.pObc06 = this._io.readU2be();
+ this.vObc07 = this._io.readU2be();
+ this.iObc07 = this._io.readU2be();
+ this.pObc07 = this._io.readU2be();
+ this.vObc08 = this._io.readU2be();
+ this.iObc08 = this._io.readU2be();
+ this.pObc08 = this._io.readU2be();
+ this.cc1 = this._io.readBytes(8);
+ this.cc2 = this._io.readBytes(8);
+ this.cc3 = this._io.readBytes(8);
+ this.statusStid = this._io.readU1();
+ this.statusIvid = this._io.readU1();
+ this.statusRc = this._io.readU1();
+ this.statusBid = this._io.readU1();
+ this.statusCmderr = this._io.readBitsIntBe(4);
+ this.statusStat = this._io.readBitsIntBe(4);
+ this._io.alignToByte();
+ this.mode = this._io.readU1();
+ this.conf = this._io.readU1();
+ this.resetCause = this._io.readU1();
+ this.uptime = this._io.readU4be();
+ this.error = this._io.readU2be();
+ this.rcCntPwron = this._io.readU2be();
+ this.rcCntWdg = this._io.readU2be();
+ this.rcCntCmd = this._io.readU2be();
+ this.rcCntMcu = this._io.readU2be();
+ this.rcCntEmlopo = this._io.readU2be();
+ this.prevcmdElapsed = this._io.readU2be();
+ }
+
+ private Integer rcCntPwronRaw;
+
+ public Integer rcCntPwronRaw() {
+ if (this.rcCntPwronRaw != null) return this.rcCntPwronRaw;
+ int _tmp = (int) (rcCntPwron());
+ this.rcCntPwronRaw = _tmp;
+ return this.rcCntPwronRaw;
+ }
+
+ private Double vDistInputRawV;
+
+ public Double vDistInputRawV() {
+ if (this.vDistInputRawV != null) return this.vDistInputRawV;
+ double _tmp = (double) ((((vDistInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vDistInputRawV = _tmp;
+ return this.vDistInputRawV;
+ }
+
+ private Double iObc05Ma;
+
+ public Double iObc05Ma() {
+ if (this.iObc05Ma != null) return this.iObc05Ma;
+ double _tmp = (double) (((iObc05() * 3125.0) / 20480.0));
+ this.iObc05Ma = _tmp;
+ return this.iObc05Ma;
+ }
+
+ private Double batTemp3RawT;
+
+ public Double batTemp3RawT() {
+ if (this.batTemp3RawT != null) return this.batTemp3RawT;
+ double _tmp = (double) (((batTemp3Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp3RawT = _tmp;
+ return this.batTemp3RawT;
+ }
+
+ private Double pObc05Mw;
+
+ public Double pObc05Mw() {
+ if (this.pObc05Mw != null) return this.pObc05Mw;
+ double _tmp = (double) (((pObc05() * 3125.0) / 6400.0));
+ this.pObc05Mw = _tmp;
+ return this.pObc05Mw;
+ }
+
+ private Integer statObcOnRaw;
+
+ public Integer statObcOnRaw() {
+ if (this.statObcOnRaw != null) return this.statObcOnRaw;
+ int _tmp = (int) (statObcOn());
+ this.statObcOnRaw = _tmp;
+ return this.statObcOnRaw;
+ }
+
+ private Long statusStatRaw;
+
+ public Long statusStatRaw() {
+ if (this.statusStatRaw != null) return this.statusStatRaw;
+ long _tmp = (long) (statusStat());
+ this.statusStatRaw = _tmp;
+ return this.statusStatRaw;
+ }
+
+ private Integer hKRcRaw;
+
+ public Integer hKRcRaw() {
+ if (this.hKRcRaw != null) return this.hKRcRaw;
+ int _tmp = (int) (hKRc());
+ this.hKRcRaw = _tmp;
+ return this.hKRcRaw;
+ }
+
+ private Double pObc00Mw;
+
+ public Double pObc00Mw() {
+ if (this.pObc00Mw != null) return this.pObc00Mw;
+ double _tmp = (double) (((pObc00() * 3125.0) / 6400.0));
+ this.pObc00Mw = _tmp;
+ return this.pObc00Mw;
+ }
+
+ private Double vObc02V;
+
+ public Double vObc02V() {
+ if (this.vObc02V != null) return this.vObc02V;
+ double _tmp = (double) ((((vObc02() * 125.0) / 128.0) / 1000.0));
+ this.vObc02V = _tmp;
+ return this.vObc02V;
+ }
+
+ private Double pObc06Mw;
+
+ public Double pObc06Mw() {
+ if (this.pObc06Mw != null) return this.pObc06Mw;
+ double _tmp = (double) (((pObc06() * 3125.0) / 6400.0));
+ this.pObc06Mw = _tmp;
+ return this.pObc06Mw;
+ }
+
+ private Double vObc08V;
+
+ public Double vObc08V() {
+ if (this.vObc08V != null) return this.vObc08V;
+ double _tmp = (double) ((((vObc08() * 125.0) / 128.0) / 1000.0));
+ this.vObc08V = _tmp;
+ return this.vObc08V;
+ }
+
+ private Integer modeRaw;
+
+ public Integer modeRaw() {
+ if (this.modeRaw != null) return this.modeRaw;
+ int _tmp = (int) (mode());
+ this.modeRaw = _tmp;
+ return this.modeRaw;
+ }
+
+ private Double vObc07V;
+
+ public Double vObc07V() {
+ if (this.vObc07V != null) return this.vObc07V;
+ double _tmp = (double) ((((vObc07() * 125.0) / 128.0) / 1000.0));
+ this.vObc07V = _tmp;
+ return this.vObc07V;
+ }
+
+ private Long statusCmderrRaw;
+
+ public Long statusCmderrRaw() {
+ if (this.statusCmderrRaw != null) return this.statusCmderrRaw;
+ long _tmp = (long) (statusCmderr());
+ this.statusCmderrRaw = _tmp;
+ return this.statusCmderrRaw;
+ }
+
+ private Double pObc01Mw;
+
+ public Double pObc01Mw() {
+ if (this.pObc01Mw != null) return this.pObc01Mw;
+ double _tmp = (double) (((pObc01() * 3125.0) / 6400.0));
+ this.pObc01Mw = _tmp;
+ return this.pObc01Mw;
+ }
+
+ private Integer rcCntCmdRaw;
+
+ public Integer rcCntCmdRaw() {
+ if (this.rcCntCmdRaw != null) return this.rcCntCmdRaw;
+ int _tmp = (int) (rcCntCmd());
+ this.rcCntCmdRaw = _tmp;
+ return this.rcCntCmdRaw;
+ }
+
+ private Integer statObcOcfRaw;
+
+ public Integer statObcOcfRaw() {
+ if (this.statObcOcfRaw != null) return this.statObcOcfRaw;
+ int _tmp = (int) (statObcOcf());
+ this.statObcOcfRaw = _tmp;
+ return this.statObcOcfRaw;
+ }
+
+ private Integer voltVd2Raw;
+
+ public Integer voltVd2Raw() {
+ if (this.voltVd2Raw != null) return this.voltVd2Raw;
+ int _tmp = (int) (voltVd2());
+ this.voltVd2Raw = _tmp;
+ return this.voltVd2Raw;
+ }
+
+ private Long uptimeRaw;
+
+ public Long uptimeRaw() {
+ if (this.uptimeRaw != null) return this.uptimeRaw;
+ long _tmp = (long) (uptime());
+ this.uptimeRaw = _tmp;
+ return this.uptimeRaw;
+ }
+
+ private Double voltBrdSupRawV;
+
+ public Double voltBrdSupRawV() {
+ if (this.voltBrdSupRawV != null) return this.voltBrdSupRawV;
+ double _tmp = (double) (((voltBrdSupRaw() * 1000.0) / 819.0));
+ this.voltBrdSupRawV = _tmp;
+ return this.voltBrdSupRawV;
+ }
+
+ private Double iObc00Ma;
+
+ public Double iObc00Ma() {
+ if (this.iObc00Ma != null) return this.iObc00Ma;
+ double _tmp = (double) (((iObc00() * 3125.0) / 20480.0));
+ this.iObc00Ma = _tmp;
+ return this.iObc00Ma;
+ }
+
+ private Double iObc04Ma;
+
+ public Double iObc04Ma() {
+ if (this.iObc04Ma != null) return this.iObc04Ma;
+ double _tmp = (double) (((iObc04() * 3125.0) / 20480.0));
+ this.iObc04Ma = _tmp;
+ return this.iObc04Ma;
+ }
+
+ private Integer rcCntWdgRaw;
+
+ public Integer rcCntWdgRaw() {
+ if (this.rcCntWdgRaw != null) return this.rcCntWdgRaw;
+ int _tmp = (int) (rcCntWdg());
+ this.rcCntWdgRaw = _tmp;
+ return this.rcCntWdgRaw;
+ }
+
+ private Double pDistInputRawMw;
+
+ public Double pDistInputRawMw() {
+ if (this.pDistInputRawMw != null) return this.pDistInputRawMw;
+ double _tmp = (double) (((pDistInputRaw() * 3125.0) / 3200.0));
+ this.pDistInputRawMw = _tmp;
+ return this.pDistInputRawMw;
+ }
+
+ private Double pObc07Mw;
+
+ public Double pObc07Mw() {
+ if (this.pObc07Mw != null) return this.pObc07Mw;
+ double _tmp = (double) (((pObc07() * 3125.0) / 6400.0));
+ this.pObc07Mw = _tmp;
+ return this.pObc07Mw;
+ }
+
+ private Integer batStatRaw;
+
+ public Integer batStatRaw() {
+ if (this.batStatRaw != null) return this.batStatRaw;
+ int _tmp = (int) (batStat());
+ this.batStatRaw = _tmp;
+ return this.batStatRaw;
+ }
+
+ private Double vObc06V;
+
+ public Double vObc06V() {
+ if (this.vObc06V != null) return this.vObc06V;
+ double _tmp = (double) ((((vObc06() * 125.0) / 128.0) / 1000.0));
+ this.vObc06V = _tmp;
+ return this.vObc06V;
+ }
+
+ private Double iObc03Ma;
+
+ public Double iObc03Ma() {
+ if (this.iObc03Ma != null) return this.iObc03Ma;
+ double _tmp = (double) (((iObc03() * 3125.0) / 20480.0));
+ this.iObc03Ma = _tmp;
+ return this.iObc03Ma;
+ }
+
+ private Double vObc03V;
+
+ public Double vObc03V() {
+ if (this.vObc03V != null) return this.vObc03V;
+ double _tmp = (double) ((((vObc03() * 125.0) / 128.0) / 1000.0));
+ this.vObc03V = _tmp;
+ return this.vObc03V;
+ }
+
+ private Integer hKBidRaw;
+
+ public Integer hKBidRaw() {
+ if (this.hKBidRaw != null) return this.hKBidRaw;
+ int _tmp = (int) (hKBid());
+ this.hKBidRaw = _tmp;
+ return this.hKBidRaw;
+ }
+
+ private Double iBattInputRawMa;
+
+ public Double iBattInputRawMa() {
+ if (this.iBattInputRawMa != null) return this.iBattInputRawMa;
+ double _tmp = (double) ((1000.0 * ((iBattInputRaw() * 3125.0) / 10240.0)));
+ this.iBattInputRawMa = _tmp;
+ return this.iBattInputRawMa;
+ }
+
+ private Integer hKIvidRaw;
+
+ public Integer hKIvidRaw() {
+ if (this.hKIvidRaw != null) return this.hKIvidRaw;
+ int _tmp = (int) (hKIvid());
+ this.hKIvidRaw = _tmp;
+ return this.hKIvidRaw;
+ }
+
+ private Double iObc02Ma;
+
+ public Double iObc02Ma() {
+ if (this.iObc02Ma != null) return this.iObc02Ma;
+ double _tmp = (double) (((iObc02() * 3125.0) / 20480.0));
+ this.iObc02Ma = _tmp;
+ return this.iObc02Ma;
+ }
+
+ private Integer statusStidRaw;
+
+ public Integer statusStidRaw() {
+ if (this.statusStidRaw != null) return this.statusStidRaw;
+ int _tmp = (int) (statusStid());
+ this.statusStidRaw = _tmp;
+ return this.statusStidRaw;
+ }
+
+ private Double iObc06Ma;
+
+ public Double iObc06Ma() {
+ if (this.iObc06Ma != null) return this.iObc06Ma;
+ double _tmp = (double) (((iObc06() * 3125.0) / 20480.0));
+ this.iObc06Ma = _tmp;
+ return this.iObc06Ma;
+ }
+
+ private Integer statusRcRaw;
+
+ public Integer statusRcRaw() {
+ if (this.statusRcRaw != null) return this.statusRcRaw;
+ int _tmp = (int) (statusRc());
+ this.statusRcRaw = _tmp;
+ return this.statusRcRaw;
+ }
+
+ private byte[] cc2Byte;
+
+ public byte[] cc2Byte() {
+ if (this.cc2Byte != null) return this.cc2Byte;
+ this.cc2Byte = cc2();
+ return this.cc2Byte;
+ }
+
+ private Integer errorRaw;
+
+ public Integer errorRaw() {
+ if (this.errorRaw != null) return this.errorRaw;
+ int _tmp = (int) (error());
+ this.errorRaw = _tmp;
+ return this.errorRaw;
+ }
+
+ private Double iDistInputRawMa;
+
+ public Double iDistInputRawMa() {
+ if (this.iDistInputRawMa != null) return this.iDistInputRawMa;
+ double _tmp = (double) (((iDistInputRaw() * 3125.0) / 10240.0));
+ this.iDistInputRawMa = _tmp;
+ return this.iDistInputRawMa;
+ }
+
+ private Double vObc01V;
+
+ public Double vObc01V() {
+ if (this.vObc01V != null) return this.vObc01V;
+ double _tmp = (double) ((((vObc01() * 125.0) / 128.0) / 1000.0));
+ this.vObc01V = _tmp;
+ return this.vObc01V;
+ }
+
+ private Double pBattInputRawMw;
+
+ public Double pBattInputRawMw() {
+ if (this.pBattInputRawMw != null) return this.pBattInputRawMw;
+ double _tmp = (double) (((pBattInputRaw() * 3125.0) / 3200.0));
+ this.pBattInputRawMw = _tmp;
+ return this.pBattInputRawMw;
+ }
+
+ private Double iObc01Ma;
+
+ public Double iObc01Ma() {
+ if (this.iObc01Ma != null) return this.iObc01Ma;
+ double _tmp = (double) (((iObc01() * 3125.0) / 20480.0));
+ this.iObc01Ma = _tmp;
+ return this.iObc01Ma;
+ }
+
+ private Double tempRawT;
+
+ public Double tempRawT() {
+ if (this.tempRawT != null) return this.tempRawT;
+ double _tmp = (double) (((((tempRaw() - 1168) * 220.0) / 9.0) / 100.0));
+ this.tempRawT = _tmp;
+ return this.tempRawT;
+ }
+
+ private byte[] cc1Byte;
+
+ public byte[] cc1Byte() {
+ if (this.cc1Byte != null) return this.cc1Byte;
+ this.cc1Byte = cc1();
+ return this.cc1Byte;
+ }
+
+ private Integer rcCntEmlopoRaw;
+
+ public Integer rcCntEmlopoRaw() {
+ if (this.rcCntEmlopoRaw != null) return this.rcCntEmlopoRaw;
+ int _tmp = (int) (rcCntEmlopo());
+ this.rcCntEmlopoRaw = _tmp;
+ return this.rcCntEmlopoRaw;
+ }
+
+ private Integer rcCntMcuRaw;
+
+ public Integer rcCntMcuRaw() {
+ if (this.rcCntMcuRaw != null) return this.rcCntMcuRaw;
+ int _tmp = (int) (rcCntMcu());
+ this.rcCntMcuRaw = _tmp;
+ return this.rcCntMcuRaw;
+ }
+
+ private Integer statusBidRaw;
+
+ public Integer statusBidRaw() {
+ if (this.statusBidRaw != null) return this.statusBidRaw;
+ int _tmp = (int) (statusBid());
+ this.statusBidRaw = _tmp;
+ return this.statusBidRaw;
+ }
+
+ private Integer statusIvidRaw;
+
+ public Integer statusIvidRaw() {
+ if (this.statusIvidRaw != null) return this.statusIvidRaw;
+ int _tmp = (int) (statusIvid());
+ this.statusIvidRaw = _tmp;
+ return this.statusIvidRaw;
+ }
+
+ private Double pObc03Mw;
+
+ public Double pObc03Mw() {
+ if (this.pObc03Mw != null) return this.pObc03Mw;
+ double _tmp = (double) (((pObc03() * 3125.0) / 6400.0));
+ this.pObc03Mw = _tmp;
+ return this.pObc03Mw;
+ }
+
+ private Integer voltVd1Raw;
+
+ public Integer voltVd1Raw() {
+ if (this.voltVd1Raw != null) return this.voltVd1Raw;
+ int _tmp = (int) (voltVd1());
+ this.voltVd1Raw = _tmp;
+ return this.voltVd1Raw;
+ }
+
+ private byte[] cc3Byte;
+
+ public byte[] cc3Byte() {
+ if (this.cc3Byte != null) return this.cc3Byte;
+ this.cc3Byte = cc3();
+ return this.cc3Byte;
+ }
+
+ private Double vObc05V;
+
+ public Double vObc05V() {
+ if (this.vObc05V != null) return this.vObc05V;
+ double _tmp = (double) ((((vObc05() * 125.0) / 128.0) / 1000.0));
+ this.vObc05V = _tmp;
+ return this.vObc05V;
+ }
+
+ private Double vObc00V;
+
+ public Double vObc00V() {
+ if (this.vObc00V != null) return this.vObc00V;
+ double _tmp = (double) ((((vObc00() * 125.0) / 128.0) / 1000.0));
+ this.vObc00V = _tmp;
+ return this.vObc00V;
+ }
+
+ private Integer voltVd0Raw;
+
+ public Integer voltVd0Raw() {
+ if (this.voltVd0Raw != null) return this.voltVd0Raw;
+ int _tmp = (int) (voltVd0());
+ this.voltVd0Raw = _tmp;
+ return this.voltVd0Raw;
+ }
+
+ private Long hKCmderrRaw;
+
+ public Long hKCmderrRaw() {
+ if (this.hKCmderrRaw != null) return this.hKCmderrRaw;
+ long _tmp = (long) (hKCmderr());
+ this.hKCmderrRaw = _tmp;
+ return this.hKCmderrRaw;
+ }
+
+ private Double batTemp2RawT;
+
+ public Double batTemp2RawT() {
+ if (this.batTemp2RawT != null) return this.batTemp2RawT;
+ double _tmp = (double) (((batTemp2Raw() * -0.047715407918) + 98.38261483));
+ this.batTemp2RawT = _tmp;
+ return this.batTemp2RawT;
+ }
+
+ private Double iObc07Ma;
+
+ public Double iObc07Ma() {
+ if (this.iObc07Ma != null) return this.iObc07Ma;
+ double _tmp = (double) (((iObc07() * 3125.0) / 20480.0));
+ this.iObc07Ma = _tmp;
+ return this.iObc07Ma;
+ }
+
+ private Double vBattInputRawV;
+
+ public Double vBattInputRawV() {
+ if (this.vBattInputRawV != null) return this.vBattInputRawV;
+ double _tmp = (double) ((((vBattInputRaw() * 125.0) / 128.0) / 1000.0));
+ this.vBattInputRawV = _tmp;
+ return this.vBattInputRawV;
+ }
+
+ private Integer resetCauseRaw;
+
+ public Integer resetCauseRaw() {
+ if (this.resetCauseRaw != null) return this.resetCauseRaw;
+ int _tmp = (int) (resetCause());
+ this.resetCauseRaw = _tmp;
+ return this.resetCauseRaw;
+ }
+
+ private Integer hKStidRaw;
+
+ public Integer hKStidRaw() {
+ if (this.hKStidRaw != null) return this.hKStidRaw;
+ int _tmp = (int) (hKStid());
+ this.hKStidRaw = _tmp;
+ return this.hKStidRaw;
+ }
+
+ private Double pObc02Mw;
+
+ public Double pObc02Mw() {
+ if (this.pObc02Mw != null) return this.pObc02Mw;
+ double _tmp = (double) (((pObc02() * 3125.0) / 6400.0));
+ this.pObc02Mw = _tmp;
+ return this.pObc02Mw;
+ }
+
+ private Long hKStatRaw;
+
+ public Long hKStatRaw() {
+ if (this.hKStatRaw != null) return this.hKStatRaw;
+ long _tmp = (long) (hKStat());
+ this.hKStatRaw = _tmp;
+ return this.hKStatRaw;
+ }
+
+ private Double iObc08Ma;
+
+ public Double iObc08Ma() {
+ if (this.iObc08Ma != null) return this.iObc08Ma;
+ double _tmp = (double) (((iObc08() * 3125.0) / 20480.0));
+ this.iObc08Ma = _tmp;
+ return this.iObc08Ma;
+ }
+
+ private Double pObc04Mw;
+
+ public Double pObc04Mw() {
+ if (this.pObc04Mw != null) return this.pObc04Mw;
+ double _tmp = (double) (((pObc04() * 3125.0) / 6400.0));
+ this.pObc04Mw = _tmp;
+ return this.pObc04Mw;
+ }
+
+ private Integer confRaw;
+
+ public Integer confRaw() {
+ if (this.confRaw != null) return this.confRaw;
+ int _tmp = (int) (conf());
+ this.confRaw = _tmp;
+ return this.confRaw;
+ }
+
+ private Double vObc04V;
+
+ public Double vObc04V() {
+ if (this.vObc04V != null) return this.vObc04V;
+ double _tmp = (double) ((((vObc04() * 125.0) / 128.0) / 1000.0));
+ this.vObc04V = _tmp;
+ return this.vObc04V;
+ }
+
+ private Double pObc08Mw;
+
+ public Double pObc08Mw() {
+ if (this.pObc08Mw != null) return this.pObc08Mw;
+ double _tmp = (double) (((pObc08() * 3125.0) / 6400.0));
+ this.pObc08Mw = _tmp;
+ return this.pObc08Mw;
+ }
+
+ private Integer prevcmdElapsedRaw;
+
+ public Integer prevcmdElapsedRaw() {
+ if (this.prevcmdElapsedRaw != null) return this.prevcmdElapsedRaw;
+ int _tmp = (int) (prevcmdElapsed());
+ this.prevcmdElapsedRaw = _tmp;
+ return this.prevcmdElapsedRaw;
+ }
+
+ private int hKStid;
+ private int hKIvid;
+ private int hKRc;
+ private int hKBid;
+ private long hKCmderr;
+ private long hKStat;
+ private int voltBrdSupRaw;
+ private int tempRaw;
+ private int vDistInputRaw;
+ private int iDistInputRaw;
+ private int pDistInputRaw;
+ private int vBattInputRaw;
+ private int iBattInputRaw;
+ private int pBattInputRaw;
+ private int statObcOn;
+ private int statObcOcf;
+ private int batStat;
+ private int batTemp2Raw;
+ private int batTemp3Raw;
+ private int voltVd0;
+ private int voltVd1;
+ private int voltVd2;
+ private int vObc00;
+ private int iObc00;
+ private int pObc00;
+ private int vObc01;
+ private int iObc01;
+ private int pObc01;
+ private int vObc02;
+ private int iObc02;
+ private int pObc02;
+ private int vObc03;
+ private int iObc03;
+ private int pObc03;
+ private int vObc04;
+ private int iObc04;
+ private int pObc04;
+ private int vObc05;
+ private int iObc05;
+ private int pObc05;
+ private int vObc06;
+ private int iObc06;
+ private int pObc06;
+ private int vObc07;
+ private int iObc07;
+ private int pObc07;
+ private int vObc08;
+ private int iObc08;
+ private int pObc08;
+ private byte[] cc1;
+ private byte[] cc2;
+ private byte[] cc3;
+ private int statusStid;
+ private int statusIvid;
+ private int statusRc;
+ private int statusBid;
+ private long statusCmderr;
+ private long statusStat;
+ private int mode;
+ private int conf;
+ private int resetCause;
+ private long uptime;
+ private int error;
+ private int rcCntPwron;
+ private int rcCntWdg;
+ private int rcCntCmd;
+ private int rcCntMcu;
+ private int rcCntEmlopo;
+ private int prevcmdElapsed;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int hKStid() {
+ return hKStid;
+ }
+
+ public int hKIvid() {
+ return hKIvid;
+ }
+
+ public int hKRc() {
+ return hKRc;
+ }
+
+ public int hKBid() {
+ return hKBid;
+ }
+
+ public long hKCmderr() {
+ return hKCmderr;
+ }
+
+ public long hKStat() {
+ return hKStat;
+ }
+
+ public int voltBrdSupRaw() {
+ return voltBrdSupRaw;
+ }
+
+ public int tempRaw() {
+ return tempRaw;
+ }
+
+ public int vDistInputRaw() {
+ return vDistInputRaw;
+ }
+
+ public int iDistInputRaw() {
+ return iDistInputRaw;
+ }
+
+ public int pDistInputRaw() {
+ return pDistInputRaw;
+ }
+
+ public int vBattInputRaw() {
+ return vBattInputRaw;
+ }
+
+ public int iBattInputRaw() {
+ return iBattInputRaw;
+ }
+
+ public int pBattInputRaw() {
+ return pBattInputRaw;
+ }
+
+ public int statObcOn() {
+ return statObcOn;
+ }
+
+ public int statObcOcf() {
+ return statObcOcf;
+ }
+
+ public int batStat() {
+ return batStat;
+ }
+
+ public int batTemp2Raw() {
+ return batTemp2Raw;
+ }
+
+ public int batTemp3Raw() {
+ return batTemp3Raw;
+ }
+
+ public int voltVd0() {
+ return voltVd0;
+ }
+
+ public int voltVd1() {
+ return voltVd1;
+ }
+
+ public int voltVd2() {
+ return voltVd2;
+ }
+
+ public int vObc00() {
+ return vObc00;
+ }
+
+ public int iObc00() {
+ return iObc00;
+ }
+
+ public int pObc00() {
+ return pObc00;
+ }
+
+ public int vObc01() {
+ return vObc01;
+ }
+
+ public int iObc01() {
+ return iObc01;
+ }
+
+ public int pObc01() {
+ return pObc01;
+ }
+
+ public int vObc02() {
+ return vObc02;
+ }
+
+ public int iObc02() {
+ return iObc02;
+ }
+
+ public int pObc02() {
+ return pObc02;
+ }
+
+ public int vObc03() {
+ return vObc03;
+ }
+
+ public int iObc03() {
+ return iObc03;
+ }
+
+ public int pObc03() {
+ return pObc03;
+ }
+
+ public int vObc04() {
+ return vObc04;
+ }
+
+ public int iObc04() {
+ return iObc04;
+ }
+
+ public int pObc04() {
+ return pObc04;
+ }
+
+ public int vObc05() {
+ return vObc05;
+ }
+
+ public int iObc05() {
+ return iObc05;
+ }
+
+ public int pObc05() {
+ return pObc05;
+ }
+
+ public int vObc06() {
+ return vObc06;
+ }
+
+ public int iObc06() {
+ return iObc06;
+ }
+
+ public int pObc06() {
+ return pObc06;
+ }
+
+ public int vObc07() {
+ return vObc07;
+ }
+
+ public int iObc07() {
+ return iObc07;
+ }
+
+ public int pObc07() {
+ return pObc07;
+ }
+
+ public int vObc08() {
+ return vObc08;
+ }
+
+ public int iObc08() {
+ return iObc08;
+ }
+
+ public int pObc08() {
+ return pObc08;
+ }
+
+ public byte[] cc1() {
+ return cc1;
+ }
+
+ public byte[] cc2() {
+ return cc2;
+ }
+
+ public byte[] cc3() {
+ return cc3;
+ }
+
+ public int statusStid() {
+ return statusStid;
+ }
+
+ public int statusIvid() {
+ return statusIvid;
+ }
+
+ public int statusRc() {
+ return statusRc;
+ }
+
+ public int statusBid() {
+ return statusBid;
+ }
+
+ public long statusCmderr() {
+ return statusCmderr;
+ }
+
+ public long statusStat() {
+ return statusStat;
+ }
+
+ public int mode() {
+ return mode;
+ }
+
+ public int conf() {
+ return conf;
+ }
+
+ public int resetCause() {
+ return resetCause;
+ }
+
+ public long uptime() {
+ return uptime;
+ }
+
+ public int error() {
+ return error;
+ }
+
+ public int rcCntPwron() {
+ return rcCntPwron;
+ }
+
+ public int rcCntWdg() {
+ return rcCntWdg;
+ }
+
+ public int rcCntCmd() {
+ return rcCntCmd;
+ }
+
+ public int rcCntMcu() {
+ return rcCntMcu;
+ }
+
+ public int rcCntEmlopo() {
+ return rcCntEmlopo;
+ }
+
+ public int prevcmdElapsed() {
+ return prevcmdElapsed;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class IobcStatus extends KaitaiStruct {
+ public static IobcStatus fromFile(String fileName) throws IOException {
+ return new IobcStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public IobcStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public IobcStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public IobcStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.dummy = this._io.readU1();
+ this.spiCommandStatus = this._io.readU1();
+ this.supervisorIndexOfSubsystem = this._io.readU1();
+ this.supervisorMajorVersion = this._io.readU1();
+ this.supervisorMinorVersion = this._io.readU1();
+ this.supervisorPatchVersion = this._io.readU1();
+ this.supervisorGitHeadVersion = this._io.readU4be();
+ this.supervisorSerialNumber = this._io.readU2be();
+ this.compilationInformation = this._io.readBytes(19);
+ this.clockSpeed = this._io.readU1();
+ this.codeType = this._io.readU1();
+ this.crc8 = this._io.readU1();
+ this.swMmode = this._io.readU1();
+ this.lastResetReason = this._io.readU1();
+ this.reserved = this._io.readU1();
+ this.nbReset = this._io.readU1();
+ this.reserved2 = this._io.readU1();
+ this.deployAntennasSystem = this._io.readU1();
+ this.nbTmSinceFirstStart = this._io.readU4be();
+ this.nbTcSinceFirstStart = this._io.readU4be();
+ this.nbTcPingSinceFirstStart = this._io.readU4be();
+ this.nbBadTcSinceFirstStart = this._io.readU4be();
+ this.nbTmInSdcard = this._io.readU4be();
+ this.sdcardStatus = this._io.readU1();
+ this.sdcardLastError = this._io.readU4be();
+ this.oldTimeTMInSdcard = this._io.readBitsIntBe(56);
+ this.newTimeTMInSdcard = this._io.readBitsIntBe(56);
+ }
+
+ private Long newTimeTMInSdcardRaw;
+
+ public Long newTimeTMInSdcardRaw() {
+ if (this.newTimeTMInSdcardRaw != null) return this.newTimeTMInSdcardRaw;
+ long _tmp = (long) (newTimeTMInSdcard());
+ this.newTimeTMInSdcardRaw = _tmp;
+ return this.newTimeTMInSdcardRaw;
+ }
+
+ private Integer deployAntennasSystemRaw;
+
+ public Integer deployAntennasSystemRaw() {
+ if (this.deployAntennasSystemRaw != null) return this.deployAntennasSystemRaw;
+ int _tmp = (int) (deployAntennasSystem());
+ this.deployAntennasSystemRaw = _tmp;
+ return this.deployAntennasSystemRaw;
+ }
+
+ private Integer clockSpeedRaw;
+
+ public Integer clockSpeedRaw() {
+ if (this.clockSpeedRaw != null) return this.clockSpeedRaw;
+ int _tmp = (int) (clockSpeed());
+ this.clockSpeedRaw = _tmp;
+ return this.clockSpeedRaw;
+ }
+
+ private Integer lastResetReasonRaw;
+
+ public Integer lastResetReasonRaw() {
+ if (this.lastResetReasonRaw != null) return this.lastResetReasonRaw;
+ int _tmp = (int) (lastResetReason());
+ this.lastResetReasonRaw = _tmp;
+ return this.lastResetReasonRaw;
+ }
+
+ private Integer supervisorIndexOfSubsystemRaw;
+
+ public Integer supervisorIndexOfSubsystemRaw() {
+ if (this.supervisorIndexOfSubsystemRaw != null) return this.supervisorIndexOfSubsystemRaw;
+ int _tmp = (int) (supervisorIndexOfSubsystem());
+ this.supervisorIndexOfSubsystemRaw = _tmp;
+ return this.supervisorIndexOfSubsystemRaw;
+ }
+
+ private Integer crc8Raw;
+
+ public Integer crc8Raw() {
+ if (this.crc8Raw != null) return this.crc8Raw;
+ int _tmp = (int) (crc8());
+ this.crc8Raw = _tmp;
+ return this.crc8Raw;
+ }
+
+ private Integer nbResetRaw;
+
+ public Integer nbResetRaw() {
+ if (this.nbResetRaw != null) return this.nbResetRaw;
+ int _tmp = (int) (nbReset());
+ this.nbResetRaw = _tmp;
+ return this.nbResetRaw;
+ }
+
+ private Long supervisorGitHeadVersionRaw;
+
+ public Long supervisorGitHeadVersionRaw() {
+ if (this.supervisorGitHeadVersionRaw != null) return this.supervisorGitHeadVersionRaw;
+ long _tmp = (long) (supervisorGitHeadVersion());
+ this.supervisorGitHeadVersionRaw = _tmp;
+ return this.supervisorGitHeadVersionRaw;
+ }
+
+ private Integer supervisorMajorVersionRaw;
+
+ public Integer supervisorMajorVersionRaw() {
+ if (this.supervisorMajorVersionRaw != null) return this.supervisorMajorVersionRaw;
+ int _tmp = (int) (supervisorMajorVersion());
+ this.supervisorMajorVersionRaw = _tmp;
+ return this.supervisorMajorVersionRaw;
+ }
+
+ private byte[] compilationInformationByte;
+
+ public byte[] compilationInformationByte() {
+ if (this.compilationInformationByte != null) return this.compilationInformationByte;
+ this.compilationInformationByte = compilationInformation();
+ return this.compilationInformationByte;
+ }
+
+ private Long nbTmSinceFirstStartRaw;
+
+ public Long nbTmSinceFirstStartRaw() {
+ if (this.nbTmSinceFirstStartRaw != null) return this.nbTmSinceFirstStartRaw;
+ long _tmp = (long) (nbTmSinceFirstStart());
+ this.nbTmSinceFirstStartRaw = _tmp;
+ return this.nbTmSinceFirstStartRaw;
+ }
+
+ private Integer supervisorMinorVersionRaw;
+
+ public Integer supervisorMinorVersionRaw() {
+ if (this.supervisorMinorVersionRaw != null) return this.supervisorMinorVersionRaw;
+ int _tmp = (int) (supervisorMinorVersion());
+ this.supervisorMinorVersionRaw = _tmp;
+ return this.supervisorMinorVersionRaw;
+ }
+
+ private Integer sdcardStatusRaw;
+
+ public Integer sdcardStatusRaw() {
+ if (this.sdcardStatusRaw != null) return this.sdcardStatusRaw;
+ int _tmp = (int) (sdcardStatus());
+ this.sdcardStatusRaw = _tmp;
+ return this.sdcardStatusRaw;
+ }
+
+ private Integer supervisorPatchVersionRaw;
+
+ public Integer supervisorPatchVersionRaw() {
+ if (this.supervisorPatchVersionRaw != null) return this.supervisorPatchVersionRaw;
+ int _tmp = (int) (supervisorPatchVersion());
+ this.supervisorPatchVersionRaw = _tmp;
+ return this.supervisorPatchVersionRaw;
+ }
+
+ private Integer reservedRaw;
+
+ public Integer reservedRaw() {
+ if (this.reservedRaw != null) return this.reservedRaw;
+ int _tmp = (int) (reserved());
+ this.reservedRaw = _tmp;
+ return this.reservedRaw;
+ }
+
+ private Integer supervisorSerialNumberRaw;
+
+ public Integer supervisorSerialNumberRaw() {
+ if (this.supervisorSerialNumberRaw != null) return this.supervisorSerialNumberRaw;
+ int _tmp = (int) (supervisorSerialNumber());
+ this.supervisorSerialNumberRaw = _tmp;
+ return this.supervisorSerialNumberRaw;
+ }
+
+ private Long nbTmInSdcardRaw;
+
+ public Long nbTmInSdcardRaw() {
+ if (this.nbTmInSdcardRaw != null) return this.nbTmInSdcardRaw;
+ long _tmp = (long) (nbTmInSdcard());
+ this.nbTmInSdcardRaw = _tmp;
+ return this.nbTmInSdcardRaw;
+ }
+
+ private Integer reserved2Raw;
+
+ public Integer reserved2Raw() {
+ if (this.reserved2Raw != null) return this.reserved2Raw;
+ int _tmp = (int) (reserved2());
+ this.reserved2Raw = _tmp;
+ return this.reserved2Raw;
+ }
+
+ private Integer swMmodeRaw;
+
+ public Integer swMmodeRaw() {
+ if (this.swMmodeRaw != null) return this.swMmodeRaw;
+ int _tmp = (int) (swMmode());
+ this.swMmodeRaw = _tmp;
+ return this.swMmodeRaw;
+ }
+
+ private Integer codeTypeRaw;
+
+ public Integer codeTypeRaw() {
+ if (this.codeTypeRaw != null) return this.codeTypeRaw;
+ int _tmp = (int) (codeType());
+ this.codeTypeRaw = _tmp;
+ return this.codeTypeRaw;
+ }
+
+ private Long oldTimeTMInSdcardRaw;
+
+ public Long oldTimeTMInSdcardRaw() {
+ if (this.oldTimeTMInSdcardRaw != null) return this.oldTimeTMInSdcardRaw;
+ long _tmp = (long) (oldTimeTMInSdcard());
+ this.oldTimeTMInSdcardRaw = _tmp;
+ return this.oldTimeTMInSdcardRaw;
+ }
+
+ private Integer dummydummy;
+
+ public Integer dummydummy() {
+ if (this.dummydummy != null) return this.dummydummy;
+ int _tmp = (int) (dummy());
+ this.dummydummy = _tmp;
+ return this.dummydummy;
+ }
+
+ private Long nbTcSinceFirstStartRaw;
+
+ public Long nbTcSinceFirstStartRaw() {
+ if (this.nbTcSinceFirstStartRaw != null) return this.nbTcSinceFirstStartRaw;
+ long _tmp = (long) (nbTcSinceFirstStart());
+ this.nbTcSinceFirstStartRaw = _tmp;
+ return this.nbTcSinceFirstStartRaw;
+ }
+
+ private Long nbTcPingSinceFirstStartRaw;
+
+ public Long nbTcPingSinceFirstStartRaw() {
+ if (this.nbTcPingSinceFirstStartRaw != null) return this.nbTcPingSinceFirstStartRaw;
+ long _tmp = (long) (nbTcPingSinceFirstStart());
+ this.nbTcPingSinceFirstStartRaw = _tmp;
+ return this.nbTcPingSinceFirstStartRaw;
+ }
+
+ private Long sdcardLastErrorRaw;
+
+ public Long sdcardLastErrorRaw() {
+ if (this.sdcardLastErrorRaw != null) return this.sdcardLastErrorRaw;
+ long _tmp = (long) (sdcardLastError());
+ this.sdcardLastErrorRaw = _tmp;
+ return this.sdcardLastErrorRaw;
+ }
+
+ private Long nbBadTcSinceFirstStartRaw;
+
+ public Long nbBadTcSinceFirstStartRaw() {
+ if (this.nbBadTcSinceFirstStartRaw != null) return this.nbBadTcSinceFirstStartRaw;
+ long _tmp = (long) (nbBadTcSinceFirstStart());
+ this.nbBadTcSinceFirstStartRaw = _tmp;
+ return this.nbBadTcSinceFirstStartRaw;
+ }
+
+ private Integer spiCommandStatusRaw;
+
+ public Integer spiCommandStatusRaw() {
+ if (this.spiCommandStatusRaw != null) return this.spiCommandStatusRaw;
+ int _tmp = (int) (spiCommandStatus());
+ this.spiCommandStatusRaw = _tmp;
+ return this.spiCommandStatusRaw;
+ }
+
+ private int dummy;
+ private int spiCommandStatus;
+ private int supervisorIndexOfSubsystem;
+ private int supervisorMajorVersion;
+ private int supervisorMinorVersion;
+ private int supervisorPatchVersion;
+ private long supervisorGitHeadVersion;
+ private int supervisorSerialNumber;
+ private byte[] compilationInformation;
+ private int clockSpeed;
+ private int codeType;
+ private int crc8;
+ private int swMmode;
+ private int lastResetReason;
+ private int reserved;
+ private int nbReset;
+ private int reserved2;
+ private int deployAntennasSystem;
+ private long nbTmSinceFirstStart;
+ private long nbTcSinceFirstStart;
+ private long nbTcPingSinceFirstStart;
+ private long nbBadTcSinceFirstStart;
+ private long nbTmInSdcard;
+ private int sdcardStatus;
+ private long sdcardLastError;
+ private long oldTimeTMInSdcard;
+ private long newTimeTMInSdcard;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int dummy() {
+ return dummy;
+ }
+
+ public int spiCommandStatus() {
+ return spiCommandStatus;
+ }
+
+ public int supervisorIndexOfSubsystem() {
+ return supervisorIndexOfSubsystem;
+ }
+
+ public int supervisorMajorVersion() {
+ return supervisorMajorVersion;
+ }
+
+ public int supervisorMinorVersion() {
+ return supervisorMinorVersion;
+ }
+
+ public int supervisorPatchVersion() {
+ return supervisorPatchVersion;
+ }
+
+ public long supervisorGitHeadVersion() {
+ return supervisorGitHeadVersion;
+ }
+
+ public int supervisorSerialNumber() {
+ return supervisorSerialNumber;
+ }
+
+ public byte[] compilationInformation() {
+ return compilationInformation;
+ }
+
+ public int clockSpeed() {
+ return clockSpeed;
+ }
+
+ public int codeType() {
+ return codeType;
+ }
+
+ public int crc8() {
+ return crc8;
+ }
+
+ public int swMmode() {
+ return swMmode;
+ }
+
+ public int lastResetReason() {
+ return lastResetReason;
+ }
+
+ public int reserved() {
+ return reserved;
+ }
+
+ public int nbReset() {
+ return nbReset;
+ }
+
+ public int reserved2() {
+ return reserved2;
+ }
+
+ public int deployAntennasSystem() {
+ return deployAntennasSystem;
+ }
+
+ public long nbTmSinceFirstStart() {
+ return nbTmSinceFirstStart;
+ }
+
+ public long nbTcSinceFirstStart() {
+ return nbTcSinceFirstStart;
+ }
+
+ public long nbTcPingSinceFirstStart() {
+ return nbTcPingSinceFirstStart;
+ }
+
+ public long nbBadTcSinceFirstStart() {
+ return nbBadTcSinceFirstStart;
+ }
+
+ public long nbTmInSdcard() {
+ return nbTmInSdcard;
+ }
+
+ public int sdcardStatus() {
+ return sdcardStatus;
+ }
+
+ public long sdcardLastError() {
+ return sdcardLastError;
+ }
+
+ public long oldTimeTMInSdcard() {
+ return oldTimeTMInSdcard;
+ }
+
+ public long newTimeTMInSdcard() {
+ return newTimeTMInSdcard;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AntsHk extends KaitaiStruct {
+ public static AntsHk fromFile(String fileName) throws IOException {
+ return new AntsHk(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AntsHk(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AntsHk(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AntsHk(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmtcSideAAntsTemperature = this._io.readU2be();
+ this.tmtcSideAAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideAAntsUptime = this._io.readU4be();
+ this.tmtcSideBAntsTemperature = this._io.readU2be();
+ this.tmtcSideBAntsDeploymentStatus = this._io.readU2be();
+ this.tmtcSideBAntsUptime = this._io.readU2be();
+ this.ionoSideAAntsTemperature = this._io.readU2be();
+ this.ionoSideAAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideAAntsUptime = this._io.readU4be();
+ this.ionoSideBAntsTemperature = this._io.readU2be();
+ this.ionoSideBAntsDeploymentStatus = this._io.readU2be();
+ this.ionoSideBAntsUptime = this._io.readU2be();
+ }
+
+ private Integer ionoSideAAntsTemperatureRaw;
+
+ public Integer ionoSideAAntsTemperatureRaw() {
+ if (this.ionoSideAAntsTemperatureRaw != null) return this.ionoSideAAntsTemperatureRaw;
+ int _tmp = (int) (ionoSideAAntsTemperature());
+ this.ionoSideAAntsTemperatureRaw = _tmp;
+ return this.ionoSideAAntsTemperatureRaw;
+ }
+
+ private Integer tmtcSideBAntsUptimeRaw;
+
+ public Integer tmtcSideBAntsUptimeRaw() {
+ if (this.tmtcSideBAntsUptimeRaw != null) return this.tmtcSideBAntsUptimeRaw;
+ int _tmp = (int) (tmtcSideBAntsUptime());
+ this.tmtcSideBAntsUptimeRaw = _tmp;
+ return this.tmtcSideBAntsUptimeRaw;
+ }
+
+ private Integer ionoSideBAntsDeploymentStatusRaw;
+
+ public Integer ionoSideBAntsDeploymentStatusRaw() {
+ if (this.ionoSideBAntsDeploymentStatusRaw != null)
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideBAntsDeploymentStatus());
+ this.ionoSideBAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideBAntsDeploymentStatusRaw;
+ }
+
+ private Long tmtcSideAAntsUptimeRaw;
+
+ public Long tmtcSideAAntsUptimeRaw() {
+ if (this.tmtcSideAAntsUptimeRaw != null) return this.tmtcSideAAntsUptimeRaw;
+ long _tmp = (long) (tmtcSideAAntsUptime());
+ this.tmtcSideAAntsUptimeRaw = _tmp;
+ return this.tmtcSideAAntsUptimeRaw;
+ }
+
+ private Integer ionoSideBAntsTemperatureRaw;
+
+ public Integer ionoSideBAntsTemperatureRaw() {
+ if (this.ionoSideBAntsTemperatureRaw != null) return this.ionoSideBAntsTemperatureRaw;
+ int _tmp = (int) (ionoSideBAntsTemperature());
+ this.ionoSideBAntsTemperatureRaw = _tmp;
+ return this.ionoSideBAntsTemperatureRaw;
+ }
+
+ private Integer ionoSideBAntsUptimeRaw;
+
+ public Integer ionoSideBAntsUptimeRaw() {
+ if (this.ionoSideBAntsUptimeRaw != null) return this.ionoSideBAntsUptimeRaw;
+ int _tmp = (int) (ionoSideBAntsUptime());
+ this.ionoSideBAntsUptimeRaw = _tmp;
+ return this.ionoSideBAntsUptimeRaw;
+ }
+
+ private Integer tmtcSideAAntsTemperatureRaw;
+
+ public Integer tmtcSideAAntsTemperatureRaw() {
+ if (this.tmtcSideAAntsTemperatureRaw != null) return this.tmtcSideAAntsTemperatureRaw;
+ int _tmp = (int) (tmtcSideAAntsTemperature());
+ this.tmtcSideAAntsTemperatureRaw = _tmp;
+ return this.tmtcSideAAntsTemperatureRaw;
+ }
+
+ private Integer tmtcSideBAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideBAntsDeploymentStatusRaw() {
+ if (this.tmtcSideBAntsDeploymentStatusRaw != null)
+ return this.tmtcSideBAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideBAntsDeploymentStatus());
+ this.tmtcSideBAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideBAntsDeploymentStatusRaw;
+ }
+
+ private Integer tmtcSideBAntsTemperatureRaw;
+
+ public Integer tmtcSideBAntsTemperatureRaw() {
+ if (this.tmtcSideBAntsTemperatureRaw != null) return this.tmtcSideBAntsTemperatureRaw;
+ int _tmp = (int) (tmtcSideBAntsTemperature());
+ this.tmtcSideBAntsTemperatureRaw = _tmp;
+ return this.tmtcSideBAntsTemperatureRaw;
+ }
+
+ private Long ionoSideAAntsUptimeRaw;
+
+ public Long ionoSideAAntsUptimeRaw() {
+ if (this.ionoSideAAntsUptimeRaw != null) return this.ionoSideAAntsUptimeRaw;
+ long _tmp = (long) (ionoSideAAntsUptime());
+ this.ionoSideAAntsUptimeRaw = _tmp;
+ return this.ionoSideAAntsUptimeRaw;
+ }
+
+ private Integer tmtcSideAAntsDeploymentStatusRaw;
+
+ public Integer tmtcSideAAntsDeploymentStatusRaw() {
+ if (this.tmtcSideAAntsDeploymentStatusRaw != null)
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (tmtcSideAAntsDeploymentStatus());
+ this.tmtcSideAAntsDeploymentStatusRaw = _tmp;
+ return this.tmtcSideAAntsDeploymentStatusRaw;
+ }
+
+ private Integer ionoSideAAntsDeploymentStatusRaw;
+
+ public Integer ionoSideAAntsDeploymentStatusRaw() {
+ if (this.ionoSideAAntsDeploymentStatusRaw != null)
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ int _tmp = (int) (ionoSideAAntsDeploymentStatus());
+ this.ionoSideAAntsDeploymentStatusRaw = _tmp;
+ return this.ionoSideAAntsDeploymentStatusRaw;
+ }
+
+ private int tmtcSideAAntsTemperature;
+ private int tmtcSideAAntsDeploymentStatus;
+ private long tmtcSideAAntsUptime;
+ private int tmtcSideBAntsTemperature;
+ private int tmtcSideBAntsDeploymentStatus;
+ private int tmtcSideBAntsUptime;
+ private int ionoSideAAntsTemperature;
+ private int ionoSideAAntsDeploymentStatus;
+ private long ionoSideAAntsUptime;
+ private int ionoSideBAntsTemperature;
+ private int ionoSideBAntsDeploymentStatus;
+ private int ionoSideBAntsUptime;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int tmtcSideAAntsTemperature() {
+ return tmtcSideAAntsTemperature;
+ }
+
+ public int tmtcSideAAntsDeploymentStatus() {
+ return tmtcSideAAntsDeploymentStatus;
+ }
+
+ public long tmtcSideAAntsUptime() {
+ return tmtcSideAAntsUptime;
+ }
+
+ public int tmtcSideBAntsTemperature() {
+ return tmtcSideBAntsTemperature;
+ }
+
+ public int tmtcSideBAntsDeploymentStatus() {
+ return tmtcSideBAntsDeploymentStatus;
+ }
+
+ public int tmtcSideBAntsUptime() {
+ return tmtcSideBAntsUptime;
+ }
+
+ public int ionoSideAAntsTemperature() {
+ return ionoSideAAntsTemperature;
+ }
+
+ public int ionoSideAAntsDeploymentStatus() {
+ return ionoSideAAntsDeploymentStatus;
+ }
+
+ public long ionoSideAAntsUptime() {
+ return ionoSideAAntsUptime;
+ }
+
+ public int ionoSideBAntsTemperature() {
+ return ionoSideBAntsTemperature;
+ }
+
+ public int ionoSideBAntsDeploymentStatus() {
+ return ionoSideBAntsDeploymentStatus;
+ }
+
+ public int ionoSideBAntsUptime() {
+ return ionoSideBAntsUptime;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ public static class AntsStatus extends KaitaiStruct {
+ public static AntsStatus fromFile(String fileName) throws IOException {
+ return new AntsStatus(new ByteBufferKaitaiStream(fileName));
+ }
+
+ public AntsStatus(KaitaiStream _io) {
+ this(_io, null, null);
+ }
+
+ public AntsStatus(KaitaiStream _io, InspireSat7.UiFrame _parent) {
+ this(_io, _parent, null);
+ }
+
+ public AntsStatus(KaitaiStream _io, InspireSat7.UiFrame _parent, InspireSat7 _root) {
+ super(_io);
+ this._parent = _parent;
+ this._root = _root;
+ _read();
+ }
+
+ private void _read() {
+ this.tmtcSideADeploymentCountAntenna1 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna2 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna3 = this._io.readU1();
+ this.tmtcSideADeploymentCountAntenna4 = this._io.readU1();
+ this.tmtcSideADeploymentTimeAntenna1 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna2 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna3 = this._io.readU2be();
+ this.tmtcSideADeploymentTimeAntenna4 = this._io.readU2be();
+ this.tmtcSideBDeploymentCountAntenna1 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna2 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna3 = this._io.readU1();
+ this.tmtcSideBDeploymentCountAntenna4 = this._io.readU1();
+ this.tmtcSideBDeploymentTimeAntenna1 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna2 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna3 = this._io.readU2be();
+ this.tmtcSideBDeploymentTimeAntenna4 = this._io.readU2be();
+ this.ionoSideADeploymentCountAntenna1 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna2 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna3 = this._io.readU1();
+ this.ionoSideADeploymentCountAntenna4 = this._io.readU1();
+ this.ionoSideADeploymentTimeAntenna1 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna2 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna3 = this._io.readU2be();
+ this.ionoSideADeploymentTimeAntenna4 = this._io.readU2be();
+ this.ionoSideBDeploymentCountAntenna1 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna2 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna3 = this._io.readU1();
+ this.ionoSideBDeploymentCountAntenna4 = this._io.readU1();
+ this.ionoSideBDeploymentTimeAntenna1 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna2 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna3 = this._io.readU2be();
+ this.ionoSideBDeploymentTimeAntenna4 = this._io.readU2be();
+ }
+
+ private Integer ionoSideADeploymentCountAntenna3Raw;
+
+ public Integer ionoSideADeploymentCountAntenna3Raw() {
+ if (this.ionoSideADeploymentCountAntenna3Raw != null)
+ return this.ionoSideADeploymentCountAntenna3Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna3());
+ this.ionoSideADeploymentCountAntenna3Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna2Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna2Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna2Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna2Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna2());
+ this.ionoSideBDeploymentTimeAntenna2Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna4Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna4Raw() {
+ if (this.ionoSideADeploymentTimeAntenna4Raw != null)
+ return this.ionoSideADeploymentTimeAntenna4Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna4());
+ this.ionoSideADeploymentTimeAntenna4Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna3Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna3Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna3Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna3Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna3());
+ this.ionoSideBDeploymentTimeAntenna3Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna3Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna3Raw() {
+ if (this.ionoSideBDeploymentCountAntenna3Raw != null)
+ return this.ionoSideBDeploymentCountAntenna3Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna3());
+ this.ionoSideBDeploymentCountAntenna3Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna3Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna1Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna1Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna1Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna1Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna1());
+ this.tmtcSideBDeploymentTimeAntenna1Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna2Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna2Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna2Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna2Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna2());
+ this.tmtcSideBDeploymentCountAntenna2Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna3Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna3Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna3Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna3Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna3());
+ this.tmtcSideBDeploymentCountAntenna3Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna3Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna3Raw() {
+ if (this.tmtcSideADeploymentCountAntenna3Raw != null)
+ return this.tmtcSideADeploymentCountAntenna3Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna3());
+ this.tmtcSideADeploymentCountAntenna3Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna3Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna4Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna4Raw() {
+ if (this.ionoSideBDeploymentCountAntenna4Raw != null)
+ return this.ionoSideBDeploymentCountAntenna4Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna4());
+ this.ionoSideBDeploymentCountAntenna4Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna2Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna2Raw() {
+ if (this.ionoSideBDeploymentCountAntenna2Raw != null)
+ return this.ionoSideBDeploymentCountAntenna2Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna2());
+ this.ionoSideBDeploymentCountAntenna2Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna3Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna3Raw() {
+ if (this.ionoSideADeploymentTimeAntenna3Raw != null)
+ return this.ionoSideADeploymentTimeAntenna3Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna3());
+ this.ionoSideADeploymentTimeAntenna3Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna1Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna1Raw() {
+ if (this.tmtcSideADeploymentCountAntenna1Raw != null)
+ return this.tmtcSideADeploymentCountAntenna1Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna1());
+ this.tmtcSideADeploymentCountAntenna1Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna1Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna2Raw;
+
+ public Integer ionoSideADeploymentCountAntenna2Raw() {
+ if (this.ionoSideADeploymentCountAntenna2Raw != null)
+ return this.ionoSideADeploymentCountAntenna2Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna2());
+ this.ionoSideADeploymentCountAntenna2Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna4Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna4Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna4Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna4Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna4());
+ this.tmtcSideBDeploymentCountAntenna4Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna4Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna3Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna3Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna3Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna3Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna3());
+ this.tmtcSideADeploymentTimeAntenna3Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna3Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna1Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna1Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna1Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna1Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna1());
+ this.tmtcSideADeploymentTimeAntenna1Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna4Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna4Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna4Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna4Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna4());
+ this.tmtcSideBDeploymentTimeAntenna4Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna1Raw;
+
+ public Integer ionoSideADeploymentCountAntenna1Raw() {
+ if (this.ionoSideADeploymentCountAntenna1Raw != null)
+ return this.ionoSideADeploymentCountAntenna1Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna1());
+ this.ionoSideADeploymentCountAntenna1Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna2Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna2Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna2Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna2Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna2());
+ this.tmtcSideBDeploymentTimeAntenna2Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna2Raw;
+ }
+
+ private Integer tmtcSideBDeploymentCountAntenna1Raw;
+
+ public Integer tmtcSideBDeploymentCountAntenna1Raw() {
+ if (this.tmtcSideBDeploymentCountAntenna1Raw != null)
+ return this.tmtcSideBDeploymentCountAntenna1Raw;
+ int _tmp = (int) (tmtcSideBDeploymentCountAntenna1());
+ this.tmtcSideBDeploymentCountAntenna1Raw = _tmp;
+ return this.tmtcSideBDeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideBDeploymentTimeAntenna3Raw;
+
+ public Integer tmtcSideBDeploymentTimeAntenna3Raw() {
+ if (this.tmtcSideBDeploymentTimeAntenna3Raw != null)
+ return this.tmtcSideBDeploymentTimeAntenna3Raw;
+ int _tmp = (int) (tmtcSideBDeploymentTimeAntenna3());
+ this.tmtcSideBDeploymentTimeAntenna3Raw = _tmp;
+ return this.tmtcSideBDeploymentTimeAntenna3Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna2Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna2Raw() {
+ if (this.ionoSideADeploymentTimeAntenna2Raw != null)
+ return this.ionoSideADeploymentTimeAntenna2Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna2());
+ this.ionoSideADeploymentTimeAntenna2Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna2Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna2Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna2Raw() {
+ if (this.tmtcSideADeploymentCountAntenna2Raw != null)
+ return this.tmtcSideADeploymentCountAntenna2Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna2());
+ this.tmtcSideADeploymentCountAntenna2Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna2Raw;
+ }
+
+ private Integer ionoSideADeploymentTimeAntenna1Raw;
+
+ public Integer ionoSideADeploymentTimeAntenna1Raw() {
+ if (this.ionoSideADeploymentTimeAntenna1Raw != null)
+ return this.ionoSideADeploymentTimeAntenna1Raw;
+ int _tmp = (int) (ionoSideADeploymentTimeAntenna1());
+ this.ionoSideADeploymentTimeAntenna1Raw = _tmp;
+ return this.ionoSideADeploymentTimeAntenna1Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna1Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna1Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna1Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna1Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna1());
+ this.ionoSideBDeploymentTimeAntenna1Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna1Raw;
+ }
+
+ private Integer tmtcSideADeploymentCountAntenna4Raw;
+
+ public Integer tmtcSideADeploymentCountAntenna4Raw() {
+ if (this.tmtcSideADeploymentCountAntenna4Raw != null)
+ return this.tmtcSideADeploymentCountAntenna4Raw;
+ int _tmp = (int) (tmtcSideADeploymentCountAntenna4());
+ this.tmtcSideADeploymentCountAntenna4Raw = _tmp;
+ return this.tmtcSideADeploymentCountAntenna4Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna4Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna4Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna4Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna4Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna4());
+ this.tmtcSideADeploymentTimeAntenna4Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideADeploymentCountAntenna4Raw;
+
+ public Integer ionoSideADeploymentCountAntenna4Raw() {
+ if (this.ionoSideADeploymentCountAntenna4Raw != null)
+ return this.ionoSideADeploymentCountAntenna4Raw;
+ int _tmp = (int) (ionoSideADeploymentCountAntenna4());
+ this.ionoSideADeploymentCountAntenna4Raw = _tmp;
+ return this.ionoSideADeploymentCountAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentTimeAntenna4Raw;
+
+ public Integer ionoSideBDeploymentTimeAntenna4Raw() {
+ if (this.ionoSideBDeploymentTimeAntenna4Raw != null)
+ return this.ionoSideBDeploymentTimeAntenna4Raw;
+ int _tmp = (int) (ionoSideBDeploymentTimeAntenna4());
+ this.ionoSideBDeploymentTimeAntenna4Raw = _tmp;
+ return this.ionoSideBDeploymentTimeAntenna4Raw;
+ }
+
+ private Integer ionoSideBDeploymentCountAntenna1Raw;
+
+ public Integer ionoSideBDeploymentCountAntenna1Raw() {
+ if (this.ionoSideBDeploymentCountAntenna1Raw != null)
+ return this.ionoSideBDeploymentCountAntenna1Raw;
+ int _tmp = (int) (ionoSideBDeploymentCountAntenna1());
+ this.ionoSideBDeploymentCountAntenna1Raw = _tmp;
+ return this.ionoSideBDeploymentCountAntenna1Raw;
+ }
+
+ private Integer tmtcSideADeploymentTimeAntenna2Raw;
+
+ public Integer tmtcSideADeploymentTimeAntenna2Raw() {
+ if (this.tmtcSideADeploymentTimeAntenna2Raw != null)
+ return this.tmtcSideADeploymentTimeAntenna2Raw;
+ int _tmp = (int) (tmtcSideADeploymentTimeAntenna2());
+ this.tmtcSideADeploymentTimeAntenna2Raw = _tmp;
+ return this.tmtcSideADeploymentTimeAntenna2Raw;
+ }
+
+ private int tmtcSideADeploymentCountAntenna1;
+ private int tmtcSideADeploymentCountAntenna2;
+ private int tmtcSideADeploymentCountAntenna3;
+ private int tmtcSideADeploymentCountAntenna4;
+ private int tmtcSideADeploymentTimeAntenna1;
+ private int tmtcSideADeploymentTimeAntenna2;
+ private int tmtcSideADeploymentTimeAntenna3;
+ private int tmtcSideADeploymentTimeAntenna4;
+ private int tmtcSideBDeploymentCountAntenna1;
+ private int tmtcSideBDeploymentCountAntenna2;
+ private int tmtcSideBDeploymentCountAntenna3;
+ private int tmtcSideBDeploymentCountAntenna4;
+ private int tmtcSideBDeploymentTimeAntenna1;
+ private int tmtcSideBDeploymentTimeAntenna2;
+ private int tmtcSideBDeploymentTimeAntenna3;
+ private int tmtcSideBDeploymentTimeAntenna4;
+ private int ionoSideADeploymentCountAntenna1;
+ private int ionoSideADeploymentCountAntenna2;
+ private int ionoSideADeploymentCountAntenna3;
+ private int ionoSideADeploymentCountAntenna4;
+ private int ionoSideADeploymentTimeAntenna1;
+ private int ionoSideADeploymentTimeAntenna2;
+ private int ionoSideADeploymentTimeAntenna3;
+ private int ionoSideADeploymentTimeAntenna4;
+ private int ionoSideBDeploymentCountAntenna1;
+ private int ionoSideBDeploymentCountAntenna2;
+ private int ionoSideBDeploymentCountAntenna3;
+ private int ionoSideBDeploymentCountAntenna4;
+ private int ionoSideBDeploymentTimeAntenna1;
+ private int ionoSideBDeploymentTimeAntenna2;
+ private int ionoSideBDeploymentTimeAntenna3;
+ private int ionoSideBDeploymentTimeAntenna4;
+ private InspireSat7 _root;
+ private InspireSat7.UiFrame _parent;
+
+ public int tmtcSideADeploymentCountAntenna1() {
+ return tmtcSideADeploymentCountAntenna1;
+ }
+
+ public int tmtcSideADeploymentCountAntenna2() {
+ return tmtcSideADeploymentCountAntenna2;
+ }
+
+ public int tmtcSideADeploymentCountAntenna3() {
+ return tmtcSideADeploymentCountAntenna3;
+ }
+
+ public int tmtcSideADeploymentCountAntenna4() {
+ return tmtcSideADeploymentCountAntenna4;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna1() {
+ return tmtcSideADeploymentTimeAntenna1;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna2() {
+ return tmtcSideADeploymentTimeAntenna2;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna3() {
+ return tmtcSideADeploymentTimeAntenna3;
+ }
+
+ public int tmtcSideADeploymentTimeAntenna4() {
+ return tmtcSideADeploymentTimeAntenna4;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna1() {
+ return tmtcSideBDeploymentCountAntenna1;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna2() {
+ return tmtcSideBDeploymentCountAntenna2;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna3() {
+ return tmtcSideBDeploymentCountAntenna3;
+ }
+
+ public int tmtcSideBDeploymentCountAntenna4() {
+ return tmtcSideBDeploymentCountAntenna4;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna1() {
+ return tmtcSideBDeploymentTimeAntenna1;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna2() {
+ return tmtcSideBDeploymentTimeAntenna2;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna3() {
+ return tmtcSideBDeploymentTimeAntenna3;
+ }
+
+ public int tmtcSideBDeploymentTimeAntenna4() {
+ return tmtcSideBDeploymentTimeAntenna4;
+ }
+
+ public int ionoSideADeploymentCountAntenna1() {
+ return ionoSideADeploymentCountAntenna1;
+ }
+
+ public int ionoSideADeploymentCountAntenna2() {
+ return ionoSideADeploymentCountAntenna2;
+ }
+
+ public int ionoSideADeploymentCountAntenna3() {
+ return ionoSideADeploymentCountAntenna3;
+ }
+
+ public int ionoSideADeploymentCountAntenna4() {
+ return ionoSideADeploymentCountAntenna4;
+ }
+
+ public int ionoSideADeploymentTimeAntenna1() {
+ return ionoSideADeploymentTimeAntenna1;
+ }
+
+ public int ionoSideADeploymentTimeAntenna2() {
+ return ionoSideADeploymentTimeAntenna2;
+ }
+
+ public int ionoSideADeploymentTimeAntenna3() {
+ return ionoSideADeploymentTimeAntenna3;
+ }
+
+ public int ionoSideADeploymentTimeAntenna4() {
+ return ionoSideADeploymentTimeAntenna4;
+ }
+
+ public int ionoSideBDeploymentCountAntenna1() {
+ return ionoSideBDeploymentCountAntenna1;
+ }
+
+ public int ionoSideBDeploymentCountAntenna2() {
+ return ionoSideBDeploymentCountAntenna2;
+ }
+
+ public int ionoSideBDeploymentCountAntenna3() {
+ return ionoSideBDeploymentCountAntenna3;
+ }
+
+ public int ionoSideBDeploymentCountAntenna4() {
+ return ionoSideBDeploymentCountAntenna4;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna1() {
+ return ionoSideBDeploymentTimeAntenna1;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna2() {
+ return ionoSideBDeploymentTimeAntenna2;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna3() {
+ return ionoSideBDeploymentTimeAntenna3;
+ }
+
+ public int ionoSideBDeploymentTimeAntenna4() {
+ return ionoSideBDeploymentTimeAntenna4;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public InspireSat7.UiFrame _parent() {
+ return _parent;
+ }
+ }
+
+ private Ax25Frame ax25Frame;
+ private InspireSat7 _root;
+ private KaitaiStruct _parent;
+
+ /** @see Source */
+ public Ax25Frame ax25Frame() {
+ return ax25Frame;
+ }
+
+ public InspireSat7 _root() {
+ return _root;
+ }
+
+ public KaitaiStruct _parent() {
+ return _parent;
+ }
+}
diff --git a/ModuleInspireSat7/src/main/java/org/josast/inspiresat7/pojogenerated/amsatAscii.java b/ModuleInspireSat7/src/main/java/org/josast/inspiresat7/pojogenerated/amsatAscii.java
new file mode 100644
index 0000000000000000000000000000000000000000..fb1345ddc0df2e93208b46e04e89e1d3e295cb72
--- /dev/null
+++ b/ModuleInspireSat7/src/main/java/org/josast/inspiresat7/pojogenerated/amsatAscii.java
@@ -0,0 +1,46 @@
+// this class has been automaticaly generated based on KSY file
+// @see Josast project
+
+package org.josast.inspiresat7.pojogenerated;
+
+import org.josast.abstractclass.AFrame;
+import org.josast.inspiresat7.generated.InspireSat7.AmsatAscii;
+import java.util.ArrayList;
+import org.josast.telemetry.DataTelemetry;
+
+public class amsatAscii extends AFrame {
+
+ private String separator = " \r\n";
+ /** - data raw Declaration * */
+ /** - Instance Declaration * */
+ private String compmessageStr;
+
+ String messageStr;
+
+ public amsatAscii(AmsatAscii o) {
+
+ compmessageStr = o.messageStr();
+ }
+
+ public String getTelemetryName() {
+
+ return " amsat_ascii ";
+ }
+
+ public ArrayList
+ * this class help to manage the kepleriens element from a text file
+ *
+ * @author XTOPHE
+ * @version 1.0
+ *
+ * date : name : comments
+ * V1 : XTOPHE : create file
+ *
+ *
+ *
+ * @author mercier
+ * @version 1.0
+ *
+ * Version : date : name : comments
+ * V1 : 1 avr. 2005 : C. Mercier : create file
+ *
+ * no verification on the input value
+ *
+ * @param year 4 digit
+ * @param month 1 to 12
+ * @param day 1 to 31
+ * @param hour 1 to 24
+ * @param minute 1 to 59 !
+ * @param seconde 1 to 59
+ */
+ public GenericDate(int year, int month, int day, int hour, int minute, int seconde) {
+ _year = year;
+ _month = month;
+ _day = day;
+ _hour = hour;
+ _minute = minute;
+ _seconde = seconde;
+ }
+
+ /**
+ * Creates a new GenericDate object.
+ *
+ * @param JulianDate julian day
+ */
+ public GenericDate(double JulianDate) {
+ GenericDate Gd = JulianDay.convertToGenericDate(JulianDate);
+ _year = Gd._year;
+ _month = Gd._month;
+ _day = Gd._day;
+ _hour = Gd._hour;
+ _minute = Gd._minute;
+ _seconde = Gd._seconde;
+ }
+
+ // ~ Methods -----------------------------------------------------------
+
+ /**
+ * return the julian day
+ *
+ * @return return julian day
+ */
+ public double getJulianDay() {
+ return JulianDay.convertToJulianDay(_year, _month, _day, _hour, _minute, _seconde);
+ }
+
+ /** @return day */
+ public int get_day() {
+ return _day;
+ }
+
+ /** @return hours */
+ public int get_hour() {
+ return _hour;
+ }
+
+ /** @return minute */
+ public int get_minute() {
+ return _minute;
+ }
+
+ /** @return month */
+ public int get_month() {
+ return _month;
+ }
+
+ /** @return seconde */
+ public int get_seconde() {
+ return _seconde;
+ }
+
+ /** @return year */
+ public int get_year() {
+ return _year;
+ }
+
+ /** @param _day day */
+ public void set_day(int _day) {
+ this._day = _day;
+ }
+
+ /** @param _hour hour */
+ public void set_hour(int _hour) {
+ this._hour = _hour;
+ }
+
+ /** @param _minute minute */
+ public void set_minute(int _minute) {
+ this._minute = _minute;
+ }
+
+ /** @param _month month */
+ public void set_month(int _month) {
+ this._month = _month;
+ }
+
+ /** @param _seconde seconde */
+ public void set_seconde(int _seconde) {
+ this._seconde = _seconde;
+ }
+
+ /** @param _year year */
+ public void set_year(int _year) {
+ this._year = _year;
+ }
+
+ /**
+ * print generic date with the following format dd mm yy hh mn ss
+ *
+ * @return string
+ */
+ public String toString() {
+ return " " + _day + " " + _month + " " + _year + " " + _hour + " " + _minute + " " + _seconde;
+ }
+}
diff --git a/ApplicationJMultisat/src/main/java/org/josast/keplerelement/util/JulianDay.java b/ApplicationJMultisat/src/main/java/org/josast/keplerelement/util/JulianDay.java
new file mode 100644
index 0000000000000000000000000000000000000000..75ff10fa7e4e3cd02bdf86268f4561f2ad085039
--- /dev/null
+++ b/ApplicationJMultisat/src/main/java/org/josast/keplerelement/util/JulianDay.java
@@ -0,0 +1,379 @@
+package org.josast.keplerelement.util;
+
+import java.util.GregorianCalendar;
+
+/**
+ * Description : Julian day computing
+ *
+ *
+ * date : name : comments
+ * V1 : mercier : create file
+ * V1.1 : Mercier : correction bug moi de f�vrier
+ *
+ * >() {}.getType());
-
- Iterator
>() {}.getType());
+
+ // close reader
+ reader.close();
+
+ } catch (Exception ex) {
+ appLogger.severe("Error reading " + f.getAbsolutePath() + " with error " + ex.toString());
+ }
}
+ Iterator
Application KISS TOOL
+
+ Introduction
+ User Manual (To BE UPDATED FOR KISS TOOL)
+
+ UVSQsat Link
+
+Logiciel KissTool
+Contexte
+Fonctionalités
+
+
+Téléchargement
+Windows
+
+Linux
+
+Prérequis
+
+
+Installation
+Windows
+Linux
+
+tar -xzvf UVSQsatDecoderWithJRE.gz
+
Lancement du logiciel
+pour windows
+
+
+
+launchKISSTOOL.bat
+
pour linux
+
+
+
+launchKISSTOOL.sh
+
+
+configuration pour envoyer les données
+Définition de la station
+
+
+Paramétre de la base données
+
+
+Paramétres fichier
+
+
+Connection au modem & réception des données
+
+
+
+
+
+
+
+reception de données
+
+
+Questions
+License
+>() {}.getType());
+
+ // close reader
+ reader.close();
+
+ return spinoCmdList;
+ }
+}
diff --git a/ApplicationSpinoControlCenter/src/main/java/org/josast/ApplicationSpinoControlCenter/PrimaryController.java b/ApplicationSpinoControlCenter/src/main/java/org/josast/ApplicationSpinoControlCenter/PrimaryController.java
new file mode 100644
index 0000000000000000000000000000000000000000..1e3c3bbb548651f3dc3c8c97bc151bcfb8c1d193
--- /dev/null
+++ b/ApplicationSpinoControlCenter/src/main/java/org/josast/ApplicationSpinoControlCenter/PrimaryController.java
@@ -0,0 +1,1024 @@
+package org.josast.ApplicationSpinoControlCenter;
+
+import com.fazecast.jSerialComm.SerialPort;
+
+import java.awt.image.BufferedImage;
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.Enumeration;
+import java.util.Hashtable;
+import java.util.Iterator;
+import java.util.List;
+import java.util.concurrent.BlockingQueue;
+import java.util.concurrent.LinkedBlockingDeque;
+import java.util.logging.Logger;
+
+import javax.imageio.ImageIO;
+
+import javafx.collections.FXCollections;
+import javafx.collections.ObservableList;
+import javafx.embed.swing.SwingFXUtils;
+import javafx.event.ActionEvent;
+import javafx.fxml.FXML;
+import javafx.scene.Node;
+import javafx.scene.control.Button;
+import javafx.scene.control.ComboBox;
+import javafx.scene.control.TableColumn;
+import javafx.scene.control.TableView;
+import javafx.scene.control.TextArea;
+import javafx.scene.control.TextField;
+import javafx.scene.control.TreeItem;
+import javafx.scene.control.TreeTableColumn;
+import javafx.scene.control.TreeTableView;
+import javafx.scene.control.cell.PropertyValueFactory;
+import javafx.scene.control.cell.TreeItemPropertyValueFactory;
+import javafx.scene.image.Image;
+import javafx.scene.image.ImageView;
+import javafx.scene.input.MouseEvent;
+import javafx.scene.layout.Background;
+import javafx.scene.layout.BackgroundFill;
+import javafx.scene.paint.Color;
+import javafx.stage.FileChooser;
+import javafx.stage.Stage;
+
+import org.josast.ApplicationSpinoControlCenter.connection.ReceivedData;
+import org.josast.ApplicationSpinoControlCenter.connection.tcpConnection;
+import org.josast.digipeater.DigipeaterMessage;
+import org.josast.informationMessage.InformationMessage;
+import org.josast.mailbox.Mailboxes;
+import org.josast.mailbox.MailBoxInstance;
+import org.josast.mailbox.MessageInstance;
+import org.josast.spino.ax25.AX25header;
+import org.josast.spino.commande.Command;
+import org.josast.spino.commande.CommandOption;
+import org.josast.spino.commande.Commande;
+import org.josast.spino.commande.CommandeDigipeaterMessage;
+import org.josast.spino.commande.CommandeFactory;
+import org.josast.spino.commande.CommandeGeneric;
+import org.josast.spino.commande.CommandeMailBoxAddMessage;
+import org.josast.spino.commande.CommandeMailBoxAllMessage;
+import org.josast.spino.commande.CommandeMailboxGetLastMessage;
+import org.josast.spino.serial.SerialConfiguration;
+import org.josast.spino.serial.SerialPortDriver;
+import org.josast.spino.test.TestBasicCommand;
+import org.josast.telemetry.DataTelemetry;
+import org.josast.telemetry.api.InterfaceAnalyseData;
+import org.josast.telemetry.api.TelemetryDataInterface;
+
+public class PrimaryController {
+
+ private static Logger appLogger = Logger.getLogger("AmsatLogger");
+
+ SerialPortDriver sp = new SerialPortDriver();
+ SerialPort serp = null;
+
+ @FXML private Button BtClear1;
+
+ @FXML private Button BtSave1;
+
+ @FXML private ComboBox