aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Views/EventDetailsView.xaml.cs
blob: dd447e1b689ee02a18a6bab8c71dc87ef0150839 (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 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.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Tango.MachineStudio.Logging.Views
{
    /// <summary>
    /// Interaction logic for EventDetailsView.xaml
    /// </summary>
    public partial class EventDetailsView : UserControl
    {
        public EventDetailsView()
        {
            InitializeComponent();
        }
    }
}
<tr> <td><b>Name:</b></td> <td>@vm.Machine.Name</td> </tr> <tr> <td><b>S/N:</b></td> <td>@vm.Machine.SerialNumber</td> </tr> <tr> <td><b>Version:</b></td> <td>@vm.Machine.MachineVersion.Version</td> </tr> </tbody> </table> <div style="font-size:20pt;text-decoration:underline;margin-top:10px">Machine Configuration</div> <div style="white-space:pre;margin-top:10px;font-size:8pt">@vm.ConfigurationString</div> <div style="font-size:20pt;text-decoration:underline;margin-top:10px">Hardware Configuration</div> if (vm.LoadedHardwareConfigurationString != null) { <div style="white-space:pre;margin-top:10px;font-size:8pt">@vm.LoadedHardwareConfigurationString</div> } else { <div style="color:Red;margin-top:10px">NOT SET</div> } <div style="font-size:20pt;text-decoration:underline;margin-top:10px">Process Parameters</div> if (vm.LoadedProcessParametersString != null) { <div style="white-space:pre;margin-top:10px;font-size:8pt">@vm.LoadedProcessParametersString</div> } else { <div style="color:Red;margin-top:10px">NOT SET</div> } } else { <div style="color:Red;margin-top:10px">NOT CONNECTED</div> } </div>