using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Resources;
using System.Text;
using MindWorks.Nimbus;
using Ivi.Driver;

namespace Raytheon.GuidedElectronicsUnit
{
    public struct IdaStatus
    {
        public IdaStatus(uint status)
        {
            GeuToII40MhzClockLocked = (PllState)(status & (uint)BitMask.GeuToII40MhzClockLocked);
            IIEmulatorReset = (ResetState)(status & (uint)BitMask.IIEmulatorReset);
        }

        #region Private Members

        private enum BitMask
        {
            GeuToII40MhzClockLocked = 0x0000_0002,
            IIEmulatorReset = 0x0000_0001
        }

        #endregion

        public Raytheon.GuidedElectronicsUnit.PllState GeuToII40MhzClockLocked { get; internal set; }

        public Raytheon.GuidedElectronicsUnit.ResetState IIEmulatorReset { get; internal set; }
    }
}