Newer
Older
#pragma once
#include <Arduino.h>
class PowerProcedure {
private:
String currentStage; // Stores the current stage name
int currentChannel; // Stores the current channel
uint8_t stagesCount; // Stores the quantity of power stages
struct Stage {
String name; // Name of the stage (e.g., "ASICS")
int* channels; // Pointer to dynamically allocated channel array
size_t size; // Number of channels in the stage
};
const IPAddress ipAddr; // Stores the IP address