Esempio n. 1
0
 public OcrInfo(OcrInfo rhs) : base(rhs)
 {
     this.busIdValue            = rhs.busIdValue;
     this.eventIdValue          = rhs.eventIdValue;
     this.messagesLanguageValue = rhs.messagesLanguageValue;
     this.recognizeFileValue    = rhs.recognizeFileValue;
     this.queryLanguagesValue   = rhs.queryLanguagesValue;
 }
Esempio n. 2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            OcrInfo    obj  = (OcrInfo)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.busId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.eventId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.messagesLanguage);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.queryLanguages, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.recognizeFile, false, null);
        }
Esempio n. 3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            OcrInfo   obj = (OcrInfo)(obj1 != null ? obj1 : bin.onObjectCreated(new OcrInfo()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.busId = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.eventId = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.messagesLanguage = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.queryLanguages = (EloixClient.IndexServer.OcrInfoQueryLanguages)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.recognizeFile = (EloixClient.IndexServer.OcrInfoRecognizeFile)bin.readObj(false, null);

            return(obj);
        }