Neues Ladestationsmodul mit ocpp Modul erstellt.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
class OCPP21Adapter extends OCPP201Adapter
|
||||
{
|
||||
public function normalizeInbound(OCPPMessage $message): array
|
||||
{
|
||||
$data = parent::normalizeInbound($message);
|
||||
$data['version'] = '2.1';
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function supportsBidirectionalPreparation(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user