DSF.Net/Controllers/Process/ScaledVertiProcess.xaml

(完整代码) 7KB

<UserControl x:Class="DSF.Net.Controllers.Process.ScaledVertiProcess"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:DSF.Net.Controllers.Process"
             mc:Ignorable="d" 
             d:DesignHeight="240" d:DesignWidth="110">
    <Viewbox>
    <Grid Height="240" Width="110">
            <Rectangle Margin="-0.102,20.846,0,7.854" Stroke="{Binding Path=ThemeColor.Light}" Width="29" HorizontalAlignment="Left" d:LayoutOverrides="Width" Height="210"/>
            <Rectangle Fill="{Binding Path=ThemeColor.Light}" Height="10" Margin="0.098,3.375,0,0" VerticalAlignment="Top" Width="3" HorizontalAlignment="Left"/>
            <Rectangle Fill="{Binding Path=ThemeColor.Alert}" HorizontalAlignment="Left" Height="10" Margin="4.665,3.375,0,0" VerticalAlignment="Top" Width="2"/>
            <Label x:Name="lableLimit" Content="100V" VerticalContentAlignment="Center" Padding="0" FontFamily="Microsoft YaHei" Foreground="{Binding Path=ThemeColor.TextEnabled}" Height="16" Margin="10,0,0,0" VerticalAlignment="Top" Background="{x:Null}" HorizontalAlignment="Left" Width="30"/>
        <Grid HorizontalAlignment="Left" Margin="3.199,0,0,11.8" Width="22.533" Opacity="0.3" Height="198.108" VerticalAlignment="Bottom">
            <Rectangle Height="15" Margin="2.533,0,0,22.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,2.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,62.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,42.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,82.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,102.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="15"/>
            <Rectangle Margin="2.533,0,0,182" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,162" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,142" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,122" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
        </Grid>
        <Grid x:Name="gridValue" HorizontalAlignment="Left" Margin="3,0,0,12" Width="23" Height="0" VerticalAlignment="Bottom">
            <Rectangle Height="15" Margin="2.533,0,0,22.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,2.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,62.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,42.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Height="15" Margin="2.533,0,0,82.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,102.892" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="15"/>
            <Rectangle Margin="2.533,0,0,182" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,162" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,142" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
            <Rectangle Margin="2.533,0,0,122" Stroke="{Binding Path=ThemeColor.Light}" StrokeThickness="10" StrokeMiterLimit="6" Width="17" HorizontalAlignment="Left" Height="15" VerticalAlignment="Bottom"/>
        </Grid>
        <Grid x:Name="gridPointer" Height="17" VerticalAlignment="Bottom" Margin="6,0,1,6">
                <Rectangle Height="1" Margin="0,7.75,48.869,8.15" StrokeThickness="2" StrokeMiterLimit="6" VerticalAlignment="Center" Fill="{Binding Path=ThemeColor.Alert}" Width="49" HorizontalAlignment="Left"/>
                <Path Fill="{Binding Path=ThemeColor.Alert}" StrokeThickness="2" StrokeMiterLimit="6" Data="M3.9414999,3 C3.3477938,3 2.8664999,3.4812939 2.8664999,4.0749998 2.8664999,4.6687059 3.3477938,5.1500001 3.9414999,5.1500001 4.5352063,5.1500001 5.0165,4.6687059 5.0165,4.0749998 5.0165,3.4812939 4.5352063,3 3.9414999,3 z M4,0 L8,6 0,6 z" Margin="50,5.667,45.869,6.134" RenderTransformOrigin="0.499999999052769,0.499999999526385" Stretch="Fill">
                <Path.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform Angle="-90"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Path.RenderTransform>
            </Path>
            <Label x:Name="labelValue" Content="0.00V" HorizontalAlignment="Right" VerticalContentAlignment="Center" Padding="0" Width="45" FontFamily="Microsoft YaHei" Foreground="{Binding Path=ThemeColor.TextEnabled}" HorizontalContentAlignment="Center" Height="17"/>
        </Grid>

    </Grid>
        </Viewbox>
</UserControl>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。