PCM_Report/start_temperature_table.bat

31 lines
807 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

@echo off
REM 启动 temperature_table.py 的批处理脚本
REM 设置必要的环境变量
REM 设置基本配置
set TABLE_TOKEN=scriptTable1
set TABLE_START_ROW=0
set TABLE_START_COL=0
set TABLE_TIME_SLOTS=0.5h,1h,1.5h,2h,2.5h,3h,3.5h
set TABLE_MOTOR_SPEED=980RPM
REM 设置实验时间范围(请根据实际情况修改)
set EXPERIMENT_START=2024-01-01T10:00:00Z
set EXPERIMENT_END=2024-01-01T13:30:00Z
REM 设置InfluxDB连接信息请根据实际情况修改
set INFLUX_URL=http://localhost:8086
set INFLUX_ORG=your-org
set INFLUX_TOKEN=your-token
set INFLUX_BUCKET=PCM
set INFLUX_MEASUREMENT=PCM_Measurement
REM 设置日志配置
set TABLE_LOG_LEVEL=DEBUG
set TABLE_LOG_FILE=test.log
REM 运行 temperature_table.py 脚本
python temperature_table.py
REM 暂停以查看输出
pause