16 lines
429 B
Python
16 lines
429 B
Python
class DERAdapter:
|
|
def adapt(self, lp: dict) -> dict:
|
|
# Minimal translation: wrap input as adapted payload
|
|
return {"adapted": lp}
|
|
|
|
def contract(self) -> dict:
|
|
return {"name": "DERAdapter", "version": "0.1.0"}
|
|
|
|
|
|
class HeatingAdapter:
|
|
def adapt(self, lp: dict) -> dict:
|
|
return {"adapted": lp}
|
|
|
|
def contract(self) -> dict:
|
|
return {"name": "HeatingAdapter", "version": "0.1.0"}
|