Exemple #1
0
        public dot_Fixer()
        {
            _status = e_dot_Fixed.Free;

            _current   = parentDate;
            _freeSpace = 0;
        }
Exemple #2
0
        private void _svc_statusCheck()
        {
            e_dot_Fixed temp = _status;

            switch (Fixed)
            {
            case true:

                temp = e_dot_Fixed.Free;

                break;

            case false:

                if (status == e_dot_Fixed.Fixed)
                {
                    return;
                }
                if (_freeSpace < 0)
                {
                    temp = (e_dot_Fixed)((int)_aspect);
                }
                else
                {
                    temp = e_dot_Fixed.Free;
                }

                break;
            }
            if (status != temp && event_statusChanged != null)
            {
                _status = temp;
                event_statusChanged(status);
            }
        }
Exemple #3
0
        public dot_Fixer()
        {
            _status = e_dot_Fixed.Free;

            _current = parentDate;
            _freeSpace = 0;
        }
Exemple #4
0
        public dot_Fixer(IDot_mainValues parent)
            : base(parent)
        {
            _aspect = parent.aspect;
            _status = e_dot_Fixed.Free;

            _current   = parentDate;
            _freeSpace = 0;
        }
Exemple #5
0
        public dot_Fixer(IDot_mainValues parent)
            : base(parent)
        {
            _aspect = parent.aspect;
            _status = e_dot_Fixed.Free;

            _current = parentDate;
            _freeSpace = 0;
        }
Exemple #6
0
 public void fixManual(bool manualFix)
 {
     if (manualFix && status != e_dot_Fixed.Fixed)
     {
         _tmpStatus = _status;
         _status    = e_dot_Fixed.Fixed;
     }
     else if (status == e_dot_Fixed.Fixed)
     {
         _status = _tmpStatus;
     }
 }
Exemple #7
0
        private void _svc_statusCheck()
        {
            e_dot_Fixed temp = _status;

            switch (Fixed)
            {
                case true:

                    temp = e_dot_Fixed.Free;

                    break;
                case false:

                    if (status == e_dot_Fixed.Fixed) return;
                    if (_freeSpace < 0)
                        temp = (e_dot_Fixed)((int)_aspect);
                    else
                        temp = e_dot_Fixed.Free;

                    break;
            }
            if (status != temp && event_statusChanged != null)
            {
                _status = temp;
                event_statusChanged(status);
            }
        }
Exemple #8
0
 public void fixManual(bool manualFix)
 {
     if (manualFix && status != e_dot_Fixed.Fixed)
     {
         _tmpStatus = _status;
         _status = e_dot_Fixed.Fixed;
     }
     else if (status == e_dot_Fixed.Fixed)
         _status = _tmpStatus;
 }