public virtual void Put(int fieldPos, object fieldValue)
        {
            switch (fieldPos)
            {
            case 0: this._changedInterval = (Energistics.Etp.v12.Datatypes.Object.IndexInterval)fieldValue; break;

            case 1: this._data = (IList <Energistics.Etp.v12.Datatypes.ChannelData.DataItem>)fieldValue; break;

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

            case 1: this._requestedInterval = (Energistics.Etp.v12.Datatypes.Object.IndexInterval)fieldValue; break;

            default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()");
            }
            ;
        }
Exemple #3
0
        public virtual void Put(int fieldPos, object fieldValue)
        {
            switch (fieldPos)
            {
            case 0: this._indexKind = (Energistics.Etp.v12.Datatypes.ChannelData.ChannelIndexKind)fieldValue; break;

            case 1: this._interval = (Energistics.Etp.v12.Datatypes.Object.IndexInterval)fieldValue; break;

            case 2: this._direction = (Energistics.Etp.v12.Datatypes.ChannelData.IndexDirection)fieldValue; break;

            case 3: this._name = (System.String)fieldValue; break;

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

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

            case 2: this._indexInterval = (Energistics.Etp.v12.Datatypes.Object.IndexInterval)fieldValue; break;

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

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

            case 1: this._requestUuid = (Energistics.Etp.v12.Datatypes.Uuid)fieldValue; break;

            case 2: this._changeTime = (System.Int64)fieldValue; break;

            case 3: this._deletedInterval = (Energistics.Etp.v12.Datatypes.Object.IndexInterval)fieldValue; break;

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

            case 5: this._format = (System.String)fieldValue; break;

            case 6: this._parts = (IList <Energistics.Etp.v12.Datatypes.Object.ObjectPart>)fieldValue; break;

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