aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Shared/Jobs/RemoteJobUpdateRequest.cs
blob: 1322031ac4c7697fd417c42ddeb8f31262f35f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Shared.Jobs
{
    public class RemoteJobUpdateRequest
    {

    }
}
ystem; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using System.Windows.Threading; namespace RealTimeGraphEx.ReachGraphs { public class RealTimeGraphExReachWaveScroll : RealTimeGraphExReachLineScroll { public RealTimeGraphExReachWaveScroll() : base() { } /// <summary> /// Set the cross thread fields. /// </summary> protected override void OnSetCrossThreadFields() { base.OnSetCrossThreadFields(); this.Dispatcher.Invoke(() => { _minimum = _maximum * -1; }, System.Windows.Threading.DispatcherPriority.Send); } protected override void OnDrawVisuals() { double scale = GetPolygonScaleFactor(); this.Dispatcher.Invoke(() => { Polygon.Points = new PointCollection(graphPolygon.ToReachPolygonPointsWaveFill(_width + 1, _height, scale, ConvertYToImageYFliped)); }, DispatcherPriority.Send); } } }