久久精品人成免费_国产精品久久久久久久白皙女_一级片播放_日韩欧美在线免费_亚洲AV无码精品色午夜果冻不卡_成人高潮免费视频

午夜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
          

主站蜘蛛池模板: 国产伦精品一区二区三区网站 | 中文精品一卡2卡3卡4卡国色 | 97在线观视频免费观看 | 亚洲日韩视频免费观看 | 国产精品国产三级国AV麻豆 | 小14萝裸体洗澡视频免费网站 | 国产精品久久久久久久久亚洲美女 | 男女男精品网站 | 精品人妻系列无码人妻不卡 | 三级黄色a级片 | 久久99国产精品免费网站 | 精品亚洲成a人片在线观看 无码精品A在线观看无 | 欧美拍拍视频免费大全 | 狠狠狠的在啪线香蕉亚洲应用 | 在人线AV无码免费高潮喷水 | 欧美xxxx做受欧美人妖 | 黄频视频在线观看 | 国产区精品在线 | 视频一区二区欧美 | 亚洲精品久久久久999中文字幕 | 中文字幕av线 | 高清无码视频直接看 | 亚洲99影视一区二区三区 | 亚洲精品偷拍无码不卡AV | 永久免费黄色 | 久久综合伊人77777 | 免费污污网站在线观看 | A片丰满少妇A片在线播放 | 精品国产一区二区三区性色av | 成人在线视频精品 | 国产精品区在线 | 性欧美激情日韩精品七区 | 人妻体内射精一区二区三区 | 今天高清视频在线观看视频 | 少妇高潮太爽了在线观看免费 | 中文字幕av无码专区第一页 | 91久久久久久白丝白浆欲热蜜臀 | 亚洲色成人影院在线观看 | 四虎永久在线精品8848A | 国产制服日韩丝袜86页 | 高清视频在线观看 |