C# Class Com.Aote.ObjectTools.ICCardObj

Inheritance: CustomTypeHelper, IAsyncObject
Afficher le fichier Open project: DuBin1988/restv2 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
FactoryTypeConver ( long factoryid ) : string

表类型转换

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

读cpu卡

ReadNormalCard ( ) : void

读一般卡 ,非cpu卡

ReadWX ( ) : void

读取无线表

Method Details

AddZero() public méthode

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

CSellGas() public méthode

public CSellGas ( ) : void
Résultat void

CardTypeConver() public méthode

卡类型转换
public CardTypeConver ( int cardtype ) : string
cardtype int
Résultat string

CpuInit() public méthode

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
Résultat void

CpuSellGas() public méthode

public CpuSellGas ( ) : void
Résultat void

GYInitCard() public méthode

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
Résultat void

GetCpuEvent() public méthode

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

GetEvent() public méthode

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

GetSellEvent() public méthode

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

ICCardObj() public méthode

public ICCardObj ( ) : System
Résultat System

MYInitCard() public méthode

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
Résultat bool

MakeUp() public méthode

public MakeUp ( ) : void
Résultat void

OnCompleted() public méthode

public OnCompleted ( System e ) : void
e System
Résultat void

OnReadCompleted() public méthode

public OnReadCompleted ( System e ) : void
e System
Résultat void

ReInitCard() public méthode

public ReInitCard ( ) : void
Résultat void

ReadCard() public méthode

读卡
public ReadCard ( ) : void
Résultat void

ReadCommon() public méthode

读一般卡
public ReadCommon ( ) : void
Résultat void

ReturnGas() public méthode

撤销:cardId, cardgas, cardmoney,selldate
public ReturnGas ( ) : void
Résultat void

SellGas() public méthode

public SellGas ( ) : void
Résultat void