|  | @@ -2,11 +2,19 @@ import PageContent from '@/components/PageContent';
 | 
	
		
			
				|  |  |  import PageTitle from '@/components/PageTitle';
 | 
	
		
			
				|  |  |  import TabsContent from '@/components/TabsContent';
 | 
	
		
			
				|  |  |  import { UnityAction } from '@/utils/utils';
 | 
	
		
			
				|  |  | +import { useEffect } from 'react';
 | 
	
		
			
				|  |  |  import AirConditioner from './components/AirConditioner';
 | 
	
		
			
				|  |  |  import Light from './components/Light';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function Hardware() {
 | 
	
		
			
				|  |  | -  const handleTabsChange = (tab) => {};
 | 
	
		
			
				|  |  | +  const handleTabsChange = (tab) => {
 | 
	
		
			
				|  |  | +    UnityAction.sendMsg(tab == '1' ? 'ACData' : 'lightData');
 | 
	
		
			
				|  |  | +  };
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  useEffect(() => {
 | 
	
		
			
				|  |  | +    UnityAction.sendMsg('ACData');
 | 
	
		
			
				|  |  | +  }, []);
 | 
	
		
			
				|  |  | +  
 | 
	
		
			
				|  |  |    return (
 | 
	
		
			
				|  |  |      <PageContent closeable={false}>
 | 
	
		
			
				|  |  |        <PageTitle
 |