Interface IProjectService
工程服务接口
public interface IProjectService : IServiceBase, IModuleBase
- Inherited Members
- Extension Methods
Properties
AutoStart
自动启动
bool? AutoStart { get; }
Property Value
- bool?
DeviceModel
设备信号
string DeviceModel { get; }
Property Value
DeviceName
设备名称
string DeviceName { get; }
Property Value
IntelliSense
智能提示
List<Assembly> IntelliSense { get; set; }
Property Value
QuickToolbarVisibleDataQueryButton
数据查询按钮 显示快速工具栏
ToolbarVisible QuickToolbarVisibleDataQueryButton { get; }
Property Value
QuickToolbarVisibleMessage
日志 显示快速工具栏
bool? QuickToolbarVisibleMessage { get; }
Property Value
- bool?
QuickToolbarVisibleStartButton
启动按钮 显示快速工具栏
ToolbarVisible QuickToolbarVisibleStartButton { get; }
Property Value
QuickToolbarVisibleStationDebugButton
工位调试按钮 显示快速工具栏
ToolbarVisible QuickToolbarVisibleStationDebugButton { get; }
Property Value
SoftwareVersion
软件版本
string SoftwareVersion { get; }
Property Value
SolutionName
解决方案名称
string SolutionName { get; }
Property Value
ToolbarVisibleDataQueryButton
数据查询按钮 显示工具栏
ToolbarVisible ToolbarVisibleDataQueryButton { get; }
Property Value
ToolbarVisibleMessage
日志 显示工具栏
bool? ToolbarVisibleMessage { get; }
Property Value
- bool?
ToolbarVisibleStartButton
启动按钮 显示工具栏
ToolbarVisible ToolbarVisibleStartButton { get; }
Property Value
ToolbarVisibleStationDebugButton
工位调试按钮 显示工具栏
ToolbarVisible ToolbarVisibleStationDebugButton { get; }
Property Value
Methods
AddNameExist(string)
添加工位工具名称已经存在
bool AddNameExist(string name)
Parameters
namestring
Returns
AddStation(RefModuleInfo)
添加工位
bool AddStation(RefModuleInfo moduleInfo)
Parameters
moduleInfoRefModuleInfo模块信息
Returns
AddToolkit(string, RefModuleInfo)
添加工具
bool AddToolkit(string stationName, RefModuleInfo moduleInfo)
Parameters
stationNamestring父节点名称
moduleInfoRefModuleInfo模块信息
Returns
CloseView()
关闭界面
void CloseView()
ConstructorUpdateInstance()
构造或更新实例
bool ConstructorUpdateInstance()
Returns
DeleteStation(string, string)
删除工位
bool DeleteStation(string stationName, string instanceName)
Parameters
Returns
DeleteToolkit(string, string)
删除工具
bool DeleteToolkit(string stationName, string instanceName)
Parameters
Returns
DisposeInstance()
释放实例
bool DisposeInstance()
Returns
GetFollowProductModelStation(string)
查询工位是否克隆配置
bool? GetFollowProductModelStation(string stationName)
Parameters
stationNamestring工位名称
Returns
- bool?
GetItemsName()
获取解决方案项名称集合
List<string> GetItemsName()
Returns
GetRuningTime()
获取运行时间
TimeSpan? GetRuningTime()
Returns
GetSetQuickToolbar()
获取工具栏显示设置
List<UIControlInfo> GetSetQuickToolbar()
Returns
GetSetToolbar()
获取工具栏设置
List<UIControlInfo> GetSetToolbar()
Returns
GetSetUI()
获取界面显示设置
List<UIControlInfo> GetSetUI()
Returns
GetStationName()
获取工位名称
List<string> GetStationName()
Returns
GetStatus()
获取状态
Status GetStatus()
Returns
OnSolutionChange()
解决方案发生改变
void OnSolutionChange()
SaveSolutionConfig()
保存解决方案
bool SaveSolutionConfig()
Returns
ShowVersionHistoryEditeView()
显示版本历史界面
void ShowVersionHistoryEditeView()
ShowVersionHistoryView()
显示版本历史界面
void ShowVersionHistoryView()
ShowView()
显示界面
void ShowView()
Start()
启动工位
bool Start()
Returns
Start(string)
启动工位
bool Start(string name)
Parameters
namestring名称
Returns
Stop()
停止
bool Stop()
Returns
Stop(string)
停止
bool Stop(string name)
Parameters
namestring名称
Returns
Events
AddOrDelte
添加或删除
event EventHandler<AddOrDelteEvetArgs> AddOrDelte
Event Type
ConstructorFinish
构造完成时触发
event EventHandler<StatusChangeEventArgs> ConstructorFinish
Event Type
SolutionChange
解决方案发生改变
event EventHandler<EventArgs> SolutionChange
Event Type
SolutionConfigChange
解决方案配置发生改变
event EventHandler<EventArgs> SolutionConfigChange
Event Type
StatusChange
状态改变事件
event EventHandler<StatusChangeEventArgs> StatusChange
Event Type
StatusChangeSolutionItem
解决方案项状态改变事件
event EventHandler<StatusChangeEventArgs> StatusChangeSolutionItem