aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Themes/Generic.xaml
blob: e3efa0c6a63ebc03046703340801e4233b2e51f3 (plain)
1
2
3
4
5
6
7
8
9
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Tango.MachineStudio.UI"
    xmlns:controls="clr-namespace:Tango.MachineStudio.UI.Controls">
    
</ResourceDictionary>
bbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
@{
    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>