public void AddProbe(SingleInstanceOfTruth.probeSensor sP) { ProbeList.Add(new Probe(sP)); foreach (SITarea SA in AreaList) { SA.Area.addProbe(new SingleInstanceOfTruth.WiFi(sP.name, sP.vehicleCountSD, sP.vehicleAverageSpeedSD, sP.penetrationRate, sP.penetrationRateSD)); SA.Area.addToProbeSensorNum(1); } }
public Probe(SingleInstanceOfTruth.probeSensor sP) { SitProbe = sP; }