Exemple #1
0
        private void either_whiteIC_Event_BtnClick(Either.LeftRightSide lr)
        {
            switch (lr)
            {
            case Either.LeftRightSide.Left:
                GlobalVar.gl_Model_redLight = 1;     //红灯亮
                break;

            case Either.LeftRightSide.Right:
                GlobalVar.gl_Model_redLight = 0;     //红灯灭
                break;
            }
        }
Exemple #2
0
        private void either_proxWhite_Event_BtnClick(Either.LeftRightSide lr)
        {
            switch (lr)
            {
            case Either.LeftRightSide.Left:
                GlobalVar.gl_Model_whiteLight = 1;     //白灯亮
                break;

            case Either.LeftRightSide.Right:
                GlobalVar.gl_Model_whiteLight = 0;     //白灯灭
                break;
            }
        }