Index: trunk/BNC/src/bncmodel.h
===================================================================
--- trunk/BNC/src/bncmodel.h	(revision 5568)
+++ trunk/BNC/src/bncmodel.h	(revision 5569)
@@ -99,7 +99,8 @@
                      SymmetricMatrix& QQ, ColumnVector& dx);
 
+  void reset();
+
  private:
   t_irc cmpBancroft(t_epoData* epoData);
-  void   reset();
   void   cmpEle(t_satData* satData);
   void   addAmb(t_satData* satData);
Index: trunk/BNC/src/bncpppclient.cpp
===================================================================
--- trunk/BNC/src/bncpppclient.cpp	(revision 5568)
+++ trunk/BNC/src/bncpppclient.cpp	(revision 5569)
@@ -70,4 +70,8 @@
   _model = new bncModel(this);
 
+  _streamID[0] = -1;
+  _streamID[1] = -1;
+  _streamID[2] = -1;
+
   if (connectSlots) {
     connect(this, SIGNAL(newMessage(QByteArray,bool)), 
@@ -537,17 +541,17 @@
 
   for (unsigned ii = 0; ii < 3; ii++) {
-    if (_providerID.streamID[ii] != -1) {
+    if (_streamID[ii] != -1) {
       alreadySet = true;
     }
     if (corr->streamID[ii] != -1) {
-      if (_providerID.streamID[ii] != corr->streamID[ii]) {
+      if (_streamID[ii] != corr->streamID[ii]) {
         different = true;
       }
-      _providerID.streamID[ii] = corr->streamID[ii];
+      _streamID[ii] = corr->streamID[ii];
     }
   }
     
   if (alreadySet && different) {
-    _providerID.reset = true;
-  }
-}
+    _model->reset();
+  }
+}
Index: trunk/BNC/src/bncpppclient.h
===================================================================
--- trunk/BNC/src/bncpppclient.h	(revision 5568)
+++ trunk/BNC/src/bncpppclient.h	(revision 5569)
@@ -153,16 +153,4 @@
   };
 
-  class t_providerID {
-   public:
-    t_providerID() {
-      streamID[0] = -1;
-      streamID[1] = -1;
-      streamID[2] = -1;
-      reset       = false;
-    }
-    int  streamID[3];
-    bool reset;
-  };
-
   t_irc getSatPos(const bncTime& tt, const QString& prn, 
                   ColumnVector& xc, ColumnVector& vv);
@@ -181,5 +169,5 @@
   bncModel*               _model;
   QMap<QString, slipInfo> _slips;
-  t_providerID            _providerID;
+  int                     _streamID[3];
 };
 
