Index: trunk/BNC/src/upload/bncephuploadcaster.cpp
===================================================================
--- trunk/BNC/src/upload/bncephuploadcaster.cpp	(revision 10548)
+++ trunk/BNC/src/upload/bncephuploadcaster.cpp	(revision 10587)
@@ -91,10 +91,10 @@
         int size = 0;
 
-        if      (ephGPS && ephGPS->type() == t_eph::GPS  &&  (system == "ALL" || system.contains('G'))) {
+        if      (ephGPS && ephGPS->system() == t_eph::GPS  &&  (system == "ALL" || system.contains('G'))) {
           if (dt < 14400.0 || dt > -7200.0) {
             size = t_ephEncoder::RTCM3(*ephGPS, Array);
           }
         }
-        else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system.contains('J'))) {
+        else if (ephGPS && ephGPS->system() == t_eph::QZSS && (system == "ALL" || system.contains('J'))) {
           if (dt <  7200.0 || dt > -3600.0) {
             size = t_ephEncoder::RTCM3(*ephGPS, Array);
@@ -121,5 +121,5 @@
           }
         }
-        else if (ephGPS && ephGPS->type() == t_eph::IRNSS && (system == "ALL" || system.contains('I'))) {
+        else if (ephGPS && ephGPS->system() == t_eph::IRNSS && (system == "ALL" || system.contains('I'))) {
           if (fabs(dt < 86400.0)) {
             size = t_ephEncoder::RTCM3(*ephGPS, Array);
