public virtual void Put(int fieldPos, object fieldValue) { switch (fieldPos) { case 0: this.responseHeader = (org.robokind.avrogen.motion.RobotResponseHeaderRecord)fieldValue; break; case 1: this.positionResponse = (org.robokind.avrogen.motion.RobotPositionMapRecord)fieldValue; break; default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()"); }; }
public virtual void Put(int fieldPos, object fieldValue) { switch (fieldPos) { case 0: this.responseHeader = (org.robokind.avrogen.motion.RobotResponseHeaderRecord)fieldValue; break; case 1: this.positionResponse = (org.robokind.avrogen.motion.RobotPositionMapRecord)fieldValue; break; default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()"); } ; }
public virtual void Put(int fieldPos, object fieldValue) { switch (fieldPos) { case 0: this.timestampMillisecUTC = (System.Int64)fieldValue; break; case 1: this.moveDurationMillisec = (System.Int64)fieldValue; break; case 2: this.goalPositions = (org.robokind.avrogen.motion.RobotPositionMapRecord)fieldValue; break; case 3: this.startPositions = (org.robokind.avrogen.motion.RobotPositionMapRecord)fieldValue; break; default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()"); } ; }
public virtual void Put(int fieldPos, object fieldValue) { switch (fieldPos) { case 0: this.timestampMillisecUTC = (System.Int64)fieldValue; break; case 1: this.moveDurationMillisec = (System.Int64)fieldValue; break; case 2: this.goalPositions = (org.robokind.avrogen.motion.RobotPositionMapRecord)fieldValue; break; case 3: this.startPositions = (org.robokind.avrogen.motion.RobotPositionMapRecord)fieldValue; break; default: throw new AvroRuntimeException("Bad index " + fieldPos + " in Put()"); }; }