Changeset 4071 in ntrip


Ignore:
Timestamp:
Apr 28, 2012, 1:21:11 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncsettings.cpp

    r4070 r4071  
    4242    // ------------
    4343    else if (!noInit) {
    44 
     44      setValue("startTab",            "0");
     45      setValue("statusTab",           "0");
     46      setValue("casterUrlList", (QStringList()
     47                                 << "http://user:pass@www.euref-ip.net:2101"
     48                                 << "http://user:pass@www.igs-ip.net:2101"
     49                                 << "http://user:pass@products.igs-ip.net:2101"
     50                                 << "http://user:pass@mgex.igs-ip.net:2101"));
     51      setValue("mountPoints",         "");
     52      setValue("ntripVersion",        "1");
     53      // Network
     54      setValue("proxyHost",           "");
     55      setValue("proxyPort",           "");
     56      setValue("sslCaCertPath",       "");
     57      setValue("ignoreSslErrors",     "0");
     58      // General
     59      setValue("logFile",             "");
     60      setValue("rnxAppend",           "0");
     61      setValue("onTheFlyInterval",    "1 day");
     62      setValue("autoStart",           "0");
     63      setValue("rawOutFile",          "");
     64      // RINEX Observations
     65      setValue("rnxPath",             "");
     66      setValue("rnxIntr",             "1 day");
     67      setValue("rnxSampl",            "0");
     68      setValue("rnxSkel",             "SKL");
     69      setValue("rnxScript",           "");
     70      setValue("rnxV3",               "0");
     71      // RINEX Ephemeris
     72      setValue("ephPath",             "");
     73      setValue("ephIntr",             "1 day");
     74      setValue("outEphPort",          "");
     75      setValue("ephV3",               "0");
     76      // Braodcast Corrections
     77      setValue("corrPath",            "");
     78      setValue("corrIntr",            "1 day");
     79      setValue("corrPort",            "");
     80      setValue("corrTime",            "5");
     81      // Feed Engine
     82      setValue("outPort",             "");
     83      setValue("waitTime",            "5");
     84      setValue("binSampl",            "0");
     85      setValue("outFile",             "");
     86      setValue("outUPort",            "");
     87      // Serial Output
     88      setValue("serialMountPoint",    "");
     89      setValue("serialPortName",      "");
     90      setValue("serialBaudRate",      "9600");
     91      setValue("serialFlowControl",   "OFF");
     92      setValue("serialDataBits",      "8");
     93      setValue("serialParity",        "NONE");
     94      setValue("serialStopBits",      "1");
     95      setValue("serialAutoNMEA",      "Auto");
     96      setValue("serialFileNMEA",      "");
     97      setValue("serialHeightNMEA",    "");
     98      // Outages
     99      setValue("obsRate",             "");
     100      setValue("adviseFail",          "15");
     101      setValue("adviseReco",          "5");
     102      setValue("adviseScript",        "");
     103      // Miscellaneous
     104      setValue("miscMount",           ""); 
     105      setValue("perfIntr",            "");
     106      setValue("scanRTCM",            "0");
     107      // PPP
     108      setValue("pppSPP",              "");
     109      setValue("pppMount",            "");
     110      setValue("pppCorrMount",        "");
     111      setValue("pppRefCrdX",          "");
     112      setValue("pppRefCrdY",          "");
     113      setValue("pppRefCrdZ",          "");
     114      setValue("pppRefdN",            "");
     115      setValue("pppRefdE",            "");
     116      setValue("pppRefdU",            "");
     117      setValue("nmeaFile",            "");
     118      setValue("nmeaPort",            "");
     119      setValue("pppPlotCoordinates",  "");
     120      setValue("postObsFile",         "");
     121      setValue("postNavFile",         "");
     122      setValue("postCorrFile",        "");
     123      setValue("postOutFile",         "");
     124      setValue("pppAntenna",          "");
     125      setValue("pppAntex",            "");
     126      setValue("pppApplySatAnt",      "0");
     127      setValue("pppUsePhase",         "");
     128      setValue("pppEstTropo",         "");
     129      setValue("pppGLONASS",          "");
     130      setValue("pppGalileo",          "");
     131      setValue("pppSync",             "");
     132      setValue("pppAverage",          "");
     133      setValue("pppQuickStart",       "");
     134      setValue("pppMaxSolGap",        "");
     135      setValue("pppSigmaCode",        "10.0");
     136      setValue("pppSigmaPhase",       "0.02");
     137      setValue("pppSigCrd0",          "100.0");
     138      setValue("pppSigCrdP",          "100.0");
     139      setValue("pppSigTrp0",          "0.1");
     140      setValue("pppSigTrpP",          "3e-6");
     141      // Reqc
     142      setValue("reqcAction",          "");
     143      setValue("reqcObsFile",         "");
     144      setValue("reqcNavFile",         "");
     145      setValue("reqcOutObsFile",      "");
     146      setValue("reqcOutNavFile",      "");
     147      setValue("reqcOutLogFile",      "");
     148      setValue("reqcRnxVersion",      "");
     149      setValue("reqcSampling",        "");
     150      setValue("reqcStartDateTime",   "");
     151      setValue("reqcEndDateTime",     "");
     152      setValue("reqcOldMarkerName",   "");
     153      setValue("reqcNewMarkerName",   "");
     154      setValue("reqcOldAntennaName",  "");
     155      setValue("reqcNewAntennaName",  "");
     156      setValue("reqcOldReceiverName", "");
     157      setValue("reqcNewReceiverName", "");
     158      // Combination
     159      setValue("combineStreams",      "");
     160      setValue("cmbMethod",           "");
     161      setValue("cmbMaxres",           "");
     162      // Upload (clk)
     163      setValue("uploadMountpointsOut","");
     164      setValue("uploadIntr",          "1 day");
     165      setValue("uploadSampl",         "5");
     166      setValue("uploadSamplOrb",      "0");
     167      setValue("trafo_dx",            "");
     168      setValue("trafo_dy",            "");
     169      setValue("trafo_dz",            "");
     170      setValue("trafo_dxr",           "");
     171      setValue("trafo_dyr",           "");
     172      setValue("trafo_dzr",           "");
     173      setValue("trafo_ox",            "");
     174      setValue("trafo_oy",            "");
     175      setValue("trafo_oz",            "");
     176      setValue("trafo_oxr",           "");
     177      setValue("trafo_oyr",           "");
     178      setValue("trafo_ozr",           "");
     179      setValue("trafo_sc",            "");
     180      setValue("trafo_scr",           "");
     181      setValue("trafo_t0",            "");
     182      // Upload (eph)
     183      setValue("uploadEphHost",       "");
     184      setValue("uploadEphPort",       "");
     185      setValue("uploadEphMountpoint", "");
     186      setValue("uploadEphPassword",   "");
     187      setValue("uploadEphSample",     "5");
    45188    }
    46189  }
     
    83226
    84227}
    85 
    86 //   QSettings(((bncApp*) qApp)->confFileName(), QSettings::IniFormat) {
    87 //
    88 //   if (! noInit && allKeys().size() == 0) {
    89 // //
    90 //     setValue("startTab",            "0");
    91 //     setValue("statusTab",           "0");
    92 //     setValue("casterUrlList", (QStringList()
    93 //                                << "http://user:pass@www.euref-ip.net:2101"
    94 //                                << "http://user:pass@www.igs-ip.net:2101"
    95 //                                << "http://user:pass@products.igs-ip.net:2101"
    96 //                                << "http://user:pass@mgex.igs-ip.net:2101"));
    97 //     setValue("mountPoints",         "");
    98 //     setValue("ntripVersion",        "1");
    99 // // Network
    100 //     setValue("proxyHost",           "");
    101 //     setValue("proxyPort",           "");
    102 //     setValue("sslCaCertPath",       "");
    103 //     setValue("ignoreSslErrors",     "0");
    104 // // General
    105 //     setValue("logFile",             "");
    106 //     setValue("rnxAppend",           "0");
    107 //     setValue("onTheFlyInterval",    "1 day");
    108 //     setValue("autoStart",           "0");
    109 //     setValue("rawOutFile",          "");
    110 // // RINEX Observations
    111 //     setValue("rnxPath",             "");
    112 //     setValue("rnxIntr",             "1 day");
    113 //     setValue("rnxSampl",            "0");
    114 //     setValue("rnxSkel",             "SKL");
    115 //     setValue("rnxScript",           "");
    116 //     setValue("rnxV3",               "0");
    117 // // RINEX Ephemeris
    118 //     setValue("ephPath",             "");
    119 //     setValue("ephIntr",             "1 day");
    120 //     setValue("outEphPort",          "");
    121 //     setValue("ephV3",               "0");
    122 // // Braodcast Corrections
    123 //     setValue("corrPath",            "");
    124 //     setValue("corrIntr",            "1 day");
    125 //     setValue("corrPort",            "");
    126 //     setValue("corrTime",            "5");
    127 // // Feed Engine
    128 //     setValue("outPort",             "");
    129 //     setValue("waitTime",            "5");
    130 //     setValue("binSampl",            "0");
    131 //     setValue("outFile",             "");
    132 //     setValue("outUPort",            "");
    133 // // Serial Output
    134 //     setValue("serialMountPoint",    "");
    135 //     setValue("serialPortName",      "");
    136 //     setValue("serialBaudRate",      "9600");
    137 //     setValue("serialFlowControl",   "OFF");
    138 //     setValue("serialDataBits",      "8");
    139 //     setValue("serialParity",        "NONE");
    140 //     setValue("serialStopBits",      "1");
    141 //     setValue("serialAutoNMEA",      "Auto");
    142 //     setValue("serialFileNMEA",      "");
    143 //     setValue("serialHeightNMEA",    "");
    144 // // Outages
    145 //     setValue("obsRate",             "");
    146 //     setValue("adviseFail",          "15");
    147 //     setValue("adviseReco",          "5");
    148 //     setValue("adviseScript",        "");
    149 // // Miscellaneous
    150 //     setValue("miscMount",           ""); 
    151 //     setValue("perfIntr",            "");
    152 //     setValue("scanRTCM",            "0");
    153 // // PPP
    154 //     setValue("pppSPP",              "");
    155 //     setValue("pppMount",            "");
    156 //     setValue("pppCorrMount",        "");
    157 //     setValue("pppRefCrdX",          "");
    158 //     setValue("pppRefCrdY",          "");
    159 //     setValue("pppRefCrdZ",          "");
    160 //     setValue("pppRefdN",            "");
    161 //     setValue("pppRefdE",            "");
    162 //     setValue("pppRefdU",            "");
    163 //     setValue("nmeaFile",            "");
    164 //     setValue("nmeaPort",            "");
    165 //     setValue("pppPlotCoordinates",  "");
    166 //     setValue("postObsFile",         "");
    167 //     setValue("postNavFile",         "");
    168 //     setValue("postCorrFile",        "");
    169 //     setValue("postOutFile",         "");
    170 //     setValue("pppAntenna",          "");
    171 //     setValue("pppAntex",            "");
    172 //     setValue("pppApplySatAnt",      "0");
    173 //     setValue("pppUsePhase",         "");
    174 //     setValue("pppEstTropo",         "");
    175 //     setValue("pppGLONASS",          "");
    176 //     setValue("pppGalileo",          "");
    177 //     setValue("pppSync",             "");
    178 //     setValue("pppAverage",          "");
    179 //     setValue("pppQuickStart",       "");
    180 //     setValue("pppMaxSolGap",        "");
    181 //     setValue("pppSigmaCode",        "10.0");
    182 //     setValue("pppSigmaPhase",       "0.02");
    183 //     setValue("pppSigCrd0",          "100.0");
    184 //     setValue("pppSigCrdP",          "100.0");
    185 //     setValue("pppSigTrp0",          "0.1");
    186 //     setValue("pppSigTrpP",          "3e-6");
    187 // // Reqc
    188 //     setValue("reqcAction",          "");
    189 //     setValue("reqcObsFile",         "");
    190 //     setValue("reqcNavFile",         "");
    191 //     setValue("reqcOutObsFile",      "");
    192 //     setValue("reqcOutNavFile",      "");
    193 //     setValue("reqcOutLogFile",      "");
    194 //     setValue("reqcRnxVersion",      "");
    195 //     setValue("reqcSampling",        "");
    196 //     setValue("reqcStartDateTime",   "");
    197 //     setValue("reqcEndDateTime",     "");
    198 //     setValue("reqcOldMarkerName",   "");
    199 //     setValue("reqcNewMarkerName",   "");
    200 //     setValue("reqcOldAntennaName",  "");
    201 //     setValue("reqcNewAntennaName",  "");
    202 //     setValue("reqcOldReceiverName", "");
    203 //     setValue("reqcNewReceiverName", "");
    204 // // Combination
    205 //     setValue("combineStreams",      "");
    206 //     setValue("cmbMethod",           "");
    207 //     setValue("cmbMaxres",           "");
    208 // // Upload (clk)
    209 //     setValue("uploadMountpointsOut","");
    210 //     setValue("uploadIntr",          "1 day");
    211 //     setValue("uploadSampl",         "5");
    212 //     setValue("uploadSamplOrb",      "0");
    213 //     setValue("trafo_dx",            "");
    214 //     setValue("trafo_dy",            "");
    215 //     setValue("trafo_dz",            "");
    216 //     setValue("trafo_dxr",           "");
    217 //     setValue("trafo_dyr",           "");
    218 //     setValue("trafo_dzr",           "");
    219 //     setValue("trafo_ox",            "");
    220 //     setValue("trafo_oy",            "");
    221 //     setValue("trafo_oz",            "");
    222 //     setValue("trafo_oxr",           "");
    223 //     setValue("trafo_oyr",           "");
    224 //     setValue("trafo_ozr",           "");
    225 //     setValue("trafo_sc",            "");
    226 //     setValue("trafo_scr",           "");
    227 //     setValue("trafo_t0",            "");
    228 // // Upload (eph)
    229 //     setValue("uploadEphHost",       "");
    230 //     setValue("uploadEphPort",       "");
    231 //     setValue("uploadEphMountpoint", "");
    232 //     setValue("uploadEphPassword",   "");
    233 //     setValue("uploadEphSample",     "5");
    234 //     sync();
    235 //   }
    236 
    237 
Note: See TracChangeset for help on using the changeset viewer.