Пример #1
0
	private string GetDescription (BidMarket data)
	{
		return string.Format ("*{0} | ${1}/"+
		                      "Anticipo-{2}%/" +
		                      "Dias de Salto - {3}",
		                      data.ID,data.Value,data.AdvancePaymentPercent,data.Days);
	}
Пример #2
0
	public void SetUp (BidMarket data)
	{
		desc.text = GetDescription (data);
	}
Пример #3
0
	public void SetUp (BidMarket bidMarket)
	{
		stars.ForEach(c=>c.transform.localScale = Vector3.zero);
		details.Text = bidMarket.ID + " - " + bidMarket.Value + " - " + bidMarket.AdvancePaymentPercent + "% / Dias" + bidMarket.Days;
		SetRanking ();
	}
Пример #4
0
	private List<BidMarket> GetBidMarket (ArrayList bidMarket)
	{
		List<BidMarket> data = new List<BidMarket> ();
		foreach (Hashtable itemData in bidMarket)
		{
			BidMarket item = new BidMarket(itemData as Hashtable);
			data.Add (item);
		}
		
		return data;
	}