| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<PropertyList> |
| 4 |
|
| 5 |
|
| 6 |
<name>local_weather_winds</name> |
| 7 |
<modal>false</modal> |
| 8 |
<resizable>false</resizable> |
| 9 |
<layout>vbox</layout> |
| 10 |
<default-padding>3</default-padding> |
| 11 |
|
| 12 |
|
| 13 |
<group> |
| 14 |
<layout>hbox</layout> |
| 15 |
<default-padding>3</default-padding> |
| 16 |
|
| 17 |
<text> |
| 18 |
<label>Wind Configuration</label> |
| 19 |
</text> |
| 20 |
|
| 21 |
<empty><stretch>1</stretch></empty> |
| 22 |
|
| 23 |
<button> |
| 24 |
<legend>X</legend> |
| 25 |
<key>Esc</key> |
| 26 |
<pref-width>20</pref-width> |
| 27 |
<pref-height>20</pref-height> |
| 28 |
<binding> |
| 29 |
<command>dialog-close</command> |
| 30 |
</binding> |
| 31 |
</button> |
| 32 |
</group> |
| 33 |
|
| 34 |
<hrule/> |
| 35 |
|
| 36 |
<group> |
| 37 |
<layout>hbox</layout> |
| 38 |
<halign>left</halign> |
| 39 |
|
| 40 |
<text> |
| 41 |
<label></label> |
| 42 |
</text> |
| 43 |
|
| 44 |
<text> |
| 45 |
<label>Specify Aloft Wind Layers:</label> |
| 46 |
</text> |
| 47 |
|
| 48 |
<text> |
| 49 |
<label> Lat:</label> |
| 50 |
</text> |
| 51 |
|
| 52 |
<input> |
| 53 |
<width>80</width> |
| 54 |
<property>/local-weather/tmp/ipoint-latitude-deg</property> |
| 55 |
</input> |
| 56 |
|
| 57 |
|
| 58 |
<text> |
| 59 |
<label> Lon:</label> |
| 60 |
</text> |
| 61 |
|
| 62 |
<input> |
| 63 |
<width>80</width> |
| 64 |
<property>/local-weather/tmp/ipoint-longitude-deg</property> |
| 65 |
</input> |
| 66 |
|
| 67 |
</group> |
| 68 |
|
| 69 |
<group> |
| 70 |
<layout>table</layout> |
| 71 |
<halign>center</halign> |
| 72 |
|
| 73 |
<text> |
| 74 |
<row>0</row> |
| 75 |
<col>0</col> |
| 76 |
<pref-width>50</pref-width> |
| 77 |
<label> </label> |
| 78 |
</text> |
| 79 |
|
| 80 |
<text> |
| 81 |
<row>0</row> |
| 82 |
<col>1</col> |
| 83 |
<pref-width>50</pref-width> |
| 84 |
<label> 0 </label> |
| 85 |
</text> |
| 86 |
|
| 87 |
<text> |
| 88 |
<row>0</row> |
| 89 |
<col>2</col> |
| 90 |
<halign>center</halign> |
| 91 |
<pref-width>50</pref-width> |
| 92 |
<label>FL50</label> |
| 93 |
</text> |
| 94 |
|
| 95 |
<text> |
| 96 |
<row>0</row> |
| 97 |
<col>3</col> |
| 98 |
<pref-width>50</pref-width> |
| 99 |
<label>FL100</label> |
| 100 |
</text> |
| 101 |
|
| 102 |
<text> |
| 103 |
<row>0</row> |
| 104 |
<col>4</col> |
| 105 |
<pref-width>50</pref-width> |
| 106 |
<label>FL180</label> |
| 107 |
</text> |
| 108 |
|
| 109 |
<text> |
| 110 |
<row>0</row> |
| 111 |
<col>5</col> |
| 112 |
<pref-width>50</pref-width> |
| 113 |
<label>FL240</label> |
| 114 |
</text> |
| 115 |
|
| 116 |
<text> |
| 117 |
<row>0</row> |
| 118 |
<col>6</col> |
| 119 |
<pref-width>50</pref-width> |
| 120 |
<label>FL300</label> |
| 121 |
</text> |
| 122 |
|
| 123 |
<text> |
| 124 |
<row>0</row> |
| 125 |
<col>7</col> |
| 126 |
<pref-width>50</pref-width> |
| 127 |
<label>FL340</label> |
| 128 |
</text> |
| 129 |
|
| 130 |
<text> |
| 131 |
<row>0</row> |
| 132 |
<col>8</col> |
| 133 |
<pref-width>50</pref-width> |
| 134 |
<label>FL390</label> |
| 135 |
</text> |
| 136 |
|
| 137 |
<text> |
| 138 |
<row>0</row> |
| 139 |
<col>9</col> |
| 140 |
<pref-width>50</pref-width> |
| 141 |
<label>FL450</label> |
| 142 |
</text> |
| 143 |
|
| 144 |
<text> |
| 145 |
<row>1</row> |
| 146 |
<col>0</col> |
| 147 |
<label>Direction</label> |
| 148 |
</text> |
| 149 |
|
| 150 |
<input> |
| 151 |
<row>1</row> |
| 152 |
<col>1</col> |
| 153 |
<pref-width>50</pref-width> |
| 154 |
<property>/local-weather/tmp/FL0-wind-from-heading-deg</property> |
| 155 |
</input> |
| 156 |
|
| 157 |
<input> |
| 158 |
<row>1</row> |
| 159 |
<col>2</col> |
| 160 |
<pref-width>50</pref-width> |
| 161 |
<property>/local-weather/tmp/FL50-wind-from-heading-deg</property> |
| 162 |
</input> |
| 163 |
|
| 164 |
<input> |
| 165 |
<row>1</row> |
| 166 |
<col>3</col> |
| 167 |
<pref-width>50</pref-width> |
| 168 |
<property>/local-weather/tmp/FL100-wind-from-heading-deg</property> |
| 169 |
</input> |
| 170 |
|
| 171 |
<input> |
| 172 |
<row>1</row> |
| 173 |
<col>4</col> |
| 174 |
<pref-width>50</pref-width> |
| 175 |
<property>/local-weather/tmp/FL180-wind-from-heading-deg</property> |
| 176 |
</input> |
| 177 |
|
| 178 |
<input> |
| 179 |
<row>1</row> |
| 180 |
<col>5</col> |
| 181 |
<pref-width>50</pref-width> |
| 182 |
<property>/local-weather/tmp/FL240-wind-from-heading-deg</property> |
| 183 |
</input> |
| 184 |
|
| 185 |
<input> |
| 186 |
<row>1</row> |
| 187 |
<col>6</col> |
| 188 |
<pref-width>50</pref-width> |
| 189 |
<property>/local-weather/tmp/FL300-wind-from-heading-deg</property> |
| 190 |
</input> |
| 191 |
|
| 192 |
<input> |
| 193 |
<row>1</row> |
| 194 |
<col>7</col> |
| 195 |
<pref-width>50</pref-width> |
| 196 |
<property>/local-weather/tmp/FL340-wind-from-heading-deg</property> |
| 197 |
</input> |
| 198 |
|
| 199 |
<input> |
| 200 |
<row>1</row> |
| 201 |
<col>8</col> |
| 202 |
<pref-width>50</pref-width> |
| 203 |
<property>/local-weather/tmp/FL390-wind-from-heading-deg</property> |
| 204 |
</input> |
| 205 |
|
| 206 |
<input> |
| 207 |
<row>1</row> |
| 208 |
<col>9</col> |
| 209 |
<pref-width>50</pref-width> |
| 210 |
<property>/local-weather/tmp/FL450-wind-from-heading-deg</property> |
| 211 |
</input> |
| 212 |
|
| 213 |
<text> |
| 214 |
<row>2</row> |
| 215 |
<col>0</col> |
| 216 |
<label>Speed (kt)</label> |
| 217 |
</text> |
| 218 |
|
| 219 |
<input> |
| 220 |
<row>2</row> |
| 221 |
<col>1</col> |
| 222 |
<pref-width>50</pref-width> |
| 223 |
<property>/local-weather/tmp/FL0-windspeed-kt</property> |
| 224 |
</input> |
| 225 |
|
| 226 |
<input> |
| 227 |
<row>2</row> |
| 228 |
<col>2</col> |
| 229 |
<pref-width>50</pref-width> |
| 230 |
<property>/local-weather/tmp/FL50-windspeed-kt</property> |
| 231 |
</input> |
| 232 |
|
| 233 |
<input> |
| 234 |
<row>2</row> |
| 235 |
<col>3</col> |
| 236 |
<pref-width>50</pref-width> |
| 237 |
<property>/local-weather/tmp/FL100-windspeed-kt</property> |
| 238 |
</input> |
| 239 |
|
| 240 |
<input> |
| 241 |
<row>2</row> |
| 242 |
<col>4</col> |
| 243 |
<pref-width>50</pref-width> |
| 244 |
<property>/local-weather/tmp/FL180-windspeed-kt</property> |
| 245 |
</input> |
| 246 |
|
| 247 |
<input> |
| 248 |
<row>2</row> |
| 249 |
<col>5</col> |
| 250 |
<pref-width>50</pref-width> |
| 251 |
<property>/local-weather/tmp/FL240-windspeed-kt</property> |
| 252 |
</input> |
| 253 |
|
| 254 |
<input> |
| 255 |
<row>2</row> |
| 256 |
<col>6</col> |
| 257 |
<pref-width>50</pref-width> |
| 258 |
<property>/local-weather/tmp/FL300-windspeed-kt</property> |
| 259 |
</input> |
| 260 |
|
| 261 |
<input> |
| 262 |
<row>2</row> |
| 263 |
<col>7</col> |
| 264 |
<pref-width>50</pref-width> |
| 265 |
<property>/local-weather/tmp/FL340-windspeed-kt</property> |
| 266 |
</input> |
| 267 |
|
| 268 |
<input> |
| 269 |
<row>2</row> |
| 270 |
<col>8</col> |
| 271 |
<pref-width>50</pref-width> |
| 272 |
<property>/local-weather/tmp/FL390-windspeed-kt</property> |
| 273 |
</input> |
| 274 |
|
| 275 |
<input> |
| 276 |
<row>2</row> |
| 277 |
<col>9</col> |
| 278 |
<pref-width>50</pref-width> |
| 279 |
<property>/local-weather/tmp/FL450-windspeed-kt</property> |
| 280 |
</input> |
| 281 |
|
| 282 |
</group> |
| 283 |
|
| 284 |
<hrule/> |
| 285 |
|
| 286 |
<group> |
| 287 |
<layout>hbox</layout> |
| 288 |
<halign>left</halign> |
| 289 |
|
| 290 |
<empty> |
| 291 |
<stretch>true</stretch> |
| 292 |
</empty> |
| 293 |
|
| 294 |
<button> |
| 295 |
<legend> OK </legend> |
| 296 |
|
| 297 |
<equal>true</equal> |
| 298 |
<binding> |
| 299 |
<command>dialog-apply</command> |
| 300 |
</binding> |
| 301 |
<binding> |
| 302 |
<command>dialog-close</command> |
| 303 |
</binding> |
| 304 |
</button> |
| 305 |
|
| 306 |
<button> |
| 307 |
<legend>Set Waypoint</legend> |
| 308 |
<binding> |
| 309 |
<command>dialog-apply</command> |
| 310 |
</binding> |
| 311 |
<binding> |
| 312 |
<command>nasal</command> |
| 313 |
<script> |
| 314 |
if (local_weather.wind_model_flag == 5) |
| 315 |
{local_weather.set_aloft_wrapper();} |
| 316 |
</script> |
| 317 |
</binding> |
| 318 |
</button> |
| 319 |
|
| 320 |
<button> |
| 321 |
<legend>Clear Waypoints</legend> |
| 322 |
<binding> |
| 323 |
<command>nasal</command> |
| 324 |
<script> |
| 325 |
props.globals.getNode("local-weather/interpolation", 1).removeChildren("wind"); |
| 326 |
setprop("/local-weather/interpolation/ipoint-number",0); |
| 327 |
</script> |
| 328 |
</binding> |
| 329 |
</button> |
| 330 |
|
| 331 |
<button> |
| 332 |
<legend>Cancel</legend> |
| 333 |
<default>true</default> |
| 334 |
<equal>true</equal> |
| 335 |
<key>Esc</key> |
| 336 |
<binding> |
| 337 |
<command>dialog-close</command> |
| 338 |
</binding> |
| 339 |
</button> |
| 340 |
|
| 341 |
<text> |
| 342 |
<label> Waypoints:</label> |
| 343 |
</text> |
| 344 |
|
| 345 |
<text> |
| 346 |
<label>MMMM</label> |
| 347 |
<live>true</live> |
| 348 |
<property>/local-weather/interpolation/ipoint-number</property> |
| 349 |
</text> |
| 350 |
|
| 351 |
</group> |
| 352 |
|
| 353 |
</PropertyList> |