Esempio n. 1
0
        public dot_Fixer()
        {
            _status = e_dot_Fixed.Free;

            _current   = parentDate;
            _freeSpace = 0;
        }
Esempio n. 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);
            }
        }
Esempio n. 3
0
        public dot_Fixer()
        {
            _status = e_dot_Fixed.Free;

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

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

            _current = parentDate;
            _freeSpace = 0;
        }
Esempio n. 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;
     }
 }
Esempio n. 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);
            }
        }
Esempio n. 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;
 }