国产一区视频在线观看-国产重口老太和小伙-亚洲v高-中文岛国精品亚洲一区亚-免费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
各位大神求助!卡了半天了!!謝謝!
午夜339351
級別: 實習會員
精華主題: 0
發帖數量: 3 個
工控威望: 46 點
下載積分: 673 分
在線時間: 0(小時)
注冊時間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
2樓  發表于: 2018-03-23 16:33
          

主站蜘蛛池模板: 亚洲人成色77777在线观看| 国产午夜福利在线机视频| 99国产欧美久久久精品| 日韩精品无码专区免费播放| 在线播放无码后入内射少妇| 日韩人妻无码系列专区| 蜜臀av性久久久久蜜臀aⅴ| 亚洲国产无线乱码在线观看| 亚洲成av人片一区二区蜜柚| 男人进入女人下部视频| 又紧又大又爽精品一区二区| 麻豆视传媒官网免费观看| 中文字幕第98页小明免费| 国产偷国产偷亚洲高清日韩| 亚洲成在人线aⅴ免费毛片 | 中字幕久久久人妻熟女天美传媒 | 中文字幕免费无码专区剧情| 欧洲精品码一区二区三区免费看| 一区二区三区在线 | 日本| 国产偷人激情视频在线观看 | 国内精品久久毛片一区二区| 亚洲男男无套gv大学生| 一本大道久久东京热av| 亚洲男人av天堂午夜在| 国产成人一区二区三区app| 无码人妻精品一区二区蜜桃色欲 | 日本一道综合久久aⅴ久久| 大又大粗又爽又黄少妇毛片免费 | 8888四色奇米在线观看| 少妇人妻在线无码天堂视频网| 成人无码精品1区2区3区免费看| 久久精品aⅴ无码中文字字幕不卡 最新国产麻豆aⅴ精品无码 | 免费人成黄页在线观看国产 | 亚洲高清成人aⅴ片777| 国产精品日日做人人爱| 亚洲欧美日本中文字不卡| 中国女人内谢69xxxx免费视频| 国产伦子系列沙发午睡| 在线精品亚洲一区二区| 亚洲国产精品一区二区九九| 欧美人与动另类xxxx|