public void GetPrimaryIDTest2()
        {
            Wells.Well w = new HydroNumerics.Wells.Well("193.   72");
            w.AddNewIntake(1);

            int watlevelno;

            Assert.IsTrue(Reader.TryGetPrimaryID(w.Intakes.First(), new DateTime(1994, 8, 1), out watlevelno));
            Assert.AreEqual(14, watlevelno);
        }
        public void GetPrimaryIDTest()
        {
            Wells.Well w = new HydroNumerics.Wells.Well("193.  125A");
            w.AddNewIntake(1);

            Plant         plant  = new Plant(2065);
            PumpingIntake Intake = new PumpingIntake(w.Intakes.First(), plant);
            int           actual;

            Assert.IsTrue(Reader.TryGetPrimaryID(Intake, plant, out actual));
            Assert.AreEqual(707, actual);
        }
    public void GetPrimaryIDTest()
    {

      Wells.Well w = new HydroNumerics.Wells.Well("193.  125A");
      w.AddNewIntake(1);

      Plant plant = new Plant(2065);
      PumpingIntake Intake = new PumpingIntake(w.Intakes.First(), plant);
      int actual;
      Assert.IsTrue(Reader.TryGetPrimaryID(Intake, plant, out actual));
      Assert.AreEqual(707, actual);
    }
    public void GetPrimaryIDTest2()
    {
      Wells.Well w = new HydroNumerics.Wells.Well("193.   72");
      w.AddNewIntake(1);

      int watlevelno;
      Assert.IsTrue(Reader.TryGetPrimaryID(w.Intakes.First(),new DateTime(1994,8,1), out watlevelno));
      Assert.AreEqual(14, watlevelno);
    }