久久精品人成免费_国产精品久久久久久久白皙女_一级片播放_日韩欧美在线免费_亚洲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
          

主站蜘蛛池模板: 国产精品久久久网站 | 免费女人裸体视频无遮挡免费网站 | 91欧美在线 | 亚洲成人伊人 | 国产精品一级毛片在线 | 日本无翼乌邪恶大全彩动图手鞠 | 91青青国产在线观看精品 | 亚洲天天摸日日摸天天欢 | 偷偷干夜夜拍 | 秀婷程仪公欲息肉婷在线观看 | 伊人久久大香线蕉综合四虎小说 | 国产精品视频tv | 亚洲精品无码aⅴ中文字幕蜜桃 | 日韩高清免费a级毛片 | 97视频热人人精品免费 | 久久久久久夜精品精品免费啦 | 精品国产第一区二区三区的特点 | 久久久久久久久久久大尺度免费视频 | 美女视频黄频A免费高清不卡 | 国产女人第一次做爰毛片 | 精品女同一区二区三区在线绯色 | 女人和拘做受全程看免费软件 | 91亚洲精华国产精华精华乳 | 亚洲国产成人无码av在线 | 一区二区三区伦理片 | 日本无码人妻精品一区二区视频 | 日韩在线一| 亚洲欧美国产日韩中文字幕 | hi6你好星期六免费观看 | 激情中文小说区图片区 | 久碰香蕉线视频在线观看视频 | 波多野结衣中文AV无码专区 | 在线观看污视频网站 | 女人喷液全过程在线观看 | 精品视频自拍 | 久久露脸国产精品 | 成品片a免人视频 | 亚洲国产小视频在线观看 | 欧美性xxxx极品高清 | 国产特级片 | 2021国产麻豆剧果冻传媒影视 |