Example #1
0
	private string GetDetailInformation (WareData wareData,AutomotiveRequired automotive)
	{
		return string.Format (FormattedInformation (),
		                      wareData.Weight.ToString(),
		                      wareData.Height.ToString (),wareData.Width.ToString (),wareData.Length.ToString (),
		                      automotive.AutomotiveType.ToString (),
		                      automotive.Coupling.Code,
		                      automotive.TopType.Details,
		                      automotive.Quantity.ToString ());
	}
Example #2
0
	private List<AutomotiveRequired> GetAutomotiveRequired (ArrayList automotiveRequired)
	{
		List<AutomotiveRequired> data = new List<AutomotiveRequired> ();
		foreach (Hashtable itemData in automotiveRequired)
		{
			AutomotiveRequired item = new AutomotiveRequired(itemData as Hashtable);
			data.Add (item);
		}
		
		return data;
	}