Commit fc6802d9 authored by 潘栩锋's avatar 潘栩锋 🚴

添加测袋模式

parent 72dc1b2b
......@@ -265,7 +265,6 @@ __pycache__/
*_bak.afs
*.EOH
Gage1/
Generated/
# 生成的安装包
和美安装包/
......
......@@ -125,6 +125,9 @@
<Compile Include="UIModule\ScanGraphCircularConfig.xaml.cs">
<DependentUpon>ScanGraphCircularConfig.xaml</DependentUpon>
</Compile>
<Compile Include="Window_ProfileLegend.xaml.cs">
<DependentUpon>Window_ProfileLegend.xaml</DependentUpon>
</Compile>
<Page Include="Culture\StringResource.en-US.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
......@@ -169,6 +172,10 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Window_ProfileLegend.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
......@@ -282,6 +289,10 @@
<ItemGroup>
<Resource Include="FodyWeavers.xml" />
</ItemGroup>
<ItemGroup>
<Resource Include="Image\bag.jpg" />
<Resource Include="Image\normal.jpg" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\packages\Fody.3.2.13\build\Fody.targets" Condition="Exists('..\..\packages\Fody.3.2.13\build\Fody.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
......
......@@ -98,12 +98,28 @@
</ComboBox>
</StackPanel>
<Button Style="{StaticResource ButtonStyle_empty}" Margin="5" Click="button_legend_Click" >
<Button Margin="5" Click="button_legend_Click" >
<Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource ButtonStyle_empty}">
<Setter Property="Visibility" Value="Hidden"/>
<Style.Triggers>
<DataTrigger Binding="{Binding MMode}" Value="Bag">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
<DataTrigger Binding="{Binding MMode}" Value="Normal">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Button.Style>
<Grid Style="{StaticResource GridStyle_ButtonShadow}">
<Rectangle Fill="White" Height="48"/>
<Path Data="{StaticResource Geometry_legend}" Fill="{StaticResource Color_theme_activity}" Stretch="Uniform" Width="60" Height="60"/>
<TextBlock Text="图例" Padding="3,2" Foreground="White" FontWeight="Bold" VerticalAlignment="Bottom" HorizontalAlignment="Center" Background="{StaticResource Color_theme_activity}" FontSize="12"/>
</Grid>
</Button>
</StackPanel>
......
......@@ -3,7 +3,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:FLY.IBC.UI.Client"
xmlns:flyctrllib="clr-namespace:FLY.ControlLibrary;assembly=FLY.ControlLibrary"
xmlns:common="clr-namespace:FLY.Thick.Blowing.Common;assembly=FLY.Thick.Blowing"
mc:Ignorable="d"
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Reflection;
using System.Diagnostics;
using System.Windows.Media;
namespace FLY.IBC.Common
{
public class IBCData:INotifyPropertyChanged
{
public IBCData()
{
}
/// <summary>
/// 与PLC连接状态
/// </summary>
public bool IsConnectedWithPLC { get; set; }
#region 辅助代码生成
/// <summary>
/// 进风指示
/// </summary>
public bool IsInletAirOn { get; set; }
/// <summary>
/// 进风运行频率(Hz)(自动调节)
/// </summary>
public float InletAirFreq { get; set; }
/// <summary>
/// 进风设定频率(Hz)
/// </summary>
public float InletAirFreqSet { get; set; }
/// <summary>
/// 出风指示
/// </summary>
public bool IsOutletAirOn { get; set; }
/// <summary>
/// 出风运行频率(Hz)
/// </summary>
public float OutletAirFreq { get; set; }
/// <summary>
/// 出风设定频率(Hz)
/// </summary>
public float OutletAirFreqSet { get; set; }
/// <summary>
/// 出风设定频率后通知
/// </summary>
public bool IsOutletAirFreqChanged { get; set; }
/// <summary>
/// 折径显示(mm)
/// </summary>
public float FilmWidth { get; set; }
/// <summary>
/// 折径设定(mm)
/// </summary>
public float FilmWidthSet { get; set; }
/// <summary>
/// 折径设定后通知
/// </summary>
public bool IsFilmWidthChanged { get; set; }
/// <summary>
/// 误差校正
/// </summary>
public float ErrorCorrection { get; set; }
/// <summary>
/// IBC自动
/// </summary>
public bool IsIBCAuto { get; set; }
/// <summary>
/// K1
/// </summary>
public float K1 { get; set; }
/// <summary>
/// K2
/// </summary>
public float K2 { get; set; }
/// <summary>
/// K3
/// </summary>
public float K3 { get; set; }
/// <summary>
/// L
/// </summary>
public float L { get; set; }
/// <summary>
/// 膜泡校正A
/// </summary>
public float BubbleCorrA { get; set; }
/// <summary>
/// 膜泡校正B
/// </summary>
public float BubbleCorrB { get; set; }
/// <summary>
/// 膜泡校正C
/// </summary>
public float BubbleCorrC { get; set; }
/// <summary>
/// 膜泡校正R
/// </summary>
public float BubbleCorrR { get; set; }
/// <summary>
/// 采样周期
/// </summary>
public float SampleInterval { get; set; }
/// <summary>
/// 区间1设置
/// </summary>
public float Area1Set { get; set; }
/// <summary>
/// 区间1P
/// </summary>
public float Area1P { get; set; }
/// <summary>
/// 区间1I
/// </summary>
public float Area1I { get; set; }
/// <summary>
/// 区间1D
/// </summary>
public float Area1D { get; set; }
/// <summary>
/// 区间1DI
/// </summary>
public float Area1DI { get; set; }
/// <summary>
/// 调节系数
/// </summary>
public float AdjustFactor { get; set; }
/// <summary>
/// PID结果
/// </summary>
public float PIDResult { get; set; }
/// <summary>
/// PID调节
/// </summary>
public float PIDAdjust { get; set; }
/// <summary>
/// 进风速度
/// </summary>
public float InletAirVelocity { get; set; }
/// <summary>
/// 出风速度
/// </summary>
public float OutletAirVelocity { get; set; }
/// <summary>
/// 区间2设置
/// </summary>
public float Area2Set { get; set; }
/// <summary>
/// 区间2P
/// </summary>
public float Area2P { get; set; }
/// <summary>
/// 区间2I
/// </summary>
public float Area2I { get; set; }
/// <summary>
/// 区间2D
/// </summary>
public float Area2D { get; set; }
/// <summary>
/// 传感器1盲区
/// </summary>
public float Sensor1DeadZone { get; set; }
/// <summary>
/// 传感器2盲区
/// </summary>
public float Sensor2DeadZone { get; set; }
/// <summary>
/// 传感器3盲区
/// </summary>
public float Sensor3DeadZone { get; set; }
/// <summary>
/// 传感器1系数
/// </summary>
public float Sensor1Factor { get; set; }
/// <summary>
/// 传感器2系数
/// </summary>
public float Sensor2Factor { get; set; }
/// <summary>
/// 传感器3系数
/// </summary>
public float Sensor3Factor { get; set; }
/// <summary>
/// 进风变频故障报警
/// </summary>
public bool IsInletAirMotorError { get; set; }
/// <summary>
/// 出风变频故障报警
/// </summary>
public bool IsOutletAirMotorError { get; set; }
/// <summary>
/// 进风变频通讯报警
/// </summary>
public bool IsInletAirCommError { get; set; }
/// <summary>
/// 出风变频通讯报警
/// </summary>
public bool IsOutletAirCommError { get; set; }
#endregion
public event PropertyChangedEventHandler PropertyChanged;
}
}
<?xml version="1.0" encoding="utf-8"?>
<PLCGroup>
<Devices>
<PLCDevice EP="192.168.50.30:502" />
</Devices>
<Variables>
<PLCVariable DeviceIndex="0" Mode="0" Addr="64513" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsInletAirOn" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="6120" Type="uint16" Scale="0.1" OwnerName="Item" PropertyName="InletAirFreq" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="3200" Type="uint16" Scale="0.1" OwnerName="Item" PropertyName="InletAirFreqSet" />
<PLCVariable DeviceIndex="0" Mode="0" Addr="64514" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsOutletAirOn" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="6220" Type="uint16" Scale="0.1" OwnerName="Item" PropertyName="OutletAirFreq" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="592" Type="uint16" Scale="0.1" OwnerName="Item" PropertyName="OutletAirFreqSet" />
<PLCVariable DeviceIndex="0" Mode="0" Addr="99" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsOutletAirFreqChanged" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="668" Type="uint16" Scale="1" OwnerName="Item" PropertyName="FilmWidth" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="230" Type="uint16" Scale="1" OwnerName="Item" PropertyName="FilmWidthSet" />
<PLCVariable DeviceIndex="0" Mode="0" Addr="800" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsFilmWidthChanged" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="340" Type="int16" Scale="1" OwnerName="Item" PropertyName="ErrorCorrection" />
<PLCVariable DeviceIndex="0" Mode="0" Addr="659" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsIBCAuto" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1140" Type="uint16" Scale="1" OwnerName="Item" PropertyName="K1" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1142" Type="uint16" Scale="1" OwnerName="Item" PropertyName="K2" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1144" Type="uint16" Scale="1" OwnerName="Item" PropertyName="K3" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="250" Type="float" Scale="1" OwnerName="Item" PropertyName="L" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="18" Type="float" Scale="1" OwnerName="Item" PropertyName="BubbleCorrA" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="28" Type="float" Scale="1" OwnerName="Item" PropertyName="BubbleCorrB" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="38" Type="float" Scale="1" OwnerName="Item" PropertyName="BubbleCorrC" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="102" Type="float" Scale="1" OwnerName="Item" PropertyName="BubbleCorrR" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="300" Type="uint16" Scale="0.1" OwnerName="Item" PropertyName="SampleInterval" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="304" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area1Set" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1001" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area1P" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1002" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area1I" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1003" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area1D" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1004" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area1DI" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="2550" Type="uint16" Scale="0.01" OwnerName="Item" PropertyName="AdjustFactor" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="2050" Type="int16" Scale="1" OwnerName="Item" PropertyName="PIDResult" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="2052" Type="int16" Scale="1" OwnerName="Item" PropertyName="PIDAdjust" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="710" Type="uint16" Scale="1" OwnerName="Item" PropertyName="InletAirVelocity" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="712" Type="uint16" Scale="1" OwnerName="Item" PropertyName="OutletAirVelocity" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="306" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area2Set" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1201" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area2P" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1202" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area2I" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="1203" Type="uint16" Scale="1" OwnerName="Item" PropertyName="Area2D" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="420" Type="float" Scale="1" OwnerName="Item" PropertyName="Sensor1DeadZone" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="430" Type="float" Scale="1" OwnerName="Item" PropertyName="Sensor2DeadZone" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="440" Type="float" Scale="1" OwnerName="Item" PropertyName="Sensor3DeadZone" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="200" Type="float" Scale="1" OwnerName="Item" PropertyName="Sensor1Factor" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="400" Type="float" Scale="1" OwnerName="Item" PropertyName="Sensor2Factor" />
<PLCVariable DeviceIndex="0" Mode="4" Addr="410" Type="float" Scale="1" OwnerName="Item" PropertyName="Sensor3Factor" />
<PLCVariable DeviceIndex="0" Mode="1" Addr="63496" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsInletAirMotorError" />
<PLCVariable DeviceIndex="0" Mode="1" Addr="63497" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsOutletAirMotorError" />
<PLCVariable DeviceIndex="0" Mode="0" Addr="403" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsInletAirCommError" />
<PLCVariable DeviceIndex="0" Mode="0" Addr="404" Type="bool" Scale="1" OwnerName="Item" PropertyName="IsOutletAirCommError" />
</Variables>
</PLCGroup>
\ No newline at end of file
$root_path = $PSScriptRoot
$src_path = $root_path + "\WS.xml"
$dest_path = $root_path + "\..\..\..\..\Project.FLY.IBC\FLY.IBC.UI.Server\bin\Debug\Gage1\WS.xml"
echo WS.xml
cp $src_path $dest_path
echo Ƴɹ
pause
\ No newline at end of file
This diff is collapsed.

using System.ComponentModel;
namespace FLY.Winder.Common
{
public class WinderAccessory : INotifyPropertyChanged
{
public WinderAccessory()
{
}
#region 辅助代码生成
/// <summary>
/// 设定速度(m/min)
/// </summary>
public float VelocitySet { get; set; }
/// <summary>
/// 速度确定(┷)
/// </summary>
public bool IsVelocityChanged { get; set; }
/// <summary>
/// 速度显示(m/min)
/// </summary>
public float Velocity { get; set; }
/// <summary>
/// 上牵引电机电流(A)
/// </summary>
public float Traction1Current { get; set; }
/// <summary>
/// 上牵引开启显示
/// </summary>
public bool IsTraction1On { get; set; }
/// <summary>
/// 上牵引开启设置
/// </summary>
public bool IsTraction1OnSet { get; set; }
/// <summary>
/// 二牵引设定张力(kg)
/// </summary>
public float Traction2TensionKgSet { get; set; }
/// <summary>
/// 二牵引实际张力(kg)
/// </summary>
public float Traction2TensionKg { get; set; }
/// <summary>
/// 二牵引电机电流(A)
/// </summary>
public float Traction2Current { get; set; }
/// <summary>
/// 二牵引手动
/// </summary>
public bool IsTraction2Manual { get; set; }
/// <summary>
/// 二牵引开启显示
/// </summary>
public bool IsTraction2On { get; set; }
/// <summary>
/// 二牵引开启设置
/// </summary>
public bool IsTraction2OnSet { get; set; }
/// <summary>
/// 旋转塔正转
/// </summary>
public bool IsRotaryForw { get; set; }
/// <summary>
/// 旋转塔反转
/// </summary>
public bool IsRotaryBackw { get; set; }
/// <summary>
/// 旋转塔正向机械限位
/// </summary>
public bool IsRotaryForwLimit { get; set; }
/// <summary>
/// 旋转塔正转换向限位
/// </summary>
public bool IsRotaryForwTurn { get; set; }
/// <summary>
/// 旋转塔复位原点限位
/// </summary>
public bool IsRotaryOrgSign { get; set; }
/// <summary>
/// 旋转塔反向机械限位
/// </summary>
public bool IsRotaryBackwLimit { get; set; }
/// <summary>
/// 旋转塔反转换向限位
/// </summary>
public bool IsRotaryBackwTurn { get; set; }
/// <summary>
/// 旋转塔电机频率设定(Hz)
/// </summary>
public float RotaryFreqSet { get; set; }
/// <summary>
/// 旋转塔电机频率确定
/// </summary>
public bool IsRotaryFreqChanged { get; set; }
/// <summary>
/// 旋转塔电机频率显示(Hz)
/// </summary>
public float RotaryFreq { get; set; }
/// <summary>
/// 旋转塔电机电流(A)
/// </summary>
public float RotaryCurrent { get; set; }
/// <summary>
/// 旋转塔复位指示
/// </summary>
public bool IsRotaryOrg { get; set; }
/// <summary>
/// 旋转塔复位(┷)
/// </summary>
public bool RotaryOrg { get; set; }
/// <summary>
/// 旋转塔开启指示
/// </summary>
public bool IsRotaryOn { get; set; }
/// <summary>
/// 旋转塔开启(┷)
/// </summary>
public bool RotaryOn { get; set; }
/// <summary>
/// 一牵引调试On
/// </summary>
public bool IsTraction1Debug { get; set; }
/// <summary>
/// 一牵引辊筒直径
/// </summary>
public float Traction1RollerD { get; set; }
/// <summary>
/// 一牵引传动速比
/// </summary>
public float Traction1GearRatio { get; set; }
/// <summary>
/// 一牵引同步速度
/// </summary>
public float Traction1SyncV { get; set; }
/// <summary>
/// 一牵引实际速度
/// </summary>
public float Traction1Velocity { get; set; }
/// <summary>
/// 二牵引张力反馈
/// </summary>
public float Traction2Tension { get; set; }
/// <summary>
/// 二牵引张力设定
/// </summary>
public float Traction2TensionSet { get; set; }
/// <summary>
/// 二牵引增益设定
/// </summary>
public float Traction2Gain { get; set; }
/// <summary>
/// 二牵引积分时间
/// </summary>
public float Traction2ITime { get; set; }
/// <summary>
/// 二牵引调节系数
/// </summary>
public float Traction2Factor { get; set; }
/// <summary>
/// 二牵引辊筒直径
/// </summary>
public float Traction2RollerD { get; set; }
/// <summary>
/// 二牵引传动速比
/// </summary>
public float Traction2GearRatio { get; set; }
/// <summary>
/// 二牵引PID结果
/// </summary>
public float Traction2PIDResult { get; set; }
/// <summary>
/// 二牵引PID调节
/// </summary>
public float Traction2PIDAdjust { get; set; }
/// <summary>
/// 二牵引同步速度
/// </summary>
public float Traction2SyncV { get; set; }
/// <summary>
/// 二牵引实际速度
/// </summary>
public float Traction2Velocity { get; set; }
/// <summary>
/// 速度系数
/// </summary>
public float VelocityFactor { get; set; }
/// <summary>
/// 加减时间
/// </summary>
public float AccDecTime { get; set; }
/// <summary>
/// 二牵引升降增益
/// </summary>
public float Traction2LiftGain { get; set; }
/// <summary>
/// 张力检测设定
/// </summary>
public float TensionDetection { get; set; }
/// <summary>
/// 收卷计米辊周长(mm)
/// </summary>
public float WinderMeasurePerimeter { get; set; }
/// <summary>
/// 张力检测量程(kg)
/// </summary>
public float TensionDetectionRange { get; set; }
/// <summary>
/// 主牵引风机过载报警!!!请检查(OFF)
/// </summary>
public bool IsError_Traction1Fan { get; set; }
/// <summary>
/// 主牵引变频故障报警!!!请检查(OFF)
/// </summary>
public bool IsError_Traction1VFD { get; set; }
/// <summary>
/// 二牵引变频故障报警!!!请检查(OFF)
/// </summary>
public bool IsError_Traction2VFD { get; set; }
/// <summary>
/// 二牵引风机过载报警!!!请检查(OFF)
/// </summary>
public bool IsError_Traction2Fan { get; set; }
/// <summary>
/// 旋转塔变频故障报警!!!请检查(OFF)
/// </summary>
public bool IsError_RotaryVFD { get; set; }
/// <summary>
/// 旋转塔风机过载报警!!!请检查(OFF)
/// </summary>
public bool IsError_RotaryFan { get; set; }
/// <summary>
/// 二牵引拉线急停开启!!!请复位(OFF)
/// </summary>
public bool IsError_Traction2Scram { get; set; }
/// <summary>
/// 电柜急停开启!!!请复位(OFF)
/// </summary>
public bool IsError_Scram { get; set; }
/// <summary>
/// 主牵引拉线急停开启!!!请复位(OFF)
/// </summary>
public bool IsError_Traction1Scram { get; set; }
/// <summary>
/// 客户急停开启!!!请复位(OFF)
/// </summary>
public bool IsError_CustomerScram { get; set; }
/// <summary>
/// 旋转塔正转已到极限位!!!请检查(OFF)
/// </summary>
public bool IsError_RotaryForwLimit { get; set; }
/// <summary>
/// 旋转塔反转已到极限位!!!请检查(OFF)
/// </summary>
public bool IsError_RotaryBackwLimit { get; set; }
/// <summary>
/// 转塔正向极限锁定!!!请解除(ON)
/// </summary>
public bool IsError_RotaryForwLock { get; set; }
/// <summary>
/// 转塔反向极限锁定!!!请解除(ON)
/// </summary>
public bool IsError_RotaryBackwLock { get; set; }
#endregion
public event PropertyChangedEventHandler PropertyChanged;
}
}

using System.ComponentModel;
namespace FLY.Winder.Common
{
public class WinderInsideOutside : INotifyPropertyChanged
{
#region 辅助代码生成
/// <summary>
/// 收卷实际m
/// </summary>
public float MeasureLen { get; set; }
/// <summary>
/// 收卷设定m
/// </summary>
public float MeasureLenSet { get; set; }
/// <summary>
/// 收卷预警m
/// </summary>
public float MeasurePreWarning { get; set; }
/// <summary>
/// 收卷计量关
/// </summary>
public bool MeasureStop { get; set; }
/// <summary>
/// 收卷计量清零(┷)
/// </summary>
public bool MeasureReset { get; set; }
/// <summary>
/// 收卷翻转点动(┷)
/// </summary>
public bool TurnoverInching { get; set; }
/// <summary>
/// 收卷切膜飞刀(┷)
/// </summary>
public bool CuttingFilm { get; set; }
/// <summary>
/// 收卷翻转原点(┷)
/// </summary>
public bool TurnoverOrg { get; set; }
/// <summary>
/// 收卷压臂平移(┷)
/// </summary>
public bool PressureArmOffset { get; set; }
/// <summary>
/// 收卷翻转上位等待(s)
/// </summary>
public float TurnoverUpperWait { get; set; }
/// <summary>
/// 收卷翻转原点延时(s)
/// </summary>
public float TurnoverOrgDelay { get; set; }
/// <summary>
/// 收卷翻转返回延时(s)
/// </summary>
public float TurnoverBackDelay { get; set; }
/// <summary>
/// 收卷锯齿切膜延时(s)
/// </summary>
public float CuttingFilmDelay { get; set; }
/// <summary>
/// 收卷锯齿切膜时间(s)
/// </summary>
public float CuttingFilmElapsed { get; set; }
/// <summary>
/// 收卷压臂返回时间(s)
/// </summary>
public float PressureArmBackElapsed { get; set; }
/// <summary>
/// 收卷气涨轴检测报警(s)
/// </summary>
public float AirRollerCheck { get; set; }
/// <summary>
/// 收卷一次平移时间(s)
/// </summary>
public float OffsetElapsed { get; set; }
/// <summary>
/// 收卷平移停顿时间(s)
/// </summary>
public float ElapsedWait { get; set; }
/// <summary>
/// 收卷接料限幅
/// </summary>
public float TapeLimit { get; set; }
/// <summary>
/// 收卷设定张力(kg)
/// </summary>
public float TensionKgSet { get; set; }
/// <summary>
/// 收卷实际张力(kg)
/// </summary>
public float TensionKg { get; set; }
/// <summary>
/// 收卷电机电流(A)
/// </summary>
public float Current { get; set; }
/// <summary>
/// 收卷手动
/// </summary>
public bool IsManual { get; set; }
/// <summary>
/// 收卷开启显示
/// </summary>
public bool IsOn { get; set; }
/// <summary>
/// 收卷开启设置
/// </summary>
public bool IsOnSet { get; set; }
/// <summary>
/// 收卷张力反馈
/// </summary>
public float Tension { get; set; }
/// <summary>
/// 收卷张力设定
/// </summary>
public float TensionSet { get; set; }
/// <summary>
/// 收卷增益设定
/// </summary>
public float Gain { get; set; }
/// <summary>
/// 收卷积分时间
/// </summary>
public float ITime { get; set; }
/// <summary>
/// 收卷调节系数
/// </summary>
public float Factor { get; set; }
/// <summary>
/// 收卷辊筒直径
/// </summary>
public float RollerD { get; set; }
/// <summary>
/// 收卷传动速比
/// </summary>
public float GearRatio { get; set; }
/// <summary>
/// 收卷PID结果
/// </summary>
public float PIDResult { get; set; }
/// <summary>
/// 收卷PID调节
/// </summary>
public float PIDAdjust { get; set; }
/// <summary>
/// 收卷同步速度
/// </summary>
public float SyncV { get; set; }
/// <summary>
/// 收卷实际速度
/// </summary>
public float Velocity { get; set; }
/// <summary>
/// 收卷升降增益
/// </summary>
public float LiftGain { get; set; }
/// <summary>
/// 收卷速度补偿
/// </summary>
public float VelocityComp { get; set; }
/// <summary>
/// 收卷变频故障报警!!!请检查(OFF)
/// </summary>
public bool IsError_VFD { get; set; }
/// <summary>
/// 收卷风机过载报警!!!请检查(OFF)
/// </summary>
public bool IsError_Fan { get; set; }
/// <summary>
/// 收翻转刀架过载报警!!!请检查(OFF)
/// </summary>
public bool IsError_Turnover { get; set; }
/// <summary>
/// 收卷急停开启!!!请复位(OFF)
/// </summary>
public bool IsError_Scram { get; set; }
/// <summary>
/// 收卷换卷气涨轴检测未到位报警!!!请检查(ON)
/// </summary>
public bool IsError_AirRollerNoReady { get; set; }
/// <summary>
/// 收预警长度报警!!!请准备换卷(ON)
/// </summary>
public bool IsError_MeasurePreWarning { get; set; }
/// <summary>
/// 收卷换卷提醒报警!!!请注意安全(ON)
/// </summary>
public bool IsError_ChangeRoll { get; set; }
/// <summary>
/// 收卸料臂检测报警(ON)
/// </summary>
public bool IsError_UnloadArm { get; set; }
#endregion
public event PropertyChangedEventHandler PropertyChanged;
}
}
$root_path = $PSScriptRoot
$src_path = $root_path + "\WS.xml"
$dest_dir = $root_path + "\..\..\..\..\Project.FLY.Winder\FLY.Winder.UI.Server\bin\Debug\Gage1"
$dest_path = $dest_dir + "\WS.xml"
if(-not (Test-Path $dest_dir))
{
echo $dest_dir
mkdir $dest_dir
}
echo WS.xml
cp $src_path $dest_path
echo Ƴɹ
pause
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace FLY.Weight.Common
{
public class WeighterAccessory:INotifyPropertyChanged
{
#region 辅助代码生成
#endregion
}
}
$root_path = $PSScriptRoot
$src_path = $root_path + "\WS.xml"
$dest_dir = $root_path + "\..\..\..\..\Project.FLY.Weight\FLY.Weight.UI.Server\bin\Debug\Gage1"
$dest_path = $dest_dir + "\WS.xml"
if(-not (Test-Path $dest_dir))
{
echo $dest_dir
mkdir $dest_dir
}
echo WS.xml
cp $src_path $dest_path
echo Ƴɹ
pause
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment