Skip to content

Commit

Permalink
Self generation of wind chill and heat index using setters.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdawenterprises committed Sep 19, 2024
1 parent fabd8c8 commit 3c4adfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.ddns.rkdawenterprises</groupId>
<artifactId>ROOT</artifactId>
<version>POM.VERSION.NOT.SUPPORTED.USES.GIT.SEE.MANIFEST.MF.FOR.VERSION</version>
<version>POM.VERSION.NOT.SUPPORTED.USES.GIT.SEE.MANIFEST.MF.FOR.SCM.VERSION</version>
<packaging>war</packaging>

<name>RKDAW Enterprises Web API</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -959,12 +959,6 @@ private Weather_data get_weather_data( DataInputStream in,

weather_data.time = DateTimeFormatter.ofPattern( "yyyy-MM-dd'T'HH:mm:ss'Z'" )
.format( ZonedDateTime.now( ZoneId.of( "UTC" ) ) );
weather_data.heat_index_derived =
Weather_data.calculate_heat_index(weather_data.outside_temperature,
weather_data.outside_humidity);
weather_data.wind_chill_derived =
Weather_data.calculate_wind_chill(weather_data.outside_temperature,
weather_data.wind_speed );
weather_data.wrd = s_wrd;
weather_data.total_packets_received = s_total_packets_received;
weather_data.total_packets_missed = s_total_packets_missed;
Expand Down

0 comments on commit 3c4adfb

Please sign in to comment.