mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-07 14:43:52 +00:00
Moved Svelte UI to lib folder
This commit is contained in:
16
lib/SvelteUi/src/AmsWebServer.cpp
Normal file
16
lib/SvelteUi/src/AmsWebServer.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "AmsWebServer.h"
|
||||
|
||||
AmsWebServer::AmsWebServer(uint8_t* buf, RemoteDebug* Debug, HwTools* hw) {
|
||||
this->debugger = Debug;
|
||||
this->hw = hw;
|
||||
this->buf = (char*) buf;
|
||||
}
|
||||
|
||||
void AmsWebServer::setup(AmsConfiguration* config, GpioConfig* gpioConfig, MeterConfig* meterConfig, AmsData* meterState, AmsDataStorage* ds, EnergyAccounting* ea) {
|
||||
this->config = config;
|
||||
this->gpioConfig = gpioConfig;
|
||||
this->meterConfig = meterConfig;
|
||||
this->meterState = meterState;
|
||||
this->ds = ds;
|
||||
this->ea = ea;
|
||||
}
|
||||
Reference in New Issue
Block a user