BoardServiceBase constructor
Implementation
BoardServiceBase() {
$addMethod($grpc.ServiceMethod<$19.SetGPIORequest, $19.SetGPIOResponse>(
'SetGPIO',
setGPIO_Pre,
false,
false,
($core.List<$core.int> value) => $19.SetGPIORequest.fromBuffer(value),
($19.SetGPIOResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.GetGPIORequest, $19.GetGPIOResponse>(
'GetGPIO',
getGPIO_Pre,
false,
false,
($core.List<$core.int> value) => $19.GetGPIORequest.fromBuffer(value),
($19.GetGPIOResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.PWMRequest, $19.PWMResponse>(
'PWM',
pWM_Pre,
false,
false,
($core.List<$core.int> value) => $19.PWMRequest.fromBuffer(value),
($19.PWMResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.SetPWMRequest, $19.SetPWMResponse>(
'SetPWM',
setPWM_Pre,
false,
false,
($core.List<$core.int> value) => $19.SetPWMRequest.fromBuffer(value),
($19.SetPWMResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.PWMFrequencyRequest, $19.PWMFrequencyResponse>(
'PWMFrequency',
pWMFrequency_Pre,
false,
false,
($core.List<$core.int> value) => $19.PWMFrequencyRequest.fromBuffer(value),
($19.PWMFrequencyResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.SetPWMFrequencyRequest, $19.SetPWMFrequencyResponse>(
'SetPWMFrequency',
setPWMFrequency_Pre,
false,
false,
($core.List<$core.int> value) => $19.SetPWMFrequencyRequest.fromBuffer(value),
($19.SetPWMFrequencyResponse 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<$19.ReadAnalogReaderRequest, $19.ReadAnalogReaderResponse>(
'ReadAnalogReader',
readAnalogReader_Pre,
false,
false,
($core.List<$core.int> value) => $19.ReadAnalogReaderRequest.fromBuffer(value),
($19.ReadAnalogReaderResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.WriteAnalogRequest, $19.WriteAnalogResponse>(
'WriteAnalog',
writeAnalog_Pre,
false,
false,
($core.List<$core.int> value) => $19.WriteAnalogRequest.fromBuffer(value),
($19.WriteAnalogResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.GetDigitalInterruptValueRequest, $19.GetDigitalInterruptValueResponse>(
'GetDigitalInterruptValue',
getDigitalInterruptValue_Pre,
false,
false,
($core.List<$core.int> value) => $19.GetDigitalInterruptValueRequest.fromBuffer(value),
($19.GetDigitalInterruptValueResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.StreamTicksRequest, $19.StreamTicksResponse>(
'StreamTicks',
streamTicks_Pre,
false,
true,
($core.List<$core.int> value) => $19.StreamTicksRequest.fromBuffer(value),
($19.StreamTicksResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$19.SetPowerModeRequest, $19.SetPowerModeResponse>(
'SetPowerMode',
setPowerMode_Pre,
false,
false,
($core.List<$core.int> value) => $19.SetPowerModeRequest.fromBuffer(value),
($19.SetPowerModeResponse 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()));
}