2023-08-29 10:04:07 +02:00
|
|
|
#ifndef PROGRAM_H
|
|
|
|
#define PROGRAM_H
|
|
|
|
|
2023-11-10 16:47:39 +01:00
|
|
|
#include "DolibarrClient.h"
|
2024-01-18 19:16:23 +01:00
|
|
|
#include "GRBL.h"
|
2024-01-18 21:02:11 +01:00
|
|
|
#include "NfcReader.h"
|
2024-01-18 19:16:23 +01:00
|
|
|
#include <Arduino.h>
|
2023-11-10 16:47:39 +01:00
|
|
|
#include <M5Stack.h>
|
2024-01-18 19:32:02 +01:00
|
|
|
// #include <vector>
|
2023-08-29 10:04:07 +02:00
|
|
|
|
|
|
|
class Program {
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Program startup
|
|
|
|
*/
|
|
|
|
Program();
|
|
|
|
|
|
|
|
/**
|
2023-11-10 16:47:39 +01:00
|
|
|
* Program WarehouseGUI loop
|
2023-08-29 10:04:07 +02:00
|
|
|
*/
|
|
|
|
void loop();
|
2024-01-18 19:16:23 +01:00
|
|
|
|
2023-11-10 16:47:39 +01:00
|
|
|
private:
|
2024-01-18 19:16:23 +01:00
|
|
|
|
2023-11-10 16:47:39 +01:00
|
|
|
DolibarrClient *client;
|
2024-01-18 19:16:23 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief stepper motor controller
|
|
|
|
*/
|
|
|
|
GRBL* grbl;
|
2024-01-18 21:02:11 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief nfc reader
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
NfcReader* NFC;
|
2023-08-29 10:04:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|