123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <UserControl
- x:Class="LogoForceTestApp.Modules.MainModule.Views.OeeDebugPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:hc="https://handyorg.github.io/handycontrol"
- xmlns:local="clr-namespace:LogoForceTestApp.Modules.MainModule.Views"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:viewmodels="clr-namespace:LogoForceTestApp.Modules.MainModule.ViewModels"
- d:DataContext="{d:DesignInstance Type=viewmodels:OeeDebugPageViewModel}"
- d:DesignHeight="650"
- d:DesignWidth="800"
- mc:Ignorable="d">
- <Grid>
- <StackPanel HorizontalAlignment="Center">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <StackPanel>
- <hc:TextBox
- hc:InfoElement.Placeholder="IP"
- hc:InfoElement.Title="OEE IP:"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding OeeIp, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="OEE Port"
- hc:InfoElement.Title="OEE Port:"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding OeePort, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="待料间隔时间"
- hc:InfoElement.Title="待料时间间隔(分钟)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding WaitPartDuration, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="停机时间间隔"
- hc:InfoElement.Title="停机时间间隔(分钟)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding StopDuration, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="site"
- hc:InfoElement.Title="site(站点区域)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding Site, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="floor"
- hc:InfoElement.Title="floor(站点楼层)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding Floor, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="Product"
- hc:InfoElement.Title="Product(机种名称)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding Product, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="Line"
- hc:InfoElement.Title="Line(线体名称)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding Line, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="组装制程"
- hc:InfoElement.Title="process(组装制程)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding ProcessOee, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="具体站点"
- hc:InfoElement.Title="terminalid(具体站点)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding TerminalId, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="机台编号"
- hc:InfoElement.Title="michineid(机台编号)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding MachineId, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="物理地址"
- hc:InfoElement.Title="macaddr(物理地址)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding MacAddr, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="本地MES地址"
- hc:InfoElement.Title="ipaddr(本地MES地址)"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding IpAddr, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="OPID"
- hc:InfoElement.Title="OPID"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding Op_Id, UpdateSourceTrigger=PropertyChanged}" />
- <hc:TextBox
- hc:InfoElement.Placeholder="Status"
- hc:InfoElement.Title="Status"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- Text="{Binding Status, UpdateSourceTrigger=PropertyChanged}" />
- <StackPanel Orientation="Horizontal">
- <hc:TextBox
- Width="380"
- Margin="0,16,0,0"
- hc:InfoElement.Title="保存路径"
- hc:InfoElement.TitlePlacement="Left"
- hc:InfoElement.TitleWidth="120"
- IsEnabled="False"
- Text="{Binding OeePath}" />
- <Button VerticalAlignment="Bottom" Command="{Binding SelectOeeFolderCommand}">...</Button>
- </StackPanel>
- <StackPanel
- Margin="0,16,0,0"
- HorizontalAlignment="Center"
- Orientation="Horizontal">
- <Button
- Margin="10"
- Command="{Binding UploadCommand}"
- Content="稼动率上传" />
- </StackPanel>
- </StackPanel>
- </Grid>
- </StackPanel>
- </Grid>
- </UserControl>
|