예제 #1
0
        private void FNREFRESHINPUTS(SplusExecutionContext __context__)
        {
            ushort I = 0;


            __context__.SourceCodeLine = 87;
            ushort __FN_FORSTART_VAL__1 = (ushort)(1);
            ushort __FN_FOREND_VAL__1   = (ushort)MYBRIDGE.NumQuickControls;
            int    __FN_FORSTEP_VAL__1  = (int)1;

            for (I = __FN_FORSTART_VAL__1; (__FN_FORSTEP_VAL__1 > 0)  ? ((I >= __FN_FORSTART_VAL__1) && (I <= __FN_FOREND_VAL__1)) : ((I <= __FN_FORSTART_VAL__1) && (I >= __FN_FOREND_VAL__1)); I += (ushort)__FN_FORSTEP_VAL__1)
            {
                __context__.SourceCodeLine = 87;
                MYBRIDGE.QuickSerialFeedbackChange((ushort)(I), QUICK_SERIAL_FB[I].ToString());
                __context__.SourceCodeLine = 87;
            }

            __context__.SourceCodeLine = 88;
            ushort __FN_FORSTART_VAL__2 = (ushort)(1);
            ushort __FN_FOREND_VAL__2   = (ushort)MYBRIDGE.NumListControls;
            int    __FN_FORSTEP_VAL__2  = (int)1;

            for (I = __FN_FORSTART_VAL__2; (__FN_FORSTEP_VAL__2 > 0)  ? ((I >= __FN_FORSTART_VAL__2) && (I <= __FN_FOREND_VAL__2)) : ((I <= __FN_FORSTART_VAL__2) && (I >= __FN_FOREND_VAL__2)); I += (ushort)__FN_FORSTEP_VAL__2)
            {
                __context__.SourceCodeLine = 88;
                MYBRIDGE.ListSerialFeedbackChange((ushort)(I), LIST_SERIAL_FB[I].ToString());
                __context__.SourceCodeLine = 88;
            }

            __context__.SourceCodeLine = 89;
            ushort __FN_FORSTART_VAL__3 = (ushort)(1);
            ushort __FN_FOREND_VAL__3   = (ushort)GINUMSERIALS;
            int    __FN_FORSTEP_VAL__3  = (int)1;

            for (I = __FN_FORSTART_VAL__3; (__FN_FORSTEP_VAL__3 > 0)  ? ((I >= __FN_FORSTART_VAL__3) && (I <= __FN_FOREND_VAL__3)) : ((I <= __FN_FORSTART_VAL__3) && (I >= __FN_FOREND_VAL__3)); I += (ushort)__FN_FORSTEP_VAL__3)
            {
                __context__.SourceCodeLine = 89;
                MYBRIDGE.SerialInputChange((ushort)(I), S_IN[I].ToString());
                __context__.SourceCodeLine = 89;
            }
        }
예제 #2
0
        private void FNREFRESHINPUTS(SplusExecutionContext __context__)
        {
            ushort I = 0;


            __context__.SourceCodeLine = 64;
            ushort __FN_FORSTART_VAL__1 = (ushort)(1);
            ushort __FN_FOREND_VAL__1   = (ushort)4;
            int    __FN_FORSTEP_VAL__1  = (int)1;

            for (I = __FN_FORSTART_VAL__1; (__FN_FORSTEP_VAL__1 > 0)  ? ((I >= __FN_FORSTART_VAL__1) && (I <= __FN_FOREND_VAL__1)) : ((I <= __FN_FORSTART_VAL__1) && (I >= __FN_FOREND_VAL__1)); I += (ushort)__FN_FORSTEP_VAL__1)
            {
                __context__.SourceCodeLine = 66;
                MYBRIDGE.QuickSerialFeedbackChange((ushort)(I), INFOLINE[I].ToString());
                __context__.SourceCodeLine = 67;
                MYBRIDGE.ListSerialFeedbackChange((ushort)(I), INFOLINE[I].ToString());
                __context__.SourceCodeLine = 68;
                MYBRIDGE.SerialInputChange((ushort)(I), INFOLINE[I].ToString());
                __context__.SourceCodeLine = 64;
            }
        }
        private void FNREFRESHINPUTS(SplusExecutionContext __context__)
        {
            ushort I = 0;


            __context__.SourceCodeLine = 107;
            ushort __FN_FORSTART_VAL__1 = (ushort)(1);
            ushort __FN_FOREND_VAL__1   = (ushort)MYBRIDGE.NumQuickControls;
            int    __FN_FORSTEP_VAL__1  = (int)1;

            for (I = __FN_FORSTART_VAL__1; (__FN_FORSTEP_VAL__1 > 0)  ? ((I >= __FN_FORSTART_VAL__1) && (I <= __FN_FOREND_VAL__1)) : ((I <= __FN_FORSTART_VAL__1) && (I >= __FN_FOREND_VAL__1)); I += (ushort)__FN_FORSTEP_VAL__1)
            {
                __context__.SourceCodeLine = 109;
                MYBRIDGE.QuickDigitalFeedbackChange((ushort)(I), (ushort)(QUICK_DIGITAL_FB[I].Value));
                __context__.SourceCodeLine = 109;
                MYBRIDGE.QuickSerialFeedbackChange((ushort)(I), QUICK_SERIAL_FB[I].ToString());
                __context__.SourceCodeLine = 107;
            }

            __context__.SourceCodeLine = 111;
            ushort __FN_FORSTART_VAL__2 = (ushort)(1);
            ushort __FN_FOREND_VAL__2   = (ushort)MYBRIDGE.NumListControls;
            int    __FN_FORSTEP_VAL__2  = (int)1;

            for (I = __FN_FORSTART_VAL__2; (__FN_FORSTEP_VAL__2 > 0)  ? ((I >= __FN_FORSTART_VAL__2) && (I <= __FN_FOREND_VAL__2)) : ((I <= __FN_FORSTART_VAL__2) && (I >= __FN_FOREND_VAL__2)); I += (ushort)__FN_FORSTEP_VAL__2)
            {
                __context__.SourceCodeLine = 113;
                MYBRIDGE.ListDigitalFeedbackChange((ushort)(I), (ushort)(LIST_DIGITAL_FB[I].Value));
                __context__.SourceCodeLine = 114;
                MYBRIDGE.ListAnalogFeedbackChange((ushort)(I), (ushort)(LIST_ANALOG_FB[I].UshortValue));
                __context__.SourceCodeLine = 115;
                MYBRIDGE.ListSerialFeedbackChange((ushort)(I), LIST_SERIAL_FB[I].ToString());
                __context__.SourceCodeLine = 111;
            }

            __context__.SourceCodeLine = 117;
            ushort __FN_FORSTART_VAL__3 = (ushort)(1);
            ushort __FN_FOREND_VAL__3   = (ushort)GINUMDIGITALS;
            int    __FN_FORSTEP_VAL__3  = (int)1;

            for (I = __FN_FORSTART_VAL__3; (__FN_FORSTEP_VAL__3 > 0)  ? ((I >= __FN_FORSTART_VAL__3) && (I <= __FN_FOREND_VAL__3)) : ((I <= __FN_FORSTART_VAL__3) && (I >= __FN_FOREND_VAL__3)); I += (ushort)__FN_FORSTEP_VAL__3)
            {
                __context__.SourceCodeLine = 117;
                MYBRIDGE.DigitalInputChange((ushort)(I), (ushort)(D_IN[I].Value));
                __context__.SourceCodeLine = 117;
            }

            __context__.SourceCodeLine = 118;
            ushort __FN_FORSTART_VAL__4 = (ushort)(1);
            ushort __FN_FOREND_VAL__4   = (ushort)GINUMANALOGS;
            int    __FN_FORSTEP_VAL__4  = (int)1;

            for (I = __FN_FORSTART_VAL__4; (__FN_FORSTEP_VAL__4 > 0)  ? ((I >= __FN_FORSTART_VAL__4) && (I <= __FN_FOREND_VAL__4)) : ((I <= __FN_FORSTART_VAL__4) && (I >= __FN_FOREND_VAL__4)); I += (ushort)__FN_FORSTEP_VAL__4)
            {
                __context__.SourceCodeLine = 118;
                MYBRIDGE.AnalogInputChange((ushort)(I), (ushort)(A_IN[I].UshortValue));
                __context__.SourceCodeLine = 118;
            }

            __context__.SourceCodeLine = 119;
            ushort __FN_FORSTART_VAL__5 = (ushort)(1);
            ushort __FN_FOREND_VAL__5   = (ushort)GINUMSERIALS;
            int    __FN_FORSTEP_VAL__5  = (int)1;

            for (I = __FN_FORSTART_VAL__5; (__FN_FORSTEP_VAL__5 > 0)  ? ((I >= __FN_FORSTART_VAL__5) && (I <= __FN_FOREND_VAL__5)) : ((I <= __FN_FORSTART_VAL__5) && (I >= __FN_FOREND_VAL__5)); I += (ushort)__FN_FORSTEP_VAL__5)
            {
                __context__.SourceCodeLine = 119;
                MYBRIDGE.SerialInputChange((ushort)(I), S_IN[I].ToString());
                __context__.SourceCodeLine = 119;
            }
        }