Silverlight框架中定时监听预警信息,使用SL线程DispatcherTimer解决

Silverlight框架中定时监听预警信息,使用SL线程DispatcherTimer解决,第1张

概述在我们的SL系统框架中,这次由于需要在页面中增加对实时产生的预警信息在页面上有声音及一个灯光闪烁提示。 效果图如下: 1、WebService中的方法,汇总所有的预警信息,并拼接串作为返回值用于在SL中调用判断 #region 获取所有的预警信息,并判断发生了哪种预警 /// <summary> /// 后期如果有其他预警的话,可以同样 /// </summary>

在我们的SL系统框架中,这次由于需要在页面中增加对实时产生的预警信息在页面上有声音及一个灯光闪烁提示。

效果图如下:



1、WebService中的方法,汇总所有的预警信息,并拼接串作为返回值用于在SL中调用判断


    #region 获取所有的预警信息,并判断发生了哪种预警    /// <summary>    /// 后期如果有其他预警的话,可以同样    /// </summary>    /// <returns></returns>    [WebMethod]    public string WhatWarningCreated()    {        StringBuilder sb = new StringBuilder();        string strXQsql = @"select t.[ID],t.STWarnTM as 预警时间,t.WarnNM as 预警名称,t.WarnType as 预警类型,t.WarnGrade as 预警等级,t.WarnSource as 预警来源,t.STNM  as 雨量站名,t.COUNTNM as 所在县区,t.TOWNNM as 所在位置,t.BSNM as 所属小流域,t.WarnC1 as 雨量信息,t.WarnC3 as 达到预警阀值的历时信息,t.WarnC2 as 水库水位,t.WarnStatus as 预警状态,t.WarnSummary as 预警摘要,t.Sender as 发布人,t.LGTD,t.LTTD            from ST_WARNRECORD_R t,dbo.ST_STBPRP_B t1            where t1.STCD= t.STCD and  t.STWarnTM in ( select max(STWarnTM) from ST_WARNRECORD_R where STCD=t.STCD )            and convert(datetime,STWarnTM,120) between dateadd(day,-1,getdate()) and getdate()            and t.WarnStatus='新产生';"; // 暴雨洪水sql        string strLDsql = @"select t2.[ID] as 编号,t1.[name] as 站点名称,t1.longitude as 经度,t1.latitude as 纬度,case t2.[Code] when 0 then '暂无预警' when 1 then '黄色预警' when 2 then '橙色预警' when 3 then '红色预警' end as 预警类型,t2.probability as 发生概率,t2.SetTime as 发生时间            from AlertStation t1,UpdatealertInfo t2            where t1.ID = t2.StationID and t2.Code not in(0)"; //雷电sql        if (dm.getsql(strXQsql).tables[0].Rows.Count > 0)        {            sb.Append("1|");        }        else        {            sb.Append("0|");        }        if (dmqx.getsql(strLDsql).tables[0].Rows.Count > 0)        {            sb.Append("1|");        }        else        {            sb.Append("0|");        }        return sb.ToString().TrimEnd('|'); //返回是何种预警信息,0无预警,1有预警    }    #endregion


2、SL框架中在起始加载页面MainPage.xaml中增加一个GrID,里面包含预警声音及灯光效果,如下xaml代码:

<UserControl.Resources><Storyboard x:name="Storyboard1">            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[0].(GradIEntStop.Offset)" Storyboard.Targetname="path2">                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="1"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[1].(GradIEntStop.Offset)" Storyboard.Targetname="path2">                <EasingDoubleKeyFrame KeyTime="0" Value="0.679"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0.679"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="0.321"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0.679"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[2].(GradIEntStop.Offset)" Storyboard.Targetname="path2">                <EasingDoubleKeyFrame KeyTime="0" Value="0.141"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0.141"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="0.859"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0.141"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[3].(GradIEntStop.Offset)" Storyboard.Targetname="path2">                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[4].(GradIEntStop.Offset)" Storyboard.Targetname="path2">                <EasingDoubleKeyFrame KeyTime="0" Value="0.43"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0.43"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="0.57"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0.43"/>            </DoubleAnimationUsingKeyFrames>            <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(linearGradIEntBrush.StartPoint)" Storyboard.Targetname="path2">                <EasingPointKeyFrame KeyTime="0" Value="0.953000009059906,0.529999971389771"/>                <discretePointKeyFrame KeyTime="0:0:0.5" Value="1.437,0.563"/>                <EasingPointKeyFrame KeyTime="0:0:1" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:1.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:2" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:2.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:3" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:3.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:4" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:4.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:5.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:6" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:6.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:7" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:7.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:8" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:8.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:9" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:9.5" Value="0.953000009059906,0.529999971389771"/>                <EasingPointKeyFrame KeyTime="0:0:10" Value="0.953000009059906,0.529999971389771"/>            </PointAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path3">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path4">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path5">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path6">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path7">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path8">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path9">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path10">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path11">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path12">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path13">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path14">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.Targetname="path15">                <discreteObjectKeyFrame KeyTime="0">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:0.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:1.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:2.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:3.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:4.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:5.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:6.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:7.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:8.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:9.5">                    <discreteObjectKeyFrame.Value>                        <Visibility>Visible</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>                <discreteObjectKeyFrame KeyTime="0:0:10">                    <discreteObjectKeyFrame.Value>                        <Visibility>Collapsed</Visibility>                    </discreteObjectKeyFrame.Value>                </discreteObjectKeyFrame>            </ObjectAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[0].(GradIEntStop.Offset)" Storyboard.Targetname="ellipse">                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[1].(GradIEntStop.Offset)" Storyboard.Targetname="ellipse">                <EasingDoubleKeyFrame KeyTime="0" Value="0.309"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="0.317"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0.309"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="0.691"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0.309"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[2].(GradIEntStop.Offset)" Storyboard.Targetname="ellipse">                <EasingDoubleKeyFrame KeyTime="0" Value="0.554"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0.554"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="0.446"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0.554"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(GradIEntBrush.GradIEntStops)[3].(GradIEntStop.Offset)" Storyboard.Targetname="ellipse">                <EasingDoubleKeyFrame KeyTime="0" Value="0.663"/>                <discreteDoubleKeyFrame KeyTime="0:0:0.5" Value="0.643"/>                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:1.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:2.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:3.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:4" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:4.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:5.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:6.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:7" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:7.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:8.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0.663"/>                <EasingDoubleKeyFrame KeyTime="0:0:9.5" Value="0.337"/>                <EasingDoubleKeyFrame KeyTime="0:0:10" Value="0.663"/>            </DoubleAnimationUsingKeyFrames>        </Storyboard>        <Storyboard x:name="Storyboard2"/>        <Storyboard x:name="Storyboard3">            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.Targetname="rectangle_copy" RepeatBehavior="Forever">                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.Targetname="rectangle_copy1" RepeatBehavior="Forever">                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:5" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:6" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="0"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.Targetname="rectangle_copy2" RepeatBehavior="Forever">                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:2" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:3" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="1"/>            </DoubleAnimationUsingKeyFrames>            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.Targetname="rectangle_copy3" RepeatBehavior="Forever">                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:8" Value="0"/>                <EasingDoubleKeyFrame KeyTime="0:0:9" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:11" Value="1"/>                <EasingDoubleKeyFrame KeyTime="0:0:12" Value="0"/>            </DoubleAnimationUsingKeyFrames>        </Storyboard></UserControl.Resources>
<GrID x:name="canvas"  HorizontalAlignment="Right" Height="40" margin="0,-43,0" VerticalAlignment="top" d:LayoutOverrIDes="Height" WIDth="505" >                        	<GrID x:name="sp" HorizontalAlignment="Right" WIDth="101" margin="77,9,0">                        		<GrID HorizontalAlignment="left" margin="0,2,1" WIDth="25">                        			<GrID margin="2,-4,-7,2">                        				<MediaElement x:name="me_warning" Source="/Media/jb.mp3" Canvas.ZIndex="1" MediaOpened="me_warning_MediaOpened" CurrentStateChanged="me_warning_CurrentStateChanged">                        					<MediaElement.OpacityMask>                        						<ImageBrush ImageSource="Images/sound.png"/>                        					</MediaElement.OpacityMask>                        				</MediaElement>                        				<Canvas Height="30" WIDth="30" HorizontalAlignment="left" VerticalAlignment="top" RendertransformOrigin="0.5,0.538">                        					<Path x:name="path" Data="M127.67025,0 L127.68011,0.020648956 C127.9223,0.59332752 129.34747,11.926386 125.32909,14.476622 C92.771774,35.138779 4.5846004,25.905298 0.93322957,14.002687 C-0.31264284,9.9414387 0.11901049,0.8904047 0.25633776,0.45373726 L0.37316838,0.13659859 L0.38896039,0.23572922 C0.52253067,0.98696709 0.69962806,1.7412186 0.93322957,2.5027027 C4.5846004,14.405315 92.771774,23.638792 125.32909,2.9766359 C126.45927,2.2593832 127.16872,1.2960033 127.60473,0.18226337 z" Height="5.167" Stretch="Fill" Canvas.top="24.82" UseLayoutRounding="False" WIDth="24" stroke="#FFA7A7A7" strokeThickness="0.5" Canvas.left="2.75" >                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.501" StartPoint="0.099,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path1" Data="M124.00004,36.750004 C126.24809,39.500256 128.54004,45.624634 124.553,48.110474 C92.249687,68.250893 5.000514,58.500568 1.3776294,46.898506 C0.1414775,42.939808 3.1194379,38.437965 5.4998875,35 C19.001986,15.499583 112.98203,23.270599 124.00004,36.750004 z" Height="7.251" Canvas.left="2.856" Stretch="Fill" Canvas.top="20.601" WIDth="23.737" UseLayoutRounding="False" stroke="#FFB8B8B8" strokeThickness="0.5">                        						<Path.Fill>                        							<RadialGradIEntBrush RadiusY="0.616" RadiusX="0.616">                        								<GradIEntStop color="#FFCFCECC" Offset="0.112"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.647"/>                        								<GradIEntStop color="#FF979797" Offset="0.771"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.928"/>                        							</RadialGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path2" Height="19.935" Canvas.left="4.423" Stretch="Fill" Canvas.top="6.935" UseLayoutRounding="False" WIDth="20.256" strokeThickness="0.5">                        						<Path.Data>                        							<PathGeometry FillRule="EvenOdd">                        								<Pathfigure IsFilled="True" IsClosed="True" StartPoint="-250.5,-21.5">                        									<BezIErSegment Point3="-244.58740234375,-12.3584985733032" Point2="-253.710784912109,-16.5201530456543" Point1="-250.5,-21.5"/>                        									<BezIErSegment Point3="-145.367630004883,-12.7181425094604" Point2="-171.22395324707,2.56412053108215" Point1="-227.502288818359,-4.56508016586304"/>                        									<BezIErSegment Point3="-141,-19" Point2="-142.486419677734,-14.9009485244751" Point1="-141.864410400391,-14.7887029647827"/>                        									<BezIErSegment Point3="-147.870101928711,-105.854248046875" Point2="-145.806762695313,-81.0892562866211" Point1="-141,-59.9996681213379"/>                        									<BezIErSegment Point3="-237.614349365234,-105.032264709473" Point2="-190.148254394531,-85.0888061523438" Point1="-149.821228027344,-100.430549621582"/>                        									<BezIErSegment Point3="-250.5,-21.5" Point2="-246.833343505859,-52.1664047241211" Point1="-240.686660766602,-96.1138381958008"/>                        								</Pathfigure>                        							</PathGeometry>                        						</Path.Data>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.057,0.559" MapPingMode="relativeToBoundingBox" StartPoint="0.953,0.53">                        								<GradIEntStop color="#FFE73311" Offset="1"/>                        								<GradIEntStop color="#FFF72B01" Offset="0.679"/>                        								<GradIEntStop color="#FFFCE4DD" Offset="0.141"/>                        								<GradIEntStop color="#FFEF1803"/>                        								<GradIEntStop color="#FFFC6B00" Offset="0.43"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="ellipse" Data="M16.85,2.5 C16.85,3.7978692 13.111578,4.8499999 8.5,4.8499999 C3.8884223,4.8499999 0.15000001,3.7978692 0.15000001,2.5 C0.15000001,1.2021308 3.8884223,0.15000001 8.5,0.15000001 C13.111578,0.15000001 16.85,1.2021308 16.85,2.5 z" Height="5" Canvas.left="6.891" Stretch="Fill" stroke="#FFEC1E0A" strokeThickness="0.3" Canvas.top="4.5" WIDth="16.515" UseLayoutRounding="False" >                        						<Path.Fill>                        							<RadialGradIEntBrush RadiusY="0.744" RadiusX="0.744" GradIEntOrigin="0.488,0.545">                        								<GradIEntStop color="#FFD02606"/>                        								<GradIEntStop color="#FFF72B01" Offset="0.309"/>                        								<GradIEntStop color="#FFEF1803" Offset="0.554"/>                        								<GradIEntStop color="#FFFC6B00" Offset="0.663"/>                        							</RadialGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path3" Data="M74.333336,25.166666 L79.333664,26.333008" Height="1.666" Canvas.left="1.588" Stretch="Fill" stroke="Red" Canvas.top="9.511" UseLayoutRounding="False" WIDth="3.781" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="-41.118" TranslateX="-0.649" TranslateY="-0.088"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path4" Data="M74.333336,26.333008" Height="1.667" Canvas.left="1.949" Stretch="Fill" stroke="Red" Canvas.top="4.146" UseLayoutRounding="False" WIDth="3.78" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="-17.54" TranslateX="0.649" TranslateY="0.088"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path5" Data="M74.333336,26.333008" Height="1.666" Canvas.left="7.235" Stretch="Fill" stroke="Red" Canvas.top="1.359" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="9.139"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path6" Data="M74.333336,26.333008" Height="1.666" Canvas.left="0.922" Stretch="Fill" stroke="Red" Canvas.top="14.512" UseLayoutRounding="False" WIDth="3.781" RendertransformOrigin="0.5,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path7" Data="M74.333336,26.333008" Height="1.666" Canvas.left="0.587" Stretch="Fill" stroke="Red" Canvas.top="18.683" UseLayoutRounding="False" WIDth="3.781" RendertransformOrigin="0.5,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path8" Data="M74.333336,26.333008" Height="1.666" Canvas.left="11.173" Stretch="Fill" stroke="Red" Canvas.top="0.651" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="33.848"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path9" Data="M74.333336,26.333008" Height="1.666" Canvas.left="19.158" Stretch="Fill" stroke="Red" Canvas.top="0.714" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="49.055"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path10" Data="M74.333336,26.333008" Height="1.666" Canvas.left="23.408" Stretch="Fill" stroke="Red" Canvas.top="2.779" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="79.92"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path11" Data="M74.333336,26.333008" Height="1.667" Canvas.left="24.868" Stretch="Fill" stroke="Red" Canvas.top="7.505" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="117.12"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path12" Data="M74.333336,26.333008" Height="1.667" Canvas.left="25.368" Stretch="Fill" stroke="Red" Canvas.top="12.13" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="115.704"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path13" Data="M74.333336,26.333008" Height="1.667" Canvas.left="25.556" Stretch="Fill" stroke="Red" Canvas.top="16.568" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="118.322"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path14" Data="M74.333336,26.333008" Height="1.667" Canvas.left="25.556" Stretch="Fill" stroke="Red" Canvas.top="20.485" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="121.927"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        					<Path x:name="path15" Data="M74.333336,26.333008" Height="1.666" Canvas.left="15.086" Stretch="Fill" stroke="Red" Canvas.top="0.236" UseLayoutRounding="False" WIDth="3.41" RendertransformOrigin="0.5,0.5" strokeThickness="2">                        						<Path.Rendertransform>                        							<Compositetransform Rotation="33.84"/>                        						</Path.Rendertransform>                        						<Path.Fill>                        							<linearGradIEntBrush EndPoint="0.93,0.531">                        								<GradIEntStop color="#FFCFCECC" Offset="0"/>                        								<GradIEntStop color="#FFddddDC" Offset="1"/>                        								<GradIEntStop color="#FFEFEFEF" Offset="0.169"/>                        								<GradIEntStop color="#FFB6B1B0" Offset="0.482"/>                        								<GradIEntStop color="#FFEBEBE9" Offset="0.791"/>                        							</linearGradIEntBrush>                        						</Path.Fill>                        					</Path>                        				</Canvas>                        			</GrID>                        			<CheckBox x:name="cb_jy" Content="静音" Canvas.ZIndex="1" Click="cb_jy_Click"  FontFamily="Microsoft YaHei" FontSize="14.667" Foreground="#FFF7F7F7" margin="0,5,-31,1" HorizontalAlignment="Right" WIDth="17"/>                        		</GrID>                        		<TextBlock margin="0,1" textwrapPing="Wrap" Text="静音" WIDth="41" FontSize="14.667" FontFamily="Microsoft YaHei" Foreground="#FF0079FF" HorizontalAlignment="Right" d:LayoutOverrIDes="HorizontalAlignment"/>                        	</GrID>                        	<Image x:name="sound" Source="Images/sound.png" WIDth="33" d:IsHIDden="True" HorizontalAlignment="left" margin="77,13,-5"/>                        	<TextBlock x:name="tbBJType" textwrapPing="Wrap" FontWeight="Bold" FontFamily="Microsoft YaHei" Foreground="Red" FontSize="14.667" HorizontalAlignment="Right" margin="0,105,5"/>                        </GrID>




3、SL框架中在起始加载页面MainPage.xaml.cs的UserControl_Loaded事件中判断处理预警信息

 //预警标识Tag        public bool YJ_TAG = false; //预警Tag        private voID UserControl_Loaded(object sender,RoutedEventArgs e)        {            this.me_warning.Stop();            ExecuteMethod();            LoaDWarning();        }        #region 单独开辟一个方法,用于实时监视预警信息        dispatcherTimer timer = null;        #region  灾害预警功能开始        public voID LoaDWarning()        {            timer = new dispatcherTimer();            timer.Interval = TimeSpan.FromSeconds(9);            timer.Tick += new EventHandler(timer_Tick);            //只要有预警信息,就开启计时器工作            /**********************************预警开始***********************************/            if (YJ_TAG)            {                this.canvas.Visibility = Visibility.Visible;                this.me_warning.Play();            }            else            {                this.canvas.Visibility = Visibility.Collapsed;                this.me_warning.Stop();            }            /**********************************预警结束***********************************/            timer.Start();        }        voID timer_Tick(object sender,EventArgs e)        {            ExecuteMethod();        }        public voID ExecuteMethod()        {            getXQYJInfoSoapClIEnt clIEnt = new getXQYJInfoSoapClIEnt();            clIEnt.WhatWarningCreatedCompleted += new EventHandler<WhatWarningCreatedCompletedEventArgs>(clIEnt_WhatWarningCreatedCompleted);            clIEnt.WhatWarningCreatedAsync();        }        voID clIEnt_WhatWarningCreatedCompleted(object sender,WhatWarningCreatedCompletedEventArgs e)        {            if (e.Error == null)            {                string ret = e.Result;                string byhs = ret.Split('|')[0]; //暴雨洪水                string ld = ret.Split('|')[1]; //雷电预警                this.tbBJType.Text = "有新的";                if (byhs == "1")                {                    this.tbBJType.Text += " 暴雨洪水 ";                }                if (ld == "1")                {                    this.tbBJType.Text += " 雷电 ";                }                this.tbBJType.Text += "预警产生,请关注!";                //如果没有发生错误,根据返回值结果判断是否产生了预警                if ((int.Parse(byhs) + int.Parse(ld)) > 0)                {                    YJ_TAG = true;                    this.canvas.Visibility = Visibility.Visible;                    Storyboard1.Duration = Duration.Forever;                    Storyboard1.Begin();                    this.me_warning.Play();                }                else                {                    YJ_TAG = false;                    this.canvas.Visibility = Visibility.Collapsed;                    this.me_warning.Stop();                }            }        }        #endregion 灾害预警功能结束        #endregion        #region 控制预警        private voID me_warning_MediaOpened(object sender,System.windows.RoutedEventArgs e)        {            this.me_warning.Autoplay = false;        }        private voID me_warning_CurrentStateChanged(object sender,System.windows.RoutedEventArgs e)        {            if (this.me_warning.CurrentState == MediaElementState.Paused)            {                this.me_warning.position = new TimeSpan(0);                //重当前位置播放煤体                    this.me_warning.Play();            }        }        private voID cb_jy_Click(object sender,System.windows.RoutedEventArgs e)        {            CheckBox currRadiobutton;            currRadiobutton = sender as CheckBox;            if (currRadiobutton != null && currRadiobutton.IsChecked.Value)            {                this.me_warning.IsMuted = true;            }            else            {                this.me_warning.IsMuted = false;            }        }        #endregion
总结

以上是内存溢出为你收集整理的Silverlight框架中定时监听预警信息,使用SL线程DispatcherTimer解决全部内容,希望文章能够帮你解决Silverlight框架中定时监听预警信息,使用SL线程DispatcherTimer解决所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1022827.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存