Table of Contents

Interface IProjectService

Namespace
AT.Librarys.Container.Service
Assembly
AT.Librarys.Container.dll

工程服务接口

public interface IProjectService : IServiceBase, IModuleBase
Inherited Members
Extension Methods

Properties

AutoStart

自动启动

bool? AutoStart { get; }

Property Value

bool?

DeviceModel

设备信号

string DeviceModel { get; }

Property Value

string

DeviceName

设备名称

string DeviceName { get; }

Property Value

string

IntelliSense

智能提示

List<Assembly> IntelliSense { get; set; }

Property Value

List<Assembly>

QuickToolbarVisibleDataQueryButton

数据查询按钮 显示快速工具栏

ToolbarVisible QuickToolbarVisibleDataQueryButton { get; }

Property Value

ToolbarVisible

QuickToolbarVisibleMessage

日志 显示快速工具栏

bool? QuickToolbarVisibleMessage { get; }

Property Value

bool?

QuickToolbarVisibleStartButton

启动按钮 显示快速工具栏

ToolbarVisible QuickToolbarVisibleStartButton { get; }

Property Value

ToolbarVisible

QuickToolbarVisibleStationDebugButton

工位调试按钮 显示快速工具栏

ToolbarVisible QuickToolbarVisibleStationDebugButton { get; }

Property Value

ToolbarVisible

SoftwareVersion

软件版本

string SoftwareVersion { get; }

Property Value

string

SolutionName

解决方案名称

string SolutionName { get; }

Property Value

string

ToolbarVisibleDataQueryButton

数据查询按钮 显示工具栏

ToolbarVisible ToolbarVisibleDataQueryButton { get; }

Property Value

ToolbarVisible

ToolbarVisibleMessage

日志 显示工具栏

bool? ToolbarVisibleMessage { get; }

Property Value

bool?

ToolbarVisibleStartButton

启动按钮 显示工具栏

ToolbarVisible ToolbarVisibleStartButton { get; }

Property Value

ToolbarVisible

ToolbarVisibleStationDebugButton

工位调试按钮 显示工具栏

ToolbarVisible ToolbarVisibleStationDebugButton { get; }

Property Value

ToolbarVisible

Methods

AddNameExist(string)

添加工位工具名称已经存在

bool AddNameExist(string name)

Parameters

name string

Returns

bool

AddStation(RefModuleInfo)

添加工位

bool AddStation(RefModuleInfo moduleInfo)

Parameters

moduleInfo RefModuleInfo

模块信息

Returns

bool

AddToolkit(string, RefModuleInfo)

添加工具

bool AddToolkit(string stationName, RefModuleInfo moduleInfo)

Parameters

stationName string

父节点名称

moduleInfo RefModuleInfo

模块信息

Returns

bool

CloseView()

关闭界面

void CloseView()

ConstructorUpdateInstance()

构造或更新实例

bool ConstructorUpdateInstance()

Returns

bool

DeleteStation(string, string)

删除工位

bool DeleteStation(string stationName, string instanceName)

Parameters

stationName string

工位名

instanceName string

实例名

Returns

bool

DeleteToolkit(string, string)

删除工具

bool DeleteToolkit(string stationName, string instanceName)

Parameters

stationName string

工位名

instanceName string

实例名

Returns

bool

DisposeInstance()

释放实例

bool DisposeInstance()

Returns

bool

GetFollowProductModelStation(string)

查询工位是否克隆配置

bool? GetFollowProductModelStation(string stationName)

Parameters

stationName string

工位名称

Returns

bool?

GetItemsName()

获取解决方案项名称集合

List<string> GetItemsName()

Returns

List<string>

GetRuningTime()

获取运行时间

TimeSpan? GetRuningTime()

Returns

TimeSpan?

GetSetQuickToolbar()

获取工具栏显示设置

List<UIControlInfo> GetSetQuickToolbar()

Returns

List<UIControlInfo>

GetSetToolbar()

获取工具栏设置

List<UIControlInfo> GetSetToolbar()

Returns

List<UIControlInfo>

GetSetUI()

获取界面显示设置

List<UIControlInfo> GetSetUI()

Returns

List<UIControlInfo>

GetStationName()

获取工位名称

List<string> GetStationName()

Returns

List<string>

GetStatus()

获取状态

Status GetStatus()

Returns

Status

OnSolutionChange()

解决方案发生改变

void OnSolutionChange()

SaveSolutionConfig()

保存解决方案

bool SaveSolutionConfig()

Returns

bool

ShowVersionHistoryEditeView()

显示版本历史界面

void ShowVersionHistoryEditeView()

ShowVersionHistoryView()

显示版本历史界面

void ShowVersionHistoryView()

ShowView()

显示界面

void ShowView()

Start()

启动工位

bool Start()

Returns

bool

Start(string)

启动工位

bool Start(string name)

Parameters

name string

名称

Returns

bool

Stop()

停止

bool Stop()

Returns

bool

Stop(string)

停止

bool Stop(string name)

Parameters

name string

名称

Returns

bool

Events

AddOrDelte

添加或删除

event EventHandler<AddOrDelteEvetArgs> AddOrDelte

Event Type

EventHandler<AddOrDelteEvetArgs>

ConstructorFinish

构造完成时触发

event EventHandler<StatusChangeEventArgs> ConstructorFinish

Event Type

EventHandler<StatusChangeEventArgs>

SolutionChange

解决方案发生改变

event EventHandler<EventArgs> SolutionChange

Event Type

EventHandler<EventArgs>

SolutionConfigChange

解决方案配置发生改变

event EventHandler<EventArgs> SolutionConfigChange

Event Type

EventHandler<EventArgs>

StatusChange

状态改变事件

event EventHandler<StatusChangeEventArgs> StatusChange

Event Type

EventHandler<StatusChangeEventArgs>

StatusChangeSolutionItem

解决方案项状态改变事件

event EventHandler<StatusChangeEventArgs> StatusChangeSolutionItem

Event Type

EventHandler<StatusChangeEventArgs>