📄 temperature_monitor_options.h
字号:
// $Id: Temperature_Monitor_Options.h 80826 2008-03-04 14:51:23Z wotte $
#ifndef TEMPERATURE_MONITOR_OPTIONS_H
#define TEMPERATURE_MONITOR_OPTIONS_H
class Temperature_Monitor_Options
{
public:
Temperature_Monitor_Options (int, ACE_TCHAR *[])
{ }
const char *thermometer_address (void)
{
return "serial:// s0/0x3e52";
}
int poll_interval (void)
{
return 10; // every 10 seconds
}
int reset_interval (void)
{
return 60; // sixty seconds
}
int excessive_resets (void)
{
return 5; // no response in 5 minutes
}
const char *admin_email (void)
{
return "root@localhost";
}
const char *email_from (void)
{
return "temperature monitor";
}
int history_size()
{
return 10;
}
};
#endif /* TEMPERATURE_MONITOR_OPTIONS_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -