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

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

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

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

            _current = parentDate;
            _freeSpace = 0;
        }
예제 #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;
     }
 }
예제 #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);
            }
        }
예제 #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;
 }