Esempio n. 1
0
 public void log(tmessage message)
 {
     fe.log(message);
 }
Esempio n. 2
0
 public bool ParseFile(string path, tmessage message)
 {
     bool rc = false;
     using (StreamReader stream = new StreamReader(path)) {
         rc = ParseStream(stream, message);
     }
     return rc;
 }
Esempio n. 3
0
File: tsdb.cs Progetto: emm274/fcObj
 public Progress(tmessage AProgress)
 {
     fProgress = AProgress;
 }
Esempio n. 4
-1
 public void log(tmessage message)
 {
     if (fcount > 0) message(null, Capt + "s: " + fcount.ToString() + ".");
 }
Esempio n. 5
-1
        public bool ParseStream(StreamReader stream, tmessage message)
        {
            fjson = new XJson();
            fjson.message = message;
            fjson.setListener(this);

            bool rc = true;
            if (fdoc != null) {
                tsContentBound bound = new tsContentBound();

                jsonData temp = fData;
                fData = new jsonData(this, bound);

                fjson.setListener(this);
                fjson.Parse(stream);

                fData = temp;

                if (bound.count > 0)
                rc = fdoc.Bound(bound.minLat, bound.minLon, bound.maxLat, bound.maxLon);
            }

            if (rc) 
            if (fdoc == null)
                rc=ParseStage(stream,0);
            else
                for(int i=0; i < fdoc.GetStageCount(); i++ )
                rc=ParseStage(stream,i);

            if (rc) fData.log(message);

            fjson.Close();

            return rc; 
        }
Esempio n. 6
-1
 public void log(tmessage message)
 {
     fPoint.log(message);
     fPolyline.log(message);
     fPolygon.log(message);
     fFeature.log(message);
 }