25 using service_type = PowerSensorService;
28 ::grpc::Status GetVoltage(::grpc::ServerContext* context,
29 const GetVoltageRequest* request,
30 GetVoltageResponse* response)
noexcept override;
32 ::grpc::Status GetCurrent(::grpc::ServerContext* context,
33 const GetCurrentRequest* request,
34 GetCurrentResponse* response)
noexcept override;
36 ::grpc::Status GetPower(::grpc::ServerContext* context,
37 const GetPowerRequest* request,
38 GetPowerResponse* response)
noexcept override;
40 ::grpc::Status GetReadings(::grpc::ServerContext* context,
41 const viam::common::v1::GetReadingsRequest* request,
42 viam::common::v1::GetReadingsResponse* response)
noexcept override;
44 ::grpc::Status DoCommand(::grpc::ServerContext* context,
45 const viam::common::v1::DoCommandRequest* request,
46 viam::common::v1::DoCommandResponse* response)
noexcept override;