| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 20 00 00 00 20 08 03 00 00 00 44 a4 8a | .PNG........IHDR.............D.. |
| 0020 | c6 00 00 00 03 73 42 49 54 08 08 08 db e1 4f e0 00 00 00 09 70 48 59 73 00 00 00 dd 00 00 00 dd | .....sBIT.....O.....pHYs........ |
| 0040 | 01 70 53 a2 07 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 61 | .pS......tEXtSoftware.www.inksca |
| 0060 | 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 01 92 50 4c 54 45 ff ff ff 00 80 ff 00 ff ff 00 80 bf 39 9c | pe.org..<.....PLTE............9. |
| 0080 | c6 4d a6 cc 38 a2 cd 4a aa cc 32 9b c8 35 9a c5 28 92 c6 35 a2 ca 38 a3 cb 2f 95 c8 33 95 c8 32 | .M..8..J..2..5..(..5..8../..3..2 |
| 00a0 | 97 c9 31 9a c7 47 a9 ce 38 a0 cb 35 a2 ca 31 9a c8 37 a1 cb 36 a0 cb 4a a7 cf 36 a0 cb 36 a1 cc | ..1..G..8..5..1..7..6..J..6..6.. |
| 00c0 | 48 a9 cf 49 a9 cf 34 99 c6 36 a1 cb 2c 99 bd 49 a9 cf 2b 99 bc 33 97 c7 27 92 c2 2b 93 c3 35 a1 | H..I..4..6..,..I..+..3..'..+..5. |
| 00e0 | cc 31 96 c5 36 a1 cb 34 99 c6 36 a2 ca 47 aa cf 34 99 c8 48 a9 d0 2b 98 be 35 a2 cb 36 a1 cb 48 | .1..6..4..6..G..4..H..+..5..6..H |
| 0100 | aa d0 36 a1 cb 48 a9 d0 36 a2 cc 36 a1 ca 31 9d c5 35 a0 cb 47 a8 ce 49 a8 d0 27 92 c3 30 97 c5 | ..6..H..6..6..1..5..G..I..'..0.. |
| 0120 | 34 98 c6 33 9f c9 33 98 c6 25 91 c4 31 97 c7 33 98 c7 2a 98 bc 2b 99 be 32 97 c6 29 98 ba 36 a2 | 4..3..3..%..1..3..*..+..2..)..6. |
| 0140 | cb 28 97 ba 49 aa cf 28 97 ba 21 8d c2 36 a1 cb 33 95 c6 34 95 c6 4a aa cf 34 96 c5 33 94 c5 33 | .(..I..(..!..6..3..4..J..4..3..3 |
| 0160 | 95 c5 36 a1 cb 49 aa d0 33 95 c5 36 a1 cb 4a aa cf 1d 89 bf 1e 8a bf 1e 8a c0 1f 8a c0 1f 8b c0 | ..6..I..3..6..J................. |
| 0180 | 23 8f c2 23 93 b5 24 90 c3 24 93 b6 25 95 b8 28 8e c2 28 94 c4 28 96 ba 28 97 bb 29 8f c3 2c 98 | #..#..$..$..%..(..(..(..(..)..,. |
| 01a0 | c6 2d 91 c3 2d 99 c7 31 93 c4 31 9e c6 32 9b c8 33 94 c4 33 94 c5 33 95 c4 34 95 c5 34 9f c8 34 | .-..-..1..1..2..3..3..3..4..4..4 |
| 01c0 | 9f ca 35 96 c5 36 a1 cb 37 99 c7 38 99 c7 38 a2 cb 39 9a c8 3b a3 cc 3c a4 cc 3d 9e c9 3e a5 cd | ..5..6..7..8..8..9..;..<..=..>.. |
| 01e0 | 3f a5 cd 40 a1 cb 41 a2 cc 41 a6 cd 41 a6 ce 43 a7 ce 45 a8 ce 46 a8 cf 48 a8 ce 48 a9 cf 49 a9 | ?..@..A..A..A..C..E..F..H..H..I. |
| 0200 | cf 49 aa cf 8c b2 8e cc 00 00 00 55 74 52 4e 53 00 02 02 04 12 14 29 2d 2e 35 3f 3f 40 41 41 42 | .I.........UtRNS......)-.5??@AAB |
| 0220 | 44 44 4e 52 53 54 59 5a 5e 5fusing System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using RealTimeGraphEx;
using RealTimeGraphEx.Controllers;
using RealTimeGraphX;
using RealTimeGraphX.WPF.DataSeries;
namespace Tango.MachineStudio.Common.Controls
{
/// <summary>
/// Interaction logic for RealTimeGraphControl.xaml
/// </summary>
public partial class RealTimeGraphControl : UserControl, IRealTimeGraph
{
#region Properties
public String DisplayName
{
get { return (String)GetValue(DisplayNameProperty); }
set { SetValue(DisplayNameProperty, value); }
}
public static readonly DependencyProperty DisplayNameProperty =
DependencyProperty.Register("DisplayName", typeof(String), typeof(RealTimeGraphControl), new PropertyMetadata(null));
public String DisplayUnits
{
get { return (String)GetValue(DisplayUnitsProperty); }
set { SetValue(DisplayUnitsProperty, value); }
}
public static readonly DependencyProperty DisplayUnitsProperty =
DependencyProperty.Register("DisplayUnits", typeof(String), typeof(RealTimeGraphControl), new PropertyMetadata(null));
public String StringFormat
{
get { return (String)GetValue(StringFormatProperty); }
set { SetValue(StringFormatProperty, value); }
}
public static readonly DependencyProperty StringFormatProperty =
DependencyProperty.Register("StringFormat", typeof(String), typeof(RealTimeGraphControl), new PropertyMetadata("0.0"));
public IGraphController<WpfDataSeries> Controller
{
get { return (IGraphController<WpfDataSeries>)GetValue(ControllerProperty); }
set { SetValue(ControllerProperty, value); }
}
public static readonly DependencyProperty ControllerProperty =
DependencyProperty.Register("Controller", typeof(IGraphController<WpfDataSeries>), typeof(RealTimeGraphControl), new PropertyMetadata(null,(d,e) => (d as RealTimeGraphControl).OnControllerChanged()));
private void OnControllerChanged()
{
Controller.Output.Output.ConnectOutput(Graph);
}
#endregion
public RealTimeGraphControl()
{
InitializeComponent();
}
}
}
|