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

主站蜘蛛池模板: 精品亚洲成a人片在线观看 无码精品A在线观看无 | 蜜臀avwww| 久草美女视频 | 国产精品高潮呻吟av久久 | 铠甲勇士全52集免费播放 | 国产日韩欧美不卡在线观看 | 最近免费中文字幕大全高清大全10 | 国产偷亚洲偷欧美偷精品 | 久久精品99久久香蕉国产色戒 | 玖玖精品| 美女人妻激情乱人伦 | 91国内在线观看 | 亚洲精品久久久久午夜福禁果Tⅴ | 无码观看aaaaaaaa片 | 精品国产精品网麻豆系列 | 国产理论剧情大片在线播放 | 国产偷抇久久精品A片图片 91chinesevideo永久地址 | 国产精品视频久久一区 | 欧美jizzhd精品欧美 | 国产精品日本一区二区三区在线 | 少妇午夜福利一区二区 | 国产系列丝袜熟女精品视频 | 成人深夜在线 | 日韩精品中文字幕无码专区 | 北条麻妃一区二区三区在线视频 | 丰满少妇xbxb毛片日本视频 | 无套内谢少妇毛片a片樱花 日本在线视频WWW色影响 | 国产精品女主播在线观看 | 久久久久影院美女国产主播 | 小蜜被两老头吸奶头 | 视频在线色 | 波多野结AV衣东京热无码专区 | 成人活性生交大片免费看 | 高清毛片aaaaaaaaa片 | 久久久久99精品久久久久 | 欧美xxxx色视频在线观看 | 人妻丰满熟妇无码区免费 | 很黄很污的网站在线观看 | 一级黄色裸体视频 | 日产精品卡2卡三卡乱码网站 | 亚洲国产日韩在线一区模特 |