Implement named data groups.
[erlang-x-plane-data.git] / src / x_plane_data_group_lat_lon_alt.erl
CommitLineData
84fa8ccb
SK
1-module(x_plane_data_group_lat_lon_alt).
2
3-include("include/x_plane_data_group_lat_lon_alt.hrl").
4
5-export_type(
6 [ t/0
7 ]).
8
9-export(
10 [ of_raw_values_v10/1
11 ]).
12
13-define(T, #?MODULE).
14
15-type t() ::
16 ?T{}.
17
18-spec of_raw_values_v10(x_plane_data_raw:group_values()) ->
19 t().
20of_raw_values_v10({V1, V2, V3, V4, V5, V6, V7, V8}) ->
21 ?T
22 { lat_deg = V1
23 , lon_deg = V2
24 , alt_ftmsl = V3
25 , alt_ftagl = V4
26 , on_runwy = V5
27 , alt_ind = V6
28 , lat_south = V7
29 , lon_west = V8
30 }.
This page took 0.020124 seconds and 4 git commands to generate.