xuchang-new/src/components/Modules/KilnOptimize/components/paramsInput/index.jsx
‘937886381’ 696d852cd2 修改
2024-09-13 15:47:43 +08:00

37 lines
1.1 KiB
JavaScript

/*
* @Author: zhp
* @Date: 2024-08-20 14:09:17
* @LastEditTime: 2024-08-30 14:53:39
* @LastEditors: zhp
* @Description:
*/
// AI预测控制参数输入
import cls from "./index.module.css";
import BottomBarItem from "../../../../Common/forecastLargeBackground";
// import CommonChart from "../CommonChart";
import DayNightToggle from "../dayButton";
import SeasonToggle from "../seasonButton";
import InputDataToggle from "../inputData";
function paramsInput(props) {
const handleClick = () => {
props.onSendValueToParent(true);
};
return (
<BottomBarItem icon="kilnPress" title="控制参数输入" style={props.style}>
<div className={cls.legend}>
<DayNightToggle style={{ flex: 1, width: '100%', marginTop: '24px' }} />
</div>
<div className={cls.middle}>
<SeasonToggle style={{ flex: 1, width: '100%', }} />
<InputDataToggle style={{ flex: 1, width: '100%', }} />
</div>
<div className={cls.bottom}>
<div className={cls.bottomButton} onClick={handleClick}>
执行模拟
</div>
</div>
</BottomBarItem>
);
}
export default paramsInput;