我有下面的铁Python的代码将在Spotfire中使用。据我所知,它可以刷新特定的数据表。有一个评论部分似乎有一个计数器。我需要一个关于计数器如何工作以及现有代码是否只是刷新数据表的解释。在
Iron Python代码:
from Spotfire.Dxp.Application import *
from Spotfire.Dxp.Application.Visuals import *
from Spotfire.Dxp.Data import DataManager
myDocument=Application.Document
#myDocument.Properties["RefreshCounter"] = 0
DM = Application.GetService(DataManager)
DM.Tables.Refresh([table1, table2])
在Spotfire中有类似document属性的定义如下。 https://docs.tibco.com/pub/spotfire/7.0.1/doc/html/other/other_details_on_new_edit_document_property.htm 所以开发人员似乎只想计算刷新发生了多少次,但在代码中我看不到他增加计数器的时刻,所以它可能被删除而不是注释掉。只是一个有根据的猜测。在
代码只是刷新表。根据http://spotfired.blogspot.com/2014/10/refresh-reload-datatables.html
相关问题 更多 >
编程相关推荐