C# Class WareDealer.WareImport

商品导入
Show file Open project: hanksoft/KillJD Class Usage Examples

Public Properties

Property Type Description
EndProcess Action
ShowMessage Action
ShowStep Action

Public Methods

Method Description
GetInstance ( ) : WareImport
ImportWareList ( List webSites ) : void
ImportWareList ( string filePath ) : void

导入商品列表

Private Methods

Method Description
EndImportProcess ( bool bRtn ) : void
ImportWares ( List webSites ) : void

导入商品

Read ( string path ) : List

读取导入列表文件

ShowImportMessage ( string msg ) : void
ShowImportStep ( int iStep ) : void
WareImport ( ) : WareDealer.Helper

Method Details

GetInstance() public static method

public static GetInstance ( ) : WareImport
return WareImport

ImportWareList() public method

public ImportWareList ( List webSites ) : void
webSites List
return void

ImportWareList() public method

导入商品列表
public ImportWareList ( string filePath ) : void
filePath string 文本文件路径
return void

Property Details

EndProcess public property

控制进度条
public Action EndProcess
return Action

ShowMessage public property

控制消息框
public Action ShowMessage
return Action

ShowStep public property

操作进度条
public Action ShowStep
return Action