C# Class WareDealer.JDListener

京东监听器
用于自动获取数据
Mostrar archivo Open project: hanksoft/KillJD Class Usage Examples

Public Properties

Property Type Description
EndProcess Action
InitProcess Action
ShowMessage Action
ShowStep Action

Public Methods

Method Description
GetFocusThread ( ) : void

登录获取京东商品关注数据

GetInstance ( ) : JDListener
GetJDWareTypesThread ( ) : void

获取京东商品分类

GetWareTypes ( ) : void

获取京东商品分类信息

UpdateWareThread ( ) : void

更新商品信息

UpdateWareThread ( List wares ) : void

更新商品信息

Private Methods

Method Description
EndAutoProcess ( bool bRtn ) : void
GetFocusWare ( ) : void

自动获取关注数据

GetJDTypesThread ( ) : void
InitAutoProcess ( int iLength ) : void
JDListener ( ) : Hank.BrowserParse
ParseSubType ( List sTypes, int iLevel ) : List

解析商品子分类

ShowAutoMessage ( string msg ) : void
ShowAutoStep ( int iStep ) : void
UpdateAllWare ( ) : void

更新数据库中所有商品信息

UpdateBatchThread ( List wares ) : void

批量更新价格线程

默认一个批次50个商品

UpdateThread ( List wares ) : void

更新指定商品集合信息

Method Details

GetFocusThread() public method

登录获取京东商品关注数据
public GetFocusThread ( ) : void
return void

GetInstance() public static method

public static GetInstance ( ) : JDListener
return JDListener

GetJDWareTypesThread() public method

获取京东商品分类
public GetJDWareTypesThread ( ) : void
return void

GetWareTypes() public method

获取京东商品分类信息
public GetWareTypes ( ) : void
return void

UpdateWareThread() public method

更新商品信息
public UpdateWareThread ( ) : void
return void

UpdateWareThread() public method

更新商品信息
public UpdateWareThread ( List wares ) : void
wares List
return void

Property Details

EndProcess public_oe property

线程完成
public Action EndProcess
return Action

InitProcess public_oe property

初始化线程
用于进度条准备工作
public Action InitProcess
return Action

ShowMessage public_oe property

显示消息
public Action ShowMessage
return Action

ShowStep public_oe property

操作进度条
public Action ShowStep
return Action