GantryServiceBase constructor

GantryServiceBase()

Implementation

GantryServiceBase() {
  $addMethod($grpc.ServiceMethod<$22.GetPositionRequest, $22.GetPositionResponse>(
      'GetPosition',
      getPosition_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $22.GetPositionRequest.fromBuffer(value),
      ($22.GetPositionResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$22.MoveToPositionRequest, $22.MoveToPositionResponse>(
      'MoveToPosition',
      moveToPosition_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $22.MoveToPositionRequest.fromBuffer(value),
      ($22.MoveToPositionResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$22.HomeRequest, $22.HomeResponse>(
      'Home',
      home_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $22.HomeRequest.fromBuffer(value),
      ($22.HomeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$22.GetLengthsRequest, $22.GetLengthsResponse>(
      'GetLengths',
      getLengths_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $22.GetLengthsRequest.fromBuffer(value),
      ($22.GetLengthsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$22.StopRequest, $22.StopResponse>(
      'Stop',
      stop_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $22.StopRequest.fromBuffer(value),
      ($22.StopResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$22.IsMovingRequest, $22.IsMovingResponse>(
      'IsMoving',
      isMoving_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $22.IsMovingRequest.fromBuffer(value),
      ($22.IsMovingResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>(
      'DoCommand',
      doCommand_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value),
      ($15.DoCommandResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>(
      'GetGeometries',
      getGeometries_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value),
      ($15.GetGeometriesResponse value) => value.writeToBuffer()));
}