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

完成了profile

parent 45ca1529
......@@ -745,55 +745,35 @@ namespace FLY.Thick.Blowing.Server
#endregion
#region 吹膜定点解方程用
private bool solveenable = false;
/// <summary>
/// 使能定点解方程
/// </summary>
public bool SolveEnable
{
get { return solveenable; }
set
{
if (solveenable != value)
{
solveenable = value;
NotifyPropertyChanged("SolveEnable");
}
}
}
private int filmWidth = 1500;
public bool SolveEnable { get; set; } = false;
/// <summary>
/// 膜宽 单位 mm
/// </summary>
public int FilmWidth
{
get { return filmWidth; }
set
{
if (filmWidth != value)
{
filmWidth = value;
NotifyPropertyChanged("FilmWidth");
}
}
}
public int FilmWidth { get; set; } = 1500;
private int filmPosH = 70;
/// <summary>
/// 探头所在膜的横向位置 单位 mm
/// </summary>
public int FilmPosH
{
get { return filmPosH; }
set
{
if (filmPosH != value)
{
filmPosH = value;
NotifyPropertyChanged("FilmPosH");
}
}
}
public int FilmPosH { get; set; } = 70;
/// <summary>
/// 袋测量模式
/// </summary>
public bool IsBag { get; set; } = false;
/// <summary>
/// 探头测量位置,袋折叠的宽度 单位 mm
/// </summary>
public int BagFold0 { get; set; } = 405;
/// <summary>
/// 另一端 袋折叠的宽度 单位 mm
/// </summary>
public int BagFold1 { get; set; } = 415;
#endregion
......
......@@ -210,6 +210,10 @@ namespace FLY.Thick.Blowing.Server
Misc.BindingOperations.SetBinding(mProfile.Param, "SolveEnable", mGMRenZiJiaFix, "SolveEnable");
Misc.BindingOperations.SetBinding(mProfile.Param, "FilmWidth", mGMRenZiJiaFix, "FilmWidth");
Misc.BindingOperations.SetBinding(mProfile.Param, "FilmPosH", mGMRenZiJiaFix, "FilmPosH");
Misc.BindingOperations.SetBinding(mProfile.Param, "IsBag", mGMRenZiJiaFix, "IsBag");
Misc.BindingOperations.SetBinding(mProfile.Param, "BagFold0", mGMRenZiJiaFix, "BagFold0");
Misc.BindingOperations.SetBinding(mProfile.Param, "BagFold1", mGMRenZiJiaFix, "BagFold1");
Misc.BindingOperations.SetBinding(mGMRenZiJiaFix.mPDetect, "FilmVelocity", mDynArea, "FilmVelocity");
mGMManager.AddGM(mGMRenZiJiaFix);
......
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