SsrIm201Header.java

  1. /* Copyright 2002-2024 CS GROUP
  2.  * Licensed to CS GROUP (CS) under one or more
  3.  * contributor license agreements.  See the NOTICE file distributed with
  4.  * this work for additional information regarding copyright ownership.
  5.  * CS licenses this file to You under the Apache License, Version 2.0
  6.  * (the "License"); you may not use this file except in compliance with
  7.  * the License.  You may obtain a copy of the License at
  8.  *
  9.  *   http://www.apache.org/licenses/LICENSE-2.0
  10.  *
  11.  * Unless required by applicable law or agreed to in writing, software
  12.  * distributed under the License is distributed on an "AS IS" BASIS,
  13.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.  * See the License for the specific language governing permissions and
  15.  * limitations under the License.
  16.  */
  17. package org.orekit.gnss.metric.messages.ssr.subtype;

  18. import org.orekit.gnss.metric.messages.ssr.SsrHeader;

  19. /**
  20.  * Container for SSR IM201 header.
  21.  * @author Bryan Cazabonne
  22.  * @since 11.0
  23.  */
  24. public class SsrIm201Header extends SsrHeader {

  25.     /** VTEC quality indicator. */
  26.     private double vtecQualityIndicator;

  27.     /** Number of ionospheric layers. */
  28.     private int numberOfIonosphericLayers;

  29.     /** Constructor. */
  30.     public SsrIm201Header() {
  31.         // Nothing to do ...
  32.     }

  33.     /**
  34.      * Get the VTEC quality indicator.
  35.      * @return the VTEC quality indicator in TECU
  36.      */
  37.     public double getVtecQualityIndicator() {
  38.         return vtecQualityIndicator;
  39.     }

  40.     /**
  41.      * Get the number of ionospheric layers.
  42.      * @return the number of ionospheric layers
  43.      */
  44.     public int getNumberOfIonosphericLayers() {
  45.         return numberOfIonosphericLayers;
  46.     }

  47.     /**
  48.      * Set the VTEC quality indicator.
  49.      * @param vtecQualityIndicator the VTEC quality indicator to set in TECU
  50.      */
  51.     public void setVtecQualityIndicator(final double vtecQualityIndicator) {
  52.         this.vtecQualityIndicator = vtecQualityIndicator;
  53.     }

  54.     /**
  55.      * Set the number of ionospheric layers.
  56.      * @param numberOfIonosphericLayers the number to set
  57.      */
  58.     public void setNumberOfIonosphericLayers(final int numberOfIonosphericLayers) {
  59.         this.numberOfIonosphericLayers = numberOfIonosphericLayers;
  60.     }

  61. }