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