Ejemplo n.º 1
0
    /// <summary>
    /// Put the observation in the well
    /// </summary>
    /// <param name="CurrentWell"></param>
    /// <param name="WatLev"></param>
    private void FillInWaterLevel(IIntake CurrentIntake, JupiterXL.WATLEVELRow WatLev)
    {
      string Description;
      if (WatLev.IsSITUATIONNull())
        Description = "Unknown";
      else
      {
        if (WatLev.SITUATION == 0)
          Description = "Ro";
        else
          Description = "Drift";
      }

      if (!WatLev.IsTIMEOFMEASNull())
        if (!WatLev.IsWATLEVMSLNull())
          CurrentIntake.HeadObservations.Items.Add(new TimestampValue(WatLev.TIMEOFMEAS, WatLev.WATLEVMSL,Description));
        else if (!WatLev.IsWATLEVGRSUNull())
          CurrentIntake.HeadObservations.Items.Add(new TimestampValue(WatLev.TIMEOFMEAS, CurrentIntake.well.Terrain - WatLev.WATLEVGRSU,Description));

    }
Ejemplo n.º 2
0
    /// <summary>
    /// Put the observation in the well
    /// </summary>
    /// <param name="CurrentWell"></param>
    /// <param name="WatLev"></param>
    private void FillInWaterLevel(IIntake CurrentIntake, JupiterXL.WATLEVELRow WatLev)
    {
      string Description;
      if (WatLev.IsSITUATIONNull())
        Description = "Unknown";
      else
      {
        if (WatLev.SITUATION == 0)
          Description = "Ro";
        else
          Description = "Drift";
      }

      ///NOTE!!!! Description used to be a property of the Timestampvalue. Has just been removed. Will crash observations

      if (!WatLev.IsTIMEOFMEASNull())
        if (!WatLev.IsWATLEVMSLNull())
          CurrentIntake.HeadObservations.Items.Add(new TimeStampValue(WatLev.TIMEOFMEAS, WatLev.WATLEVMSL));
        else if (!WatLev.IsWATLEVGRSUNull())
          CurrentIntake.HeadObservations.Items.Add(new TimeStampValue(WatLev.TIMEOFMEAS, CurrentIntake.well.Terrain - WatLev.WATLEVGRSU));

    }
Ejemplo n.º 3
0
    public Reader(string DataBaseFile)
    {
      JXL = new JupiterXL(DataBaseFile);        

    }
Ejemplo n.º 4
0
 public Reader(string DataBaseFile)
 {
     JXL = new JupiterXL(DataBaseFile);
 }