public void Init(IncType type, double min, double max, double current) { eType = type; fMin = min; fMax = max; fCurrent = current; fTarget = current; bInChange = false; }
public Incident(IncType incType, int woundedNumber, int deadNumber, string description, DispatcherTimer incTimer) { this.incType = incType; this.woundedNumber = woundedNumber; this.deadNumber = deadNumber; this.description = description; this.randTimeInc = new Random(); this.timeInc = randTimeInc.Next(100, 300); this.incTimer = incTimer; startIncTimer(this.timeInc, this.incTimer); }
public void Reset() { prevPc_ = -1; pc_ = -1; callIndex_ = -1; end_ = false; sp_ = 0; regQ_ = 0; regCommon_ = new int[regSize_]; inc_ = IncType.NO; mp_ = 0; devPtr_ = -1; prevRegA_ = 0; prevRegB_ = 0; prevRegQ_ = 0; r_ = 0; s_ = 0; f_ = 0; y_ = 0; z_ = false; f3_ = false; c4_ = false; ovr_ = false; g_ = false; p_ = false; prevZ_ = false; prevF3_ = false; prevC4_ = false; prevOvr_ = false; prevG_ = false; prevP_ = false; }
private void SetMemPtr_() { inc_ = Current_().GetIncType(); mp_ = (Current_().GetRawValue(WordType.A) << 4) + Current_().GetRawValue(WordType.B); }
public BENumber(IncType type, string _strFormat, double min, double max, double current) { Init(type, _strFormat, min, max, current); }
public void TypeSet(IncType type) { eType = type; }
public BENumber(IncType type, double min, double max, double current) { Init(type, min, max, current); }