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

修复 当修改旋转参数,图不会变化的bug

parent 0e41c95a
......@@ -677,7 +677,9 @@ namespace FLY.Thick.Blowing.Server
void RenZiJiaAndFilmPositionDetect_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if ((e.PropertyName == "FilmLength") ||
(e.PropertyName == "RollPerimeter"))
(e.PropertyName == "RollPerimeter")||
(e.PropertyName == "RAngle")
)
{
TouchFilmInfoChanged_lastLimit(4);
}
......
......@@ -1598,8 +1598,8 @@ namespace FLY.Thick.Blowing.Server
ADCell adcell = mADList[idx];
adcell.angles.Clear();
adcell.angles.Add(filminfo.angle1);
adcell.angles.Add(filminfo.angle2);
adcell.direction = filminfo.direction;
adcell.velocity = filminfo.filmVelocity;
adcell.rotationCnt = filminfo.rotationCnt;
......@@ -1624,6 +1624,7 @@ namespace FLY.Thick.Blowing.Server
}
ADCell adcell = mADList[idx];
adcell.angles.Clear();
adcell.angles.Add(filminfo.angle1);
adcell.angles.Add(filminfo.angle2);
adcell.direction = filminfo.direction;
......@@ -1660,6 +1661,7 @@ namespace FLY.Thick.Blowing.Server
mPDetect.GetFilmInfo(out filminfo1, mADList[idx].dt, filmWidth, filmPosH1);
ADCell adcell = mADList[idx];
adcell.angles.Clear();
adcell.angles.Add(filminfo1.angle1);
adcell.angles.Add(filminfo0.angle1);
adcell.angles.Add(filminfo0.angle2);
......
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