close Warning: AdminModule failed with TracError: Unable to instantiate component <class 'trac.ticket.admin.PriorityAdminPanel'> (super(type, obj): obj (type PriorityAdminPanel) is not an instance or subtype of type (Markup).)

source: src/lib/silibrary.cpp@ d83a844

Last change on this file since d83a844 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
Line 
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
25using namespace SiWeather::Library;
26
27QString Library::version()
28{
29 return QString( VERSION );
30}
31
32QString Library::geoCoordinateToString(double coordinate){
33 return QString::number(coordinate, 'f', 6);
34}
Note: See TracBrowser for help on using the repository browser.