using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MapoDb; using SteamWare; namespace MoonProTablet.WebUserControls { public partial class mod_dettTurni : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { updateTurni(); } /// /// aggiorna classi grafiche turni /// protected void updateTurni() { } /// /// fornisce classe CSS x colorare il turno secondo apertura o meno /// /// /// public string coloreDaTurno(object turno) { string answ = "semaforoSpento"; bool aperto = false; try { aperto = Convert.ToBoolean(turno); } catch { } if (aperto) answ = "semaforoVerde"; return answ; } } }