aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/SystemInformationTemplate.cshtml
blob: 54db28e3284052d3119955e558037ab2216c5bdf (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@{
    Tango.MachineStudio.UI.TFS.SystemInformationModel vm = Model as Tango.MachineStudio.UI.TFS.SystemInformationModel;
}

<div>
    <div style="font-size:20pt;text-decoration:underline">System Information</div>
    <table style="margin-top:10px">
        <tbody>

            <tr>
                <td><b>Application Version:</b></td>
                <td>@vm.ApplicationVersion</td>
            </tr>

            <tr>
                <td><b>Embedded Version:</b></td>
                <td>@vm.EmbeddedVersion</td>
            </tr>

            <tr>
                <td><b>Host Name:</b></td>
                <td>@vm.HostName</td>
            </tr>

            <tr>
                <td><b>User:</b></td>
                <td>@vm.UserName</td>
            </tr>

        </tbody>
    </table>

    <div style="font-size:20pt;text-decoration:underline;margin-top:10px">Machine</div>

    @if (vm.Machine != null)
    {
        <table style="margin-top:10px">
            <tbody>

                <tr>
                    <td><b>Organization:</b></td>
                    <td>@vm.Machine.Organization.Name</td>
                </tr>

                <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>
et.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> </root>