* <b>Description : This class allows to load and save data on a XML file. The castor API is used for the data binding.
* The default name for the file is the name of the class with ".xml" for the extension</b>
* <br>
* need a specific library : org.exolab.castor.xml
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
* <b>JOSAST</b> project is managed by AVMDTI (<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> This software is an open source software. Please read the <b><i>JOSAST licence</b></i><BR>(<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <p>for more information contact <a href="mailto:josast@avmdti.org">josast@avmdti.org</a></p>
* <b>Description : This class allows to load and sav data on a XML file. The
* castor API is used for the data binding. The default name for the file is the
* name of the class with ".xml" for the extension</b> <br>
* need a specific library : org.exolab.castor.xml <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox <br>
* The aim of the project is to create a set of tools for amateur satellite
* purpose. All this tools could be used together to create specific software.
* <b>Description : used for demonstration to the config package.
* see main to understand how to used the AbstactDataBinding. </b>
* <br>
*
*
* <p>Projet : JOSAST <BR>
*
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
...
...
@@ -28,9 +25,7 @@ import java.util.Vector;
/**
*
* <b>Description : </b>
*
*
* <p>Projet : JOSAST <BR>
* <p>Projet : JOSAST <br>
*
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
...
...
@@ -56,10 +51,7 @@ public class ConfigurationdataBindingDemo extends AbstractDataBinding {
privateVector<String>V=newVector<String>();
privateStringdirectory=newString("C:\\temp");
privateConfigurationdataBindingDemo()
{
privateConfigurationdataBindingDemo(){
}
/**
...
...
@@ -68,21 +60,18 @@ public class ConfigurationdataBindingDemo extends AbstractDataBinding {
* <b>Description : This class allows to save data in a configuration file.</b>
* <br>
* for the JOSAST project the org.josast.config.databinding is prefered to this package for storing data.
* for the JOSAST project the org.josast.config.databinding is prefered to this
* package for storing data.
*
*
* <p>Projet : JOSAST <BR>
* <p>
* Projet : JOSAST <BR>
*
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
* <b>JOSAST</b> project is managed by AVMDTI (<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> This software is an open source software. Please read the <b><i>JOSAST licence</b></i><BR>(<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <p>for more information contact <a href="mailto:josast@avmdti.org">josast@avmdti.org</a></p>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox <br>
* The aim of the project is to create a set of tools for amateur satellite
* purpose. All this tools could be used together to create specific software.
privateStringsource="";// Callsign or user name of the receiver
privateStringtimestamp;// UTC timestamp (see ISO 8601) 2018-01-24T23:42:46Z
privateStringframe;// The received data, in hexadecimal string (AX.25 packet with or without KISS 'C0 00 .. C0'. Whitespaces optional. C0 00 A9 05 DE ...
finalprivateStringlocator="longLat";//Type of the given receiver's location. Currently, only 'longLat' is supported. longLat
privateStringtimestamp;// UTC timestamp (see ISO 8601)
// 2018-01-24T23:42:46Z
privateStringlongitude=null;// Longitude of the receiver (WGS84) 8.95564E
privateStringframe;// The received data, in hexadecimal string (AX.25
// packet with or without KISS 'C0 00 .. C0'.
// Whitespaces optional. C0 00 A9 05 DE ...
privateStringlatitude=null;//Latitude of the receiver (WGS84) 49.73145N
privatefinalStringlocator="longLat";// Type of the given receiver's
// location. Currently, only
// 'longLat' is supported. longLat
privateinttncPort=0;// Optional as per SiDS standard specification, but not used in PicSat SiDS system 0
privateStringlongitude=null;// Longitude of the receiver (WGS84)
// 8.95564E
privatedoubleazimuth=0.0;// azimuth degree of directionnal antenna (if avaiblable) 10.5
privateStringlatitude=null;// Latitude of the receiver (WGS84)
// 49.73145N
privatedoubleelevation=0.0;// elevation degree of directionnal antenna (if avaiblable) 85.0
privateinttncPort=0;// Optional as per SiDS standard specification, but
// not used in PicSat SiDS system 0
privatelongfDown=0;// Frequency of the receiver's downlink channel during reception (with Doppler), in Hz 435525000
privatedoubleazimuth=0.0;// azimuth degree of directionnal antenna (if
// avaiblable) 10.5
finalprivateStringversion="2.0.1";
privatedoubleelevation=0.0;// elevation degree of directionnal antenna
// (if avaiblable) 85.0
privatelongfDown=0;// Frequency of the receiver's downlink channel
// during reception (with Doppler), in Hz 435525000
privatefinalStringversion="2.0.1";
publicSIDSData()
{
publicSIDSData(){
}
/**
* addTelemetryData is used for adding telemetry data with associated TimeStamp.
* The timestamp is formated in correct date format.
* addTelemetryData is used for adding telemetry data with associated
* TimeStamp. The timestamp is formated in correct date format.