Esempio n. 1
0
 public bool IsCheckProblem(WaterSources waterSources, Plumbing plumbing, GroundWater groundWater, River river, Pool pool, Irrigation irrigation)
 {
     return(IsCheckPlumbing(waterSources?.Plumbing, plumbing) ||
            IsCheckUnderGround(waterSources?.UnderGround, groundWater) ||
            IsCheckPool(waterSources?.Pool, pool) ||
            IsCheckRiver(waterSources?.River, river) ||
            IsCheckIrrigation(waterSources?.Irrigation, irrigation));
 }
Esempio n. 2
0
 public bool IsCheckHasProblemGroundWater(GroundWater groundWater)
 {
     return(groundWater?.PublicGroundWater.WaterResources.All(it => it.QualityProblem?.HasProblem == true) == true);
 }
Esempio n. 3
0
 public bool IsCheckUnderGround(bool?underGround, GroundWater groundWater)
 {
     return((underGround == true) ? IsCheckHasProblemGroundWater(groundWater) : false);
 }