aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/MachineSetupResponse.cs
blob: 7d142d5f7b410537cbd698b8c554d70e7bc1050b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;
using Tango.Transport.Web;

namespace Tango.PPC.Common.Web
{
    public class MachineSetupResponse : WebResponseMessage
    {
        public String Version { get; set; }

        public String BlobAddress { get; set; }

        public DataSource DataSource { get; set; }

        public String OSKey { get; set; }

        public bool SetupActivation { get; set; }
        public bool SetupRemoteAssistance { get; set; }
        public bool SetupUWF { get; set; }
        public bool SetupFirmware { get; set; }
        public bool SetupFPGA { get; set; }
        public bool IsDemo { get; set; }
    }
}
class="c1">/// <param name="bmp"></param> protected override void OnDrawVisuals(WriteableBitmap bmp) { Color stroke = _graphController.dataSeries.GetStrokeColor() != null ? _graphController.dataSeries.GetStrokeColor().Value : _stroke; Color fill = _graphController.dataSeries.GetFillColor() != null ? _graphController.dataSeries.GetFillColor().Value : _fill; double scale = GetPolygonScaleFactor(); if (_fillGraph) //Fill Graph { bmp.FillPolygon(graphPolygon.ToPolygonPointsWaveFill(_offSetX, _offSetY, _width, _height, scale, ConvertYToImageYFliped), fill); } DrawPolyline(bmp, graphPolygon.ToPolygonPoints(_offSetX, _offSetY, scale, ConvertYToImageYFliped), stroke); DrawPolyline(bmp, graphPolygon.ToPolygonPointsReflection(_offSetX, _offSetY, _height, scale, ConvertYToImageYFliped), stroke); } #endregion } }