示例#1
0
 public override void PressSpdINTV()
 {
     if (_spdIntv != null)
     {
         _spdIntv.Set(true);
     }
 }
示例#2
0
 public override void PressAltINTV()
 {
     if (_altIntv != null)
     {
         _altIntv.Set(true);
     }
 }
示例#3
0
        private void UpdateBankLimit()
        {
            switch (_rate)
            {
            case 10:
                if (_rate10 != null)
                {
                    _rate10.Set();
                }
                break;

            case 15:
                if (_rate15 != null)
                {
                    _rate15.Set();
                }
                break;

            case 20:
                if (_rate20 != null)
                {
                    _rate20.Set();
                }
                break;

            case 25:
                if (_rate25 != null)
                {
                    _rate25.Set();
                }
                break;

            case 30:
                if (_rate30 != null)
                {
                    _rate30.Set();
                }
                break;
            }
        }