public void ReInitCard() {
UserType = 0;
SecondAlamV = 2000;
NewRemnant=1000;
int consumerlevel = 11;
Xs = 1;
// alert("userClass:" + userClass + ",cardid:" + cardid + ",alarm:" + alarm + ",constant:" + constant + ",amount:" + amount + ",metertype:" + metertype + ",usertype:" + usertype + ",money" + money
// + ",pricenow:" + pricenow + ",pricemodify:" + pricemodify + ",pricenew:" + pricenew + ",pricedate:" + pricedate);
if (UserClass == "民用") {
MYInitCard(CardId, Alarm, Constant, Amount, FactoryId, UserType, Money, PriceNow, PriceModify, PriceNew, PriceDate, SellDate);
}
else {
GYInitCard(CardId, Alarm, Constant, Amount, FactoryId, UserType, Money, PriceNow, PriceModify, PriceNew, PriceDate, SecondAlamV, NewRemnant, consumerlevel, Xs, SellDate);
}
}