BoardServiceBase constructor

BoardServiceBase()

Implementation

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