亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? manuio.cpp

?? 機械手IPC控制器伺服運動程序
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
// ManuIO.cpp : implementation file
//

#include "stdafx.h"
#include "alfa.h"
#include "ManuIO.h"
#include "Main.h"
#include "mccl.h"
#include "sys.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define TimerID 18
/////////////////////////////////////////////////////////////////////////////
// CManuIO dialog


CManuIO::CManuIO(CWnd* pParent /*=NULL*/)
	: CDialog(CManuIO::IDD, pParent)
{
	//{{AFX_DATA_INIT(CManuIO)
	//}}AFX_DATA_INIT
}


void CManuIO::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CManuIO)
	DDX_Control(pDX, IDC_X64, m_x64);
	DDX_Control(pDX, IDC_X63, m_x63);
	DDX_Control(pDX, IDC_X62, m_x62);
	DDX_Control(pDX, IDC_X61, m_x61);
	DDX_Control(pDX, IDC_X60, m_x60);
	DDX_Control(pDX, IDC_X59, m_x59);
	DDX_Control(pDX, IDC_X58, m_x58);
	DDX_Control(pDX, IDC_X57, m_x57);
	DDX_Control(pDX, IDC_X56, m_x56);
	DDX_Control(pDX, IDC_X55, m_x55);
	DDX_Control(pDX, IDC_X54, m_x54);
	DDX_Control(pDX, IDC_X53, m_x53);
	DDX_Control(pDX, IDC_X52, m_x52);
	DDX_Control(pDX, IDC_X51, m_x51);
	DDX_Control(pDX, IDC_X50, m_x50);
	DDX_Control(pDX, IDC_X49, m_x49);
	DDX_Control(pDX, IDC_X48, m_x48);
	DDX_Control(pDX, IDC_X47, m_x47);
	DDX_Control(pDX, IDC_X46, m_x46);
	DDX_Control(pDX, IDC_X45, m_x45);
	DDX_Control(pDX, IDC_X44, m_x44);
	DDX_Control(pDX, IDC_X43, m_x43);
	DDX_Control(pDX, IDC_X42, m_x42);
	DDX_Control(pDX, IDC_X41, m_x41);
	DDX_Control(pDX, IDC_X40, m_x40);
	DDX_Control(pDX, IDC_X39, m_x39);
	DDX_Control(pDX, IDC_X38, m_x38);
	DDX_Control(pDX, IDC_X37, m_x37);
	DDX_Control(pDX, IDC_X36, m_x36);
	DDX_Control(pDX, IDC_X35, m_x35);
	DDX_Control(pDX, IDC_X34, m_x34);
	DDX_Control(pDX, IDC_X33, m_x33);
	DDX_Control(pDX, IDC_X32, m_x32);
	DDX_Control(pDX, IDC_X31, m_x31);
	DDX_Control(pDX, IDC_X30, m_x30);
	DDX_Control(pDX, IDC_X29, m_x29);
	DDX_Control(pDX, IDC_X28, m_x28);
	DDX_Control(pDX, IDC_X27, m_x27);
	DDX_Control(pDX, IDC_X26, m_x26);
	DDX_Control(pDX, IDC_X25, m_x25);
	DDX_Control(pDX, IDC_X24, m_x24);
	DDX_Control(pDX, IDC_X23, m_x23);
	DDX_Control(pDX, IDC_X22, m_x22);
	DDX_Control(pDX, IDC_X21, m_x21);
	DDX_Control(pDX, IDC_X20, m_x20);
	DDX_Control(pDX, IDC_X19, m_x19);
	DDX_Control(pDX, IDC_X18, m_x18);
	DDX_Control(pDX, IDC_X17, m_x17);
	DDX_Control(pDX, IDC_X16, m_x16);
	DDX_Control(pDX, IDC_X15, m_x15);
	DDX_Control(pDX, IDC_X14, m_x14);
	DDX_Control(pDX, IDC_X13, m_x13);
	DDX_Control(pDX, IDC_X12, m_x12);
	DDX_Control(pDX, IDC_X11, m_x11);
	DDX_Control(pDX, IDC_X10, m_x10);
	DDX_Control(pDX, IDC_X09, m_x09);
	DDX_Control(pDX, IDC_X08, m_x08);
	DDX_Control(pDX, IDC_X07, m_x07);
	DDX_Control(pDX, IDC_X06, m_x06);
	DDX_Control(pDX, IDC_X05, m_x05);
	DDX_Control(pDX, IDC_X04, m_x04);
	DDX_Control(pDX, IDC_X03, m_x03);
	DDX_Control(pDX, IDC_X02, m_x02);
	DDX_Control(pDX, IDC_X01, m_x01);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CManuIO, CDialog)
	//{{AFX_MSG_MAP(CManuIO)
	ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
	ON_WM_SHOWWINDOW()
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	ON_WM_TIMER()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CManuIO message handlers

void CManuIO::OnButton1() 
{
	// TODO: Add your control notification handler code here
	CMain * main=(CMain *)GetParent();
	ShowWindow(FALSE);
	main->dlgmanul->ShowWindow(TRUE);
	KillTimer(TimerID);
}

void CManuIO::OnShowWindow(BOOL bShow, UINT nStatus) 
{
	CDialog::OnShowWindow(bShow, nStatus);
	
	// TODO: Add your message handler code here
	if(bShow==1) {
		CMain * main=(CMain *)GetParent();
		main->dlgcur=this;
		SetTimer(TimerID, 200, NULL);
	}
	else
		KillTimer(18);
}

BOOL CManuIO::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	h_SkinDialog.SubClassDialog(m_hWnd);
	CRect rt;
	m_x01.GetWindowRect(rt);
	led[0].x=rt.left;
	led[0].y=rt.top;
	m_x02.GetWindowRect(rt);
	led[1].x=rt.left;
	led[1].y=rt.top;
	m_x03.GetWindowRect(rt);
	led[2].x=rt.left;
	led[2].y=rt.top;
	m_x04.GetWindowRect(rt);
	led[3].x=rt.left;
	led[3].y=rt.top;
	m_x05.GetWindowRect(rt);
	led[4].x=rt.left;
	led[4].y=rt.top;
	m_x06.GetWindowRect(rt);
	led[5].x=rt.left;
	led[5].y=rt.top;
	m_x07.GetWindowRect(rt);
	led[6].x=rt.left;
	led[6].y=rt.top;
	m_x08.GetWindowRect(rt);
	led[7].x=rt.left;
	led[7].y=rt.top;
	m_x09.GetWindowRect(rt);
	led[8].x=rt.left;
	led[8].y=rt.top;
	m_x10.GetWindowRect(rt);
	led[9].x=rt.left;
	led[9].y=rt.top;
	m_x11.GetWindowRect(rt);
	led[10].x=rt.left;
	led[10].y=rt.top;
	m_x12.GetWindowRect(rt);
	led[11].x=rt.left;
	led[11].y=rt.top;
	m_x13.GetWindowRect(rt);
	led[12].x=rt.left;
	led[12].y=rt.top;
	m_x14.GetWindowRect(rt);
	led[13].x=rt.left;
	led[13].y=rt.top;
	m_x15.GetWindowRect(rt);
	led[14].x=rt.left;
	led[14].y=rt.top;
	m_x16.GetWindowRect(rt);
	led[15].x=rt.left;
	led[15].y=rt.top;
	m_x17.GetWindowRect(rt);
	led[16].x=rt.left;
	led[16].y=rt.top;
	m_x18.GetWindowRect(rt);
	led[17].x=rt.left;
	led[17].y=rt.top;
	m_x19.GetWindowRect(rt);
	led[18].x=rt.left;
	led[18].y=rt.top;
	m_x20.GetWindowRect(rt);
	led[19].x=rt.left;
	led[19].y=rt.top;
	m_x21.GetWindowRect(rt);
	led[20].x=rt.left;
	led[20].y=rt.top;
	m_x22.GetWindowRect(rt);
	led[21].x=rt.left;
	led[21].y=rt.top;
	m_x23.GetWindowRect(rt);
	led[22].x=rt.left;
	led[22].y=rt.top;
	m_x24.GetWindowRect(rt);
	led[23].x=rt.left;
	led[23].y=rt.top;
	m_x25.GetWindowRect(rt);
	led[24].x=rt.left;
	led[24].y=rt.top;
	m_x26.GetWindowRect(rt);
	led[25].x=rt.left;
	led[25].y=rt.top;
	m_x27.GetWindowRect(rt);
	led[26].x=rt.left;
	led[26].y=rt.top;
	m_x28.GetWindowRect(rt);
	led[27].x=rt.left;
	led[27].y=rt.top;
	m_x29.GetWindowRect(rt);
	led[28].x=rt.left;
	led[28].y=rt.top;
	m_x30.GetWindowRect(rt);
	led[29].x=rt.left;
	led[29].y=rt.top;
	m_x31.GetWindowRect(rt);
	led[30].x=rt.left;
	led[30].y=rt.top;
	m_x32.GetWindowRect(rt);
	led[31].x=rt.left;
	led[31].y=rt.top;
	m_x33.GetWindowRect(rt);
	led[32].x=rt.left;
	led[32].y=rt.top;
	m_x34.GetWindowRect(rt);
	led[33].x=rt.left;
	led[33].y=rt.top;
	m_x35.GetWindowRect(rt);
	led[34].x=rt.left;
	led[34].y=rt.top;
	m_x36.GetWindowRect(rt);
	led[35].x=rt.left;
	led[35].y=rt.top;
	m_x37.GetWindowRect(rt);
	led[36].x=rt.left;
	led[36].y=rt.top;
	m_x38.GetWindowRect(rt);
	led[37].x=rt.left;
	led[37].y=rt.top;
	m_x39.GetWindowRect(rt);
	led[38].x=rt.left;
	led[38].y=rt.top;
	m_x40.GetWindowRect(rt);
	led[39].x=rt.left;
	led[39].y=rt.top;
	m_x41.GetWindowRect(rt);
	led[40].x=rt.left;
	led[40].y=rt.top;
	m_x41.GetWindowRect(rt);
	led[40].x=rt.left;
	led[40].y=rt.top;
	m_x42.GetWindowRect(rt);
	led[41].x=rt.left;
	led[41].y=rt.top;
	m_x43.GetWindowRect(rt);
	led[42].x=rt.left;
	led[42].y=rt.top;
	m_x44.GetWindowRect(rt);
	led[43].x=rt.left;
	led[43].y=rt.top;
	m_x45.GetWindowRect(rt);
	led[44].x=rt.left;
	led[44].y=rt.top;
	m_x46.GetWindowRect(rt);
	led[45].x=rt.left;
	led[45].y=rt.top;
	m_x47.GetWindowRect(rt);
	led[46].x=rt.left;
	led[46].y=rt.top;
	m_x48.GetWindowRect(rt);
	led[47].x=rt.left;
	led[47].y=rt.top;
	m_x49.GetWindowRect(rt);
	led[48].x=rt.left;
	led[48].y=rt.top;
	m_x50.GetWindowRect(rt);
	led[49].x=rt.left;
	led[49].y=rt.top;
	m_x51.GetWindowRect(rt);
	led[50].x=rt.left;
	led[50].y=rt.top;
	m_x52.GetWindowRect(rt);
	led[51].x=rt.left;
	led[51].y=rt.top;
	m_x53.GetWindowRect(rt);
	led[52].x=rt.left;
	led[52].y=rt.top;
	m_x54.GetWindowRect(rt);
	led[53].x=rt.left;
	led[53].y=rt.top;
	m_x55.GetWindowRect(rt);
	led[54].x=rt.left;
	led[54].y=rt.top;
	m_x56.GetWindowRect(rt);
	led[55].x=rt.left;
	led[55].y=rt.top;
	m_x57.GetWindowRect(rt);
	led[56].x=rt.left;
	led[56].y=rt.top;
	m_x58.GetWindowRect(rt);
	led[57].x=rt.left;
	led[57].y=rt.top;
	m_x59.GetWindowRect(rt);
	led[58].x=rt.left;
	led[58].y=rt.top;
	m_x60.GetWindowRect(rt);
	led[59].x=rt.left;
	led[59].y=rt.top;
	m_x61.GetWindowRect(rt);
	led[60].x=rt.left;
	led[60].y=rt.top;
	m_x62.GetWindowRect(rt);
	led[61].x=rt.left;
	led[61].y=rt.top;
	m_x63.GetWindowRect(rt);
	led[62].x=rt.left;
	led[62].y=rt.top;
	m_x64.GetWindowRect(rt);
	led[63].x=rt.left;
	led[63].y=rt.top;
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CManuIO::OnButton2() 
{
	// TODO: Add your control notification handler code here
	CMain * main=(CMain *)GetParent();
	ShowWindow(FALSE);
	main->dlgmanualioo->ShowWindow(TRUE);	
}

void CManuIO::OnTimer(UINT nIDEvent) 
{
	// TODO: Add your message handler code here and/or call default
	UpdateData(FALSE);	
	WORD	wInput0;
	WORD	wInput;
	MCC_GetRIOInputValue(&wInput0, RIO_SET1, RIO_PORT0, CARD_INDEX);//  get   remote I/O set 0's DI0  ~ DI15 statuses
	wInput=wInput0;
	CClientDC dc(this);
	if(wInput0==(wInput|0x0001))
	{
		ShowTransparentBitmap(&dc,IDB_BITMAP7,led[0].x,led[0].y);
	}
	else
		ShowTransparentBitmap(&dc,IDB_BITMAP8,led[0].x,led[0].y);
	wInput=wInput0;
	if(wInput0==(wInput|0x0002))
	{
		ShowTransparentBitmap(&dc,IDB_BITMAP7,led[1].x,led[1].y);
	}
	else
		ShowTransparentBitmap(&dc,IDB_BITMAP8,led[1].x,led[1].y);
	wInput=wInput0;
	if(wInput0==(wInput|0x0004))
	{
		ShowTransparentBitmap(&dc,IDB_BITMAP7,led[2].x,led[2].y);
	}
	else
		ShowTransparentBitmap(&dc,IDB_BITMAP8,led[2].x,led[2].y);
	wInput=wInput0;
	if(wInput0==(wInput|0x0008))
	{
		ShowTransparentBitmap(&dc,IDB_BITMAP7,led[3].x,led[3].y);
	}
	else
		ShowTransparentBitmap(&dc,IDB_BITMAP8,led[3].x,led[3].y);
	wInput=wInput0;
	if(wInput0==(wInput|0x0010))
	{
		ShowTransparentBitmap(&dc,IDB_BITMAP7,led[4].x,led[4].y);
	}
	else
		ShowTransparentBitmap(&dc,IDB_BITMAP8,led[4].x,led[4].y);
	wInput=wInput0;
	if(wInput0==(wInput|0x0020))
	{
		ShowTransparentBitmap(&dc,IDB_BITMAP7,led[5].x,led[5].y);
	}
	else
		ShowTransparentBitmap(&dc,IDB_BITMAP8,led[5].x,led[5].y);
	wInput=wInput0;
	if(wInput0==(wInput|0x0040))
	{
		ShowTransparentBitmap(&dc,IDB_BITMAP7,led[6].x,led[6].y);
	}
	else
		ShowTransparentBitmap(&dc,IDB_BITMAP8,led[6].x,led[6].y);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品裸体舞一区二区三区| 日韩一级片网站| 日韩免费电影网站| 日韩欧美高清dvd碟片| 亚洲欧美一区二区三区国产精品| 欧美专区日韩专区| 国产女人18水真多18精品一级做 | 91在线一区二区三区| 91精品国产欧美一区二区成人 | 懂色av一区二区在线播放| 欧美一区二区三区人| 亚洲欧美日韩中文字幕一区二区三区| 久久99久久99小草精品免视看| 在线观看欧美日本| 免费观看30秒视频久久| 欧美亚男人的天堂| 亚洲视频 欧洲视频| 成人夜色视频网站在线观看| 久久影院午夜论| 美女脱光内衣内裤视频久久网站| 在线观看日产精品| 一区二区三区在线看| 91麻豆国产在线观看| 中文字幕亚洲在| 99久久综合色| 亚洲欧美日韩一区二区| 99久久夜色精品国产网站| 中文字幕国产精品一区二区| 国产成人福利片| 久久精品视频在线看| 国产综合成人久久大片91| 精品三级av在线| 九一久久久久久| 国产日韩精品一区二区浪潮av| 国产精品18久久久久久久久 | eeuss国产一区二区三区| 国产日韩欧美a| 成人av影视在线观看| 亚洲少妇最新在线视频| 91福利社在线观看| 五月综合激情婷婷六月色窝| 日韩亚洲国产中文字幕欧美| 九九久久精品视频| 欧美极品xxx| 91网站在线观看视频| 亚洲综合色自拍一区| 欧美日韩成人在线一区| 美女脱光内衣内裤视频久久网站| 久久综合色婷婷| 成人午夜免费电影| 一区二区三区成人| 91精品国产一区二区| 国产精一品亚洲二区在线视频| 亚洲国产精品成人综合| 日本久久电影网| 蜜桃免费网站一区二区三区| 欧美经典一区二区三区| 欧美亚日韩国产aⅴ精品中极品| 日av在线不卡| 亚洲国产经典视频| 在线中文字幕一区二区| 久久69国产一区二区蜜臀| 国产精品视频免费| 91.成人天堂一区| 成人深夜视频在线观看| 亚洲成av人片在www色猫咪| 精品久久久久久无| 99久久婷婷国产| 日本三级亚洲精品| 亚洲同性gay激情无套| 日韩欧美高清一区| 日本道色综合久久| 国产一区免费电影| 亚洲图片欧美视频| 国产日韩欧美精品一区| 欧美日韩国产一级二级| 成人免费视频国产在线观看| 亚洲成a人v欧美综合天堂下载| 国产日产亚洲精品系列| 欧美美女一区二区在线观看| 高清不卡一区二区| 男人操女人的视频在线观看欧美| 综合亚洲深深色噜噜狠狠网站| 精品少妇一区二区三区| 欧美人与禽zozo性伦| 91蜜桃婷婷狠狠久久综合9色| 狠狠色丁香婷婷综合| 亚洲成a人片在线不卡一二三区| 国产精品理论片在线观看| 日韩小视频在线观看专区| 在线视频观看一区| 91女人视频在线观看| 国产伦精品一区二区三区视频青涩| 五月天亚洲婷婷| 亚洲一区在线视频观看| 国产精品成人午夜| 久久久久久97三级| 欧美mv和日韩mv的网站| 91精品国产一区二区| 欧美日韩一区二区三区四区| 91国偷自产一区二区开放时间 | 不卡的av在线播放| 国产精一区二区三区| 精品亚洲成a人| 麻豆精品一区二区三区| 青青草97国产精品免费观看| 天堂一区二区在线| 肉肉av福利一精品导航| 亚洲高清视频在线| 午夜精品久久一牛影视| 亚洲18色成人| 天天影视色香欲综合网老头| 亚洲永久精品大片| 亚洲国产成人91porn| 亚洲香肠在线观看| 日韩电影在线免费观看| 日韩成人精品在线观看| 蜜桃视频在线一区| 国产一区二区三区美女| 粉嫩av一区二区三区| proumb性欧美在线观看| 91在线精品秘密一区二区| 色综合久久天天综合网| 欧美日韩成人一区二区| 日韩欧美亚洲一区二区| 日韩精品一区二区三区视频 | 成人免费视频播放| 色综合中文字幕国产| 99精品久久免费看蜜臀剧情介绍 | 国产精品99久久久久久久女警| 国产成人综合网| av电影一区二区| 欧美亚洲国产怡红院影院| 欧美一区二区三区日韩| 久久久91精品国产一区二区三区| 国产精品色眯眯| 亚洲一区二区三区不卡国产欧美| 青青草国产精品亚洲专区无| 久久精品99国产精品| 国产+成+人+亚洲欧洲自线| 色婷婷综合视频在线观看| 欧美卡1卡2卡| 久久综合久久99| 亚洲卡通动漫在线| 久久不见久久见免费视频1| 国产乱码字幕精品高清av| 91麻豆免费在线观看| 日韩午夜精品视频| 国产精品传媒入口麻豆| 欧美aaaaaa午夜精品| jiyouzz国产精品久久| 欧美久久久久久久久中文字幕| 久久久久久久国产精品影院| 怡红院av一区二区三区| 久久精品72免费观看| 色婷婷综合五月| 国产亚洲精品精华液| 亚洲成人精品影院| 懂色一区二区三区免费观看| 777亚洲妇女| 亚洲色图20p| 国产成人在线视频网站| 欧美电影一区二区三区| 亚洲精品视频自拍| 国产成人精品亚洲777人妖 | 自拍偷拍国产精品| 国产制服丝袜一区| 欧美日韩小视频| 国产精品国产精品国产专区不蜜 | 99re在线精品| 国产欧美日韩另类一区| 蜜臀国产一区二区三区在线播放| 91香蕉国产在线观看软件| 久久亚洲影视婷婷| 免费的成人av| 欧美偷拍一区二区| 最新欧美精品一区二区三区| 国产一区二三区| 欧美成人激情免费网| 日本不卡一区二区三区| 欧美色爱综合网| 亚洲乱码国产乱码精品精可以看| 国产精品亚洲第一| 精品国产一区久久| 六月丁香综合在线视频| 69久久夜色精品国产69蝌蚪网| 亚洲一区二区三区四区五区黄 | 久久精品视频一区| 国产伦精品一区二区三区视频青涩 | 亚洲欧洲日韩av| 成人在线视频一区| 中文在线资源观看网站视频免费不卡| 久久99精品久久久久久久久久久久 | 日日夜夜精品视频免费| 欧美日韩五月天| 亚洲第一福利一区| 欧美精品在线观看播放| 亚洲国产精品久久人人爱蜜臀| 欧美性一级生活| 日韩精品一级二级 |