polarimeter_software/User/app/pm_config.h
2025-09-30 10:37:23 +08:00

23 lines
600 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* @Author: mypx
* @Date: 2025-09-24 11:34:56
* @LastEditTime: 2025-09-25 11:10:15
* @LastEditors: mypx mypx_coder@163.com
* @Description:
*/
#ifndef __PM_CONFIG_H__
#define __PM_CONFIG_H__
#define PM_WAVE_LENGTH_DEF 589.0f // 波长默认钠D线589nm
#define PM_TUBE_LENGTH_DEF 1.0f // 旋光管长度默认1dm
#define PM_TEMP_DEF 25.0f // 温度默认25摄氏度
#define PM_MEAS_MODE_DEF 0
#define PM_TUBE_LENGTH_MAX 300 // 单位mm
#define PM_TUBE_LENGTH_MIN 100
#define PM_TARGET_TEMP_MAX 60.0f
#define PM_TARGET_TEMP_MIN 10.0f
#endif // __PM_CONFIG_H__