Commit 61c63576 by wangonghui

修改最后大屏上版子bug

parent a4b35fb0
...@@ -47,29 +47,28 @@ namespace VIZ.Package.Module ...@@ -47,29 +47,28 @@ namespace VIZ.Package.Module
this.vizCommandService.SetEnabledUpdate(conn, false); this.vizCommandService.SetEnabledUpdate(conn, false);
try try
{ {
//开始动画
this.vizCommandService.Start(conn, ApplicationDomainEx.CurrentPage.Layer, ApplicationDomainEx.CurrentPage.ScenePath);
//调整上包装顺序 //调整上包装顺序
if (obj != null) if (obj != null&&view==null)
{ {
this.vizCommandControlObjectService.SetControlObject(conn, obj, newPageBase.GetVizScene()); this.vizCommandControlObjectService.SetControlObject(conn, obj, newPageBase.GetVizScene());
this.vizCommandControlObjectService.SetCustomControlFieldValue(conn, obj.AllFiledNodes); this.vizCommandControlObjectService.SetCustomControlFieldValue(conn, obj.AllFiledNodes);
} }
// 清楚板子上的信息
this.vizCommandService.SetCue(conn, ApplicationDomainEx.CurrentPage.ScenePath); this.vizCommandService.SetCue(conn, ApplicationDomainEx.CurrentPage.ScenePath);
this.vizCommandService.Start(conn, ApplicationDomainEx.CurrentPage.Layer, ApplicationDomainEx.CurrentPage.ScenePath);
//开始动画
// 设置SetObject 东西
this.vizCommandService.SetObject(conn, ApplicationDomainEx.CurrentPage.ScenePath, ApplicationDomainEx.CurrentPage.Layer);
//更新板子的值的值
if (view != null) if (view != null)
{ {
view.TakIn(conn); view.TakIn(conn);
} }
// 清楚板子上的信息
// 设置SetObject 东西
this.vizCommandService.SetObject(conn, ApplicationDomainEx.CurrentPage.ScenePath, ApplicationDomainEx.CurrentPage.Layer);
} }
catch (Exception ex) catch (Exception ex)
{ {
...@@ -77,6 +76,9 @@ namespace VIZ.Package.Module ...@@ -77,6 +76,9 @@ namespace VIZ.Package.Module
} }
this.vizCommandService.SetEnabledUpdate(conn, true); this.vizCommandService.SetEnabledUpdate(conn, true);
} }
/// <summary> /// <summary>
......
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