

unit Pack
{
	public const uint8 ID = 0;
	
	link unit D {}
	
	//[i] var_uint8 OS_time;
	uint8 OS_time;
	
	//---------------------------------------------------
	//³õÊ¼»¯
	//[i] function_void OS_init;
	public void OS_init()
	{
		D.D0_DIR = 1;
		D.D0_OUT = 0;
		
		OS_time = 20;
		
		SetValue( 0 );
	}
	//---------------------------------------------------
	//[i] function_void OS_run;
	public void OS_run()
	{
		
	}
	//---------------------------------------------------
	
	//[i] var_int32_w Angle;
	public mydata int32 Angle;
	int32 st_angle;
	
	public memory mydata
	{
		
	}
	void set_uint32( uint32 d )
	{
		st_angle = (int)d;
		SetValue( st_angle );
	}
	uint32 get_uint32()
	{
		return (uint)st_angle;
	}
	
	
	//ÉèÖÃ½Ç¶È
	//[i] function_void_old SetValue int32;
	
	#include "$run$.txt"
}


