Exemplo n.º 1
0
        public virtual void Put(int fieldPos, object fieldValue)
        {
            switch (fieldPos)
            {
            case 0: this._channelId = (System.Int64)fieldValue; break;

            case 1: this._newEndIndex = (Energistics.Etp.v12.Datatypes.IndexValue)fieldValue; break;

            default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()");
            }
            ;
        }
Exemplo n.º 2
0
        public virtual void Put(int fieldPos, object fieldValue)
        {
            switch (fieldPos)
            {
            case 0: this._indexValue = (Energistics.Etp.v12.Datatypes.IndexValue)fieldValue; break;

            case 1: this._uom = (System.String)fieldValue; break;

            case 2: this._depthDatum = (System.String)fieldValue; break;

            default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()");
            }
            ;
        }
Exemplo n.º 3
0
        public virtual void Put(int fieldPos, object fieldValue)
        {
            switch (fieldPos)
            {
            case 0: this._channelId = (System.Int64)fieldValue; break;

            case 1: this._startIndex = (Energistics.Etp.v12.Datatypes.IndexValue)fieldValue; break;

            case 2: this._dataChanges = (System.Boolean)fieldValue; break;

            case 3: this._requestLatestIndexCount = (System.Nullable <int>)fieldValue; break;

            default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()");
            }
            ;
        }
Exemplo n.º 4
0
        public virtual void Put(int fieldPos, object fieldValue)
        {
            switch (fieldPos)
            {
            case 0: this._uri = (System.String)fieldValue; break;

            case 1: this._id = (System.Int64)fieldValue; break;

            case 2: this._lastIndex = (Energistics.Etp.v12.Datatypes.IndexValue)fieldValue; break;

            case 3: this._infill = (System.Boolean)fieldValue; break;

            case 4: this._dataChanges = (System.Boolean)fieldValue; break;

            default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()");
            }
            ;
        }