Exemplo n.º 1
0
        public void SetLoggingState(LOGGINGSTATE ls)
        {
            mLoggingState = ls;

            if (ls == LOGGINGSTATE.NONE)
            {
                lstatus.Content = "Idle...";
            }
            else if (ls == LOGGINGSTATE.LOGGING)
            {
                lstatus.Content = "Logging...";
            }
            else if (ls == LOGGINGSTATE.PAUSED)
            {
                lstatus.Content = "Logging has been Paused...";
            }
            else if (ls == LOGGINGSTATE.POPULATED)
            {
                lstatus.Content = "Log needs to be exported...";
            }
            else if (ls == LOGGINGSTATE.EXPORTED)
            {
                lstatus.Content = "Logfile has been exported...";
            }
        }
Exemplo n.º 2
0
        public void SetLoggingState(LOGGINGSTATE ls)
        {
            mLoggingState = ls;

            if (ls == LOGGINGSTATE.NONE)
                lstatus.Content = "Idle...";
            else if (ls == LOGGINGSTATE.LOGGING)
                lstatus.Content = "Logging...";
            else if (ls == LOGGINGSTATE.PAUSED)
                lstatus.Content = "Logging has been Paused...";
            else if (ls == LOGGINGSTATE.POPULATED)
                lstatus.Content = "Log needs to be exported...";
            else if (ls == LOGGINGSTATE.EXPORTED)
                lstatus.Content = "Logfile has been exported...";
        }