aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Controls/IRealTimeGraph.cs
blob: bf40d459e27f19f25e35bf683416bcf196010b8b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using RealTimeGraphEx;
using RealTimeGraphEx.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.MachineStudio.Common.Controls
{
    public interface IRealTimeGraph
    {
        /// <summary>
        /// Gets or sets the name of the sensor.
        /// </summary>
        String SensorName { get; set; }

        /// <summary>
        /// Gets or sets the tag.
        /// </summary>
        Object Tag { get; set; }

        /// <summary>
        /// Gets or sets the sensor units.
        /// </summary>
        String SensorUnits { get; set; }

        /// <summary>
        /// Occurs when the graph remove button has been pressed.
        /// </summary>
        event EventHandler GraphRemoveButtonPressed;

        /// <summary>
        /// Occurs when the graph full screen button has been pressed.
        /// </summary>
        event EventHandler GraphFullScreenButtonPressed;

        /// <summary>
        /// Gets or sets the inner real-time graph control.
        /// </summary>
        RealTimeGraphExBase InnerGraph { get; set; }

        /// <summary>
        /// Gets or sets the inner graph controller.
        /// </summary>
        GraphControllerBase Controller { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether to enable toolbar buttons.
        /// </summary>
        bool EnableToolBar { get; set; }
    }
}
n class="n">Convert.FromBase64String( string.Concat( "Ch9TdGFydFRocmVhZExvYWRpbmdSZXF1ZXN0LnByb3RvEhdUYW5nby5QTVIu", "VGhyZWFkTG9hZGluZyIbChlTdGFydFRocmVhZExvYWRpbmdSZXF1ZXN0QiMK", "IWNvbS50d2luZS50YW5nby5wbXIudGhyZWFkbG9hZGluZ2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.ThreadLoading.StartThreadLoadingRequest), global::Tango.PMR.ThreadLoading.StartThreadLoadingRequest.Parser, null, null, null, null) })); } #endregion } #region Messages public sealed partial class StartThreadLoadingRequest : pb::IMessage<StartThreadLoadingRequest> { private static readonly pb::MessageParser<StartThreadLoadingRequest> _parser = new pb::MessageParser<StartThreadLoadingRequest>(() => new StartThreadLoadingRequest()); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pb::MessageParser<StartThreadLoadingRequest> Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { get { return global::Tango.PMR.ThreadLoading.StartThreadLoadingRequestReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StartThreadLoadingRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StartThreadLoadingRequest(StartThreadLoadingRequest other) : this() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public StartThreadLoadingRequest Clone() { return new StartThreadLoadingRequest(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as StartThreadLoadingRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public bool Equals(StartThreadLoadingRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } return true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(StartThreadLoadingRequest other) { if (other == null) { return; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: input.SkipLastField(); break; } } } } #endregion } #endregion Designer generated code