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

完成了profile

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