#ifndef __HOMEDIALOG_H__
#define __HOMEDIALOG_H__

#include <applications/dialog/Dialog.h>
#include <hal/drivers/flash.h>

class CHomeDialog: public CDialog
{
public:
	virtual void OnCreat(void);

	virtual void OnButtonDown(void);

	virtual void OnConductivity(void);
	virtual void OnRTD(void);

private:
	void OnDraw(void);

	float conductivity;
	float temperature;
	int rtd_wire;
	int rtd_type;

	flash_file * p_flash_file = nullptr;
};

extern CHomeDialog HomeDialog;

#endif
