C# Class Com.Aote.ObjectTools.ICCardObj

Inheritance: CustomTypeHelper, IAsyncObject
Exibir arquivo Open project: DuBin1988/restv2 Class Usage Examples

Public Methods

Method Description
AddZero ( string Source, int len ) : string

卡号自动补零

CSellGas ( ) : void
CardTypeConver ( int cardtype ) : string

卡类型转换

CpuInit ( string cardid, int firstalarm, int secondalarm, int newremnant, int consumerlevel, int usertype, string pricedate, int xs, int gas, string selldate ) : void
CpuSellGas ( ) : void
GYInitCard ( string cardid, int alarm, int constant, int amount, int metertype, int usertype, double money, double pricenow, int pricemodify, double pricenew, string pricedate, int secondalarm, int newremnant, int consumerlevel, int xs, string selldate ) : void
GetCpuEvent ( string EventName ) : dynamic

获得cpu控件方法对象

GetEvent ( string EventName ) : dynamic

获得控件方法对象

GetSellEvent ( string EventName ) : dynamic

获得售气控件方法对象

ICCardObj ( ) : System
MYInitCard ( string cardid, int alarm, int constant, int amount, int metertype, int user_type, double money, double pricenow, int pricemodify, double pricenew, string pricedate, string selldate ) : bool
MakeUp ( ) : void
OnCompleted ( System e ) : void
OnReadCompleted ( System e ) : void
ReInitCard ( ) : void
ReadCard ( ) : void

读卡

ReadCommon ( ) : void

读一般卡

ReturnGas ( ) : void

撤销:cardId, cardgas, cardmoney,selldate

SellGas ( ) : void

Private Methods

Method Description
FactoryTypeConver ( long factoryid ) : string

表类型转换

OpenErrorTip ( int val ) : void
ReadCpu ( ) : void

读cpu卡

ReadNormalCard ( ) : void

读一般卡 ,非cpu卡

ReadWX ( ) : void

读取无线表

Method Details

AddZero() public method

卡号自动补零
public AddZero ( string Source, int len ) : string
Source string
len int
return string

CSellGas() public method

public CSellGas ( ) : void
return void

CardTypeConver() public method

卡类型转换
public CardTypeConver ( int cardtype ) : string
cardtype int
return string

CpuInit() public method

public CpuInit ( string cardid, int firstalarm, int secondalarm, int newremnant, int consumerlevel, int usertype, string pricedate, int xs, int gas, string selldate ) : void
cardid string
firstalarm int
secondalarm int
newremnant int
consumerlevel int
usertype int
pricedate string
xs int
gas int
selldate string
return void

CpuSellGas() public method

public CpuSellGas ( ) : void
return void

GYInitCard() public method

public GYInitCard ( string cardid, int alarm, int constant, int amount, int metertype, int usertype, double money, double pricenow, int pricemodify, double pricenew, string pricedate, int secondalarm, int newremnant, int consumerlevel, int xs, string selldate ) : void
cardid string
alarm int
constant int
amount int
metertype int
usertype int
money double
pricenow double
pricemodify int
pricenew double
pricedate string
secondalarm int
newremnant int
consumerlevel int
xs int
selldate string
return void

GetCpuEvent() public method

获得cpu控件方法对象
public GetCpuEvent ( string EventName ) : dynamic
EventName string 方法名
return dynamic

GetEvent() public method

获得控件方法对象
public GetEvent ( string EventName ) : dynamic
EventName string 方法名
return dynamic

GetSellEvent() public method

获得售气控件方法对象
public GetSellEvent ( string EventName ) : dynamic
EventName string
return dynamic

ICCardObj() public method

public ICCardObj ( ) : System
return System

MYInitCard() public method

public MYInitCard ( string cardid, int alarm, int constant, int amount, int metertype, int user_type, double money, double pricenow, int pricemodify, double pricenew, string pricedate, string selldate ) : bool
cardid string
alarm int
constant int
amount int
metertype int
user_type int
money double
pricenow double
pricemodify int
pricenew double
pricedate string
selldate string
return bool

MakeUp() public method

public MakeUp ( ) : void
return void

OnCompleted() public method

public OnCompleted ( System e ) : void
e System
return void

OnReadCompleted() public method

public OnReadCompleted ( System e ) : void
e System
return void

ReInitCard() public method

public ReInitCard ( ) : void
return void

ReadCard() public method

读卡
public ReadCard ( ) : void
return void

ReadCommon() public method

读一般卡
public ReadCommon ( ) : void
return void

ReturnGas() public method

撤销:cardId, cardgas, cardmoney,selldate
public ReturnGas ( ) : void
return void

SellGas() public method

public SellGas ( ) : void
return void