成人免费AA片在线观看-成人免费a级毛片-成人免费a级毛片无码片2022-成人免费a级毛片无码网站入口-成人免费ā片在线观看-成人免费a视频

午夜339351
級別: 實習會員
精華主題: 0
發帖數量: 3 個
工控威望: 46 點
下載積分: 673 分
在線時間: 0(小時)
注冊時間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
樓主  發表于: 2018-03-23 16:29
圖片:
采用MX COMPONENT 界面監視軟元件狀態,用的entryDeviceStatus指令,通訊界面提醒"超出索引"

       #region  "監視元件狀態"
        private void btn_EntryDeviceStatus_Click(object sender, EventArgs e)
        {
            int iReturnCode;                //Return code
            String szDeviceName = "";        //List data for 'DeviceName'
            int iNumberOfData = 0;            //Data for 'DeviceSize'
            int iMonitorCycle = 0;            //Data for 'MonitorCycle'
            int[] arrDeviceValue;            //Data for 'DeviceValue'


            //Displayed output data is cleared.
            ClearDisplay();

            //Get the list of 'DeviceName'.
            //  Join each line(StringType array) of 'DeviceName' by the separator '\n',
            //  and create a joined string data.
            szDeviceName = String.Join("\n", txt_DeviceNameStatus.Lines);

            //Check the 'DeviceSize'.(If succeeded, the value is gotten.)
            if (!GetIntValue(txt_DeviceSizeStatus, out iNumberOfData))
            {
                //If failed, this process is end.
                return;
            }

            //Check the 'MonitorCycle'.(If succeeded, the value is gotten.)
            if (!GetIntValue(txt_MonitorCycleStatus, out iMonitorCycle))
            {
                //If failed, this process is end.
                return;
            }

            //Check the 'DeviceValue'.(If succeeded, the value is gotten.)
            arrDeviceValue = new int[iNumberOfData];
            if (!GetIntArray(txt_DeviceDataStatus, out arrDeviceValue))
            {
                //If failed, this process is end.
                return;
            }


            //
            //Processing of EntryDeviceStatus method
            //
            try
            {
                    //When ActUtlType is selected by the radio button,
                    //The EntryDeviceStatus method is executed.
                    iReturnCode = axActUtlType1.EntryDeviceStatus(szDeviceName,
                                                                    iNumberOfData,
                                                                    iMonitorCycle,
                                                                    ref arrDeviceValue[0]);
            }

            //Exception processing            
            catch (Exception exception)
            {
                MessageBox.Show(exception.Message, Name,
                                  MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            //The return code of the method is displayed by the hexadecimal.
            txt_ReturnCode.Text = String.Format("0x{0:x8} [HEX]", iReturnCode);
        }
        #endregion
午夜339351
級別: 實習會員
精華主題: 0
發帖數量: 3 個
工控威望: 46 點
下載積分: 673 分
在線時間: 0(小時)
注冊時間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
1樓  發表于: 2018-03-23 16:30
各位大神求助!卡了半天了。≈x謝!
午夜339351
級別: 實習會員
精華主題: 0
發帖數量: 3 個
工控威望: 46 點
下載積分: 673 分
在線時間: 0(小時)
注冊時間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
2樓  發表于: 2018-03-23 16:33
          

韩国日本三级在线观看 | 麻豆网神马久久人鬼片 | 丁香色欲久久久久久综合网 | 亚洲精品久久久久成人2007 | 日本无遮挡边做边爱边摸 | 天天狠天天天天透在线 | 国产成人精品一区二三区在线观看 | 强开小婷嫩苞又嫩又紧视频韩国 | 久久这里只有精品18 | 777欧美午夜精品影院 | 欧美xxxxx高潮喷水 | 欧美艳星nikki激情办公室 | 国产成人精品免费视频大全可播放的 | 欧美午夜理伦三级在线观看 | 爱操视频在线观看 | 久久精品国产精品亚洲蜜月 | 久久精品中文字幕第一页 | 成 人 色综合 综合网站 | 黑人巨大精品欧美一区二区免费 | 日韩av片无码一区二区三区不卡 | 国内精品久久久人妻中文字幕 | 性生交大片免费看淑女出招 | 亚洲日韩国产欧美一区二区三区 | 亚洲国产精品国自产拍av | 91精品国产色综合久久不 | 国产精品午夜小视频观看 | 国产乱沈阳女人高潮乱叫老 | 狠狠色狠狠色综合 | 国产精品国产三级国av在线观看 | 福利一区二区三区视频在线观看 | 琪琪色原网站在线观看 | 苍井空浴缸大战猛男120分钟 | 久久天天躁狠狠躁夜夜av浪潮 | 亚洲av永久无码精品三区在线 | 无码人妻精品一区二区在线视频 | 亚洲精品字幕 | 久久天天躁狠狠躁夜夜96流白浆 | 黑森林福利视频导航 | 99久久国语露脸精品国产 | 免费福利午夜影视网 | 福利理论片午夜片 |