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