import GraphBase from '../../../公共组件/GraphBase';

function SO2(props) {
	function handleSwitch(v) {
		console.log('switched ', v);
	}

	function handleDateChange(v) {
		console.log('date ', v);
	}

	return (
		<GraphBase
			icon="battery"
			title="二氧化硫"
			desc="能耗趋势图"
			switchOptions={true}
			onSwitch={handleSwitch}
			dateOptions={['日', '周', '月', '年']}
			legend={['总量', '白班', '夜班']}
			onDateChange={handleDateChange}
			size={['long', 'middle']}
		>
			{/* real echarts here */}
			{/* real table data here  */}
		</GraphBase>
	);
}

export default SO2;
