Class ModbusDeviceController

java.lang.Object
energy.eddie.aiida.web.ModbusDeviceController

@RestController @RequestMapping("/datasources/modbus") public class ModbusDeviceController extends Object
  • Constructor Details

    • ModbusDeviceController

      @Autowired public ModbusDeviceController(ModbusDeviceService service)
  • Method Details

    • getAllModbusVendors

      @GetMapping(path="/vendors", produces="application/json") public org.springframework.http.ResponseEntity<List<ModbusVendor>> getAllModbusVendors()
    • getModelsByVendor

      @GetMapping(path="/vendors/{vendorId}/models", produces="application/json") public org.springframework.http.ResponseEntity<List<ModbusModel>> getModelsByVendor(@PathVariable String vendorId)
    • getDevicesByModel

      @GetMapping(path="/models/{modelId}/devices", produces="application/json") public org.springframework.http.ResponseEntity<List<Device>> getDevicesByModel(@PathVariable String modelId)