Interface IProductModelService
产品型号服务接口
public interface IProductModelService : IServiceBase, IModuleBase
- Inherited Members
- Extension Methods
Properties
CurrentProductModel
当前产品型号
string CurrentProductModel { get; set; }
Property Value
ProductModels
产品型号集合
List<string> ProductModels { get; }
Property Value
StandardModel
基准产品型号
string StandardModel { get; set; }
Property Value
Methods
Add(string)
添加产品型号(已存在的不添加)
bool Add(string productType)
Parameters
productTypestring产品类型
Returns
Delete(string)
删除产品型号
bool Delete(string productType)
Parameters
productTypestring产品类型
Returns
ReadConfig<T>(string)
根据产品型号读取配置,如果配置不存在,则克隆基准产品型号配置.
T ReadConfig<T>(string stationName) where T : ConfigBase, new()
Parameters
stationNamestring工位名称
Returns
- T
Type Parameters
T具体类型
SetProductModel(string)
设置产品型号
bool SetProductModel(string curProductModel)
Parameters
curProductModelstring
Returns
ShowEditView()
显示编辑界面
void ShowEditView()
Events
CurrentProductModelChangle
产品型号发生改变
event EventHandler CurrentProductModelChangle