private void UpdateTrend()
{
if (ViewModel != null && ViewModel.StationData != null)
{
//this.TrendRotateTransform.Angle = -ViewModel.StationData.WindTrend;
//this.RotateTrendAnimationAngle.To = -ViewModel.StationData.WindTrend;
//this.RotateTrendAnimation.Begin();
Animate();
ImageTrend.Source = new BitmapImage(
new Uri("../../Images/arrow_" +
(ViewModel.StationData.WindTrend > 0 ? "red" : "green") + ".png", UriKind.Relative)
);
//"/WindMobile-WP7;component
}
}