BoardServiceBase constructor

BoardServiceBase()

Implementation

BoardServiceBase() {
  $addMethod($grpc.ServiceMethod<$20.SetGPIORequest, $20.SetGPIOResponse>(
      'SetGPIO',
      setGPIO_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.SetGPIORequest.fromBuffer(value),
      ($20.SetGPIOResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.GetGPIORequest, $20.GetGPIOResponse>(
      'GetGPIO',
      getGPIO_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.GetGPIORequest.fromBuffer(value),
      ($20.GetGPIOResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.PWMRequest, $20.PWMResponse>(
      'PWM',
      pWM_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.PWMRequest.fromBuffer(value),
      ($20.PWMResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.SetPWMRequest, $20.SetPWMResponse>(
      'SetPWM',
      setPWM_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.SetPWMRequest.fromBuffer(value),
      ($20.SetPWMResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.PWMFrequencyRequest, $20.PWMFrequencyResponse>(
      'PWMFrequency',
      pWMFrequency_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.PWMFrequencyRequest.fromBuffer(value),
      ($20.PWMFrequencyResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.SetPWMFrequencyRequest, $20.SetPWMFrequencyResponse>(
      'SetPWMFrequency',
      setPWMFrequency_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.SetPWMFrequencyRequest.fromBuffer(value),
      ($20.SetPWMFrequencyResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$16.DoCommandRequest, $16.DoCommandResponse>(
      'DoCommand',
      doCommand_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $16.DoCommandRequest.fromBuffer(value),
      ($16.DoCommandResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.ReadAnalogReaderRequest, $20.ReadAnalogReaderResponse>(
      'ReadAnalogReader',
      readAnalogReader_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.ReadAnalogReaderRequest.fromBuffer(value),
      ($20.ReadAnalogReaderResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.WriteAnalogRequest, $20.WriteAnalogResponse>(
      'WriteAnalog',
      writeAnalog_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.WriteAnalogRequest.fromBuffer(value),
      ($20.WriteAnalogResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.GetDigitalInterruptValueRequest, $20.GetDigitalInterruptValueResponse>(
      'GetDigitalInterruptValue',
      getDigitalInterruptValue_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.GetDigitalInterruptValueRequest.fromBuffer(value),
      ($20.GetDigitalInterruptValueResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.StreamTicksRequest, $20.StreamTicksResponse>(
      'StreamTicks',
      streamTicks_Pre,
      false,
      true,
      ($core.List<$core.int> value) => $20.StreamTicksRequest.fromBuffer(value),
      ($20.StreamTicksResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$20.SetPowerModeRequest, $20.SetPowerModeResponse>(
      'SetPowerMode',
      setPowerMode_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $20.SetPowerModeRequest.fromBuffer(value),
      ($20.SetPowerModeResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$16.GetGeometriesRequest, $16.GetGeometriesResponse>(
      'GetGeometries',
      getGeometries_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $16.GetGeometriesRequest.fromBuffer(value),
      ($16.GetGeometriesResponse value) => value.writeToBuffer()));
}