Пример #1
0
        public void ResetAffichage()
        {
            string msg = "{ \"TypeMessage\" : \"Patineur\", \"NoCasqueWeb\": " + NoCasqueWeb.ToString() + ", \"Casque\":\"" + this.Casque + "\", \"Nom\": \"\", \"Club\": \"\", \"Tour\":-1, \"Temps\" : \"\", \"DernierTour\" : \"\" }";

            if (this.ccw != null)
            {
                this.ccw.AfficherWeb(this.NoCasqueWeb, msg);
            }
            if (ParamCommuns.Instance.WebChrono == ParamCommuns.ModeDiffusion.BT)
            {
                Chat.BlueToothMgr.Instance.DiffuserMessageBluetooth(ChronoSignalR.TypeMessage.ChronoCourse, msg);
            }
        }
Пример #2
0
 private void NotifierWeb()
 {
     if (this.ccw != null)
     {
         string msg = "{ \"TypeMessage\" : \"Patineur\", \"NoCasqueWeb\": " + NoCasqueWeb.ToString() + ", \"Casque\": \"" + this.Casque + "\", \"Nom\": \"" + this.Patineur.Patineurs + "\", \"Club\": \"" + this.Patineur.Club + "\", \"Tour\": " + this.NbTour.ToString() + "  , \"Temps\" : \"" + this.DernierTemps + "\", \"DernierTour\" : \"" + this.DernierTour + "\" }";
         this.ccw.AfficherWeb(this.NoCasqueWeb, msg);
     }
     if (ParamCommuns.Instance.WebChrono == ParamCommuns.ModeDiffusion.BT)
     {
         string msg = "{ \"TypeMessage\" : \"Patineur\", \"NoCasqueWeb\": " + NoCasqueWeb.ToString() + ", \"Casque\": \"" + this.Casque + "\", \"Nom\": \"" + this.Patineur.Patineurs + "\", \"Club\": \"" + this.Patineur.Club + "\", \"Tour\": " + this.NbTour.ToString() + "  , \"Temps\" : \"" + this.DernierTemps + "\", \"DernierTour\" : \"" + this.DernierTour + "\" }";
         BlueToothMgr.Instance.DiffuserMessageBluetooth(ChronoSignalR.TypeMessage.ChronoCourse, msg);
     }
 }