public void CopyShadowToPlain(HansPlc.structWeatherStation source) { StationICAO = source.StationICAO.Shadow; StationStatus = source.StationStatus.Shadow; DewPoint = source.DewPoint.Shadow; Pressure = source.Pressure.Shadow; Temp = source.Temp.Shadow; Visibility = source.Visibility.Shadow; WindHeading = source.WindHeading.Shadow; WindSpeed = source.WindSpeed.Shadow; }
public void CopyPlainToShadow(HansPlc.structWeatherStation target) { target.StationICAO.Shadow = StationICAO; target.StationStatus.Shadow = StationStatus; target.DewPoint.Shadow = DewPoint; target.Pressure.Shadow = Pressure; target.Temp.Shadow = Temp; target.Visibility.Shadow = Visibility; target.WindHeading.Shadow = WindHeading; target.WindSpeed.Shadow = WindSpeed; }
public void CopyCyclicToPlain(HansPlc.structWeatherStation source) { StationICAO = source.StationICAO.LastValue; StationStatus = source.StationStatus.LastValue; DewPoint = source.DewPoint.LastValue; Pressure = source.Pressure.LastValue; Temp = source.Temp.LastValue; Visibility = source.Visibility.LastValue; WindHeading = source.WindHeading.LastValue; WindSpeed = source.WindSpeed.LastValue; }
public void CopyPlainToCyclic(HansPlc.structWeatherStation target) { target.StationICAO.Cyclic = StationICAO; target.StationStatus.Cyclic = StationStatus; target.DewPoint.Cyclic = DewPoint; target.Pressure.Cyclic = Pressure; target.Temp.Cyclic = Temp; target.Visibility.Cyclic = Visibility; target.WindHeading.Cyclic = WindHeading; target.WindSpeed.Cyclic = WindSpeed; }