|
Last change
on this file since fb602c6 was d83a844, checked in by Joachim Langenbach <joachim.langenbach@…>, 11 years ago |
- Added type and typeUrl to the stations data, to allow the user to get an idea of the used weather station
- Started to implement c++ client, which runs on the weather station
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| Rev | Line | |
|---|
| [d83a844] | 1 | /*
|
|---|
| 2 | Copyright (C) 2015 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
|
|---|
| 3 |
|
|---|
| 4 | This library is free software; you can redistribute it and/or
|
|---|
| 5 | modify it under the terms of the GNU Lesser General Public
|
|---|
| 6 | License as published by the Free Software Foundation; either
|
|---|
| 7 | version 2.1 of the License, or (at your option) any later version.
|
|---|
| 8 |
|
|---|
| 9 | This library is distributed in the hope that it will be useful,
|
|---|
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|---|
| 12 | Lesser General Public License for more details.
|
|---|
| 13 |
|
|---|
| 14 | You should have received a copy of the GNU Lesser General Public
|
|---|
| 15 | License along with this library; if not, write to the Free Software
|
|---|
| 16 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|---|
| 17 | MA 02110-1301 USA.
|
|---|
| 18 | */
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | #include "silibrary.h"
|
|---|
| 22 |
|
|---|
| 23 | #include "silibconfig.h"
|
|---|
| 24 |
|
|---|
| 25 | using namespace SiWeather::Library;
|
|---|
| 26 |
|
|---|
| 27 | QString Library::version()
|
|---|
| 28 | {
|
|---|
| 29 | return QString( VERSION );
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | QString Library::geoCoordinateToString(double coordinate){
|
|---|
| 33 | return QString::number(coordinate, 'f', 6);
|
|---|
| 34 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.