----------------------------------------------------------------------------
-- Cell Task parameters
--
-- Mar, 1995   (Defined by RoadRobot Team
--		Written by Teresa Goncalves  Joao Paulo Pimentao - Uninova)
----------------------------------------------------------------------------

-- TYPE PolygonType = ENUMERATION OF (1);
TYPE PolygonType = ENUMERATION OF (linear);
END_TYPE;

-- TYPE Material = ENUMERATION OF (1, 2, 3);
TYPE Material = ENUMERATION OF (bitumen, stone, sand);
END_TYPE;

-- TYPE layer_type = ENUMERATION OF ( 1, 2, 3);
TYPE layer_type = ENUMERATION OF (
			surface_course, binder_course, base_course);
END_TYPE;

TYPE UnloadType = ENUMERATION OF( lorry, land);
-- TYPE UnloadType = ENUMERATION OF( 1, 2);
END_TYPE; 

ENTITY timming_constraints;
	from_time,
	to_time:	GMTTime;
END_ENTITY;

ENTITY working_rate;
	tonsPerHour:	REAL;
END_ENTITY;

ENTITY mixture;
	material:	Material;
	percentage:	Percentage;
END_ENTITY;

ENTITY asphalt_mixture;
	asphalt:	LIST[1:?] of mixture;
END_ENTITY;

ENTITY asphalt_layer;
	l_type:	layer_type;
END_ENTITY;

ENTITY road_geometry_list;
	section:	LIST [1:?] OF road_geometry;
END_ENTITY;

ENTITY road_geometry;
	horizontal_alignment:	HorizontalArc;
	profile:	road_profile;
END_ENTITY;

ENTITY road_profile;
	slope:	SlopeDef;
	crown:	CrownDef;
	width:	WidthDef;	
	thickness:	Metres;
END_ENTITY;

ENTITY SlopeDef;
	initial_value,
	variant_value:	Percentage;
	variance_type:	PolygonType;
END_ENTITY;

ENTITY CrownDef;
	initial_value,
	variant_value:	Percentage;
	variance_type:	PolygonType;
END_ENTITY;

ENTITY WidthDef;
	initial_value,
	variant_value:	Percentage;
	variance_type:	PolygonType;
END_ENTITY;

ENTITY quality_parameters;
	compactation_rate,
	evenness:	Percentage;
	tolerance_slope,
	tolerance_crown:	Percentage;
	tolerance_width:	Metres;
	tolerance_thickness:	Metres;
END_ENTITY;

ENTITY excavating_surface_topography;
	name:   STRING;
	e_number:	LIST [0:?] OF polyline;
END_ENTITY;

ENTITY excavating_final_profile;
	name:   STRING;
	e_number:	LIST [0:?] OF polyline;
END_ENTITY;

ENTITY unload_point;
	unload_type:	UnloadType;
	X: REAL;
	Y: REAL;
	Z: REAL;
END_ENTITY;

ENTITY base_position;
	X:	REAL;
	Y:	REAL;
	Z:	REAL;
	fi:	REAL;
END_ENTITY;

ENTITY obj_mod;
	object_id:	StepID;
	modifications:	LIST [1:?] OF change;
END_ENTITY;

ENTITY change;
	position: INTEGER;
	new_obj_id:	StepID;
END_ENTITY;

----------------------------------------------------------------------------
-- Cell Task Parameters
----------------------------------------------------------------------------