// 学生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person { char name[10]; int ID; int cj_yw; int cj_sx; struct person* next; struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // // FUNCTION: MyRegisterClass() // // PURPOSE: Registers the window class. // // COMMENTS: // // This function and its usage is only necessary if you want this code // to be compatible with Win32 systems prior to the 'RegisterClassEx' // function that was added to Windows 95. It is important to call this function // so that the application will get 'well formed' small icons associated // with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // // FUNCTION: InitInstance(HANDLE, int) // // PURPOSE: Saves instance handle and creates main window // // COMMENTS: // // In this function, we save the instance handle in a global variable and // create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { HWND hWnd; hInst = hInstance; // Store instance handle in our global variable hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); if (!hWnd) { return FALSE; } ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); return TRUE; } // // FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // // PURPOSE: Processes messages for the main window. // // WM_COMMAND - process the application menu // WM_PAINT - Paint the main window // WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message) { case WM_COMMAND: wmId = LOWORD(wParam); wmEvent = HIWORD(wParam); // Parse the menu selections: switch (wmId) { case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break; case IDM_EXIT: DestroyWindow(hWnd); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; } return FALSE; }
标签: 学生 计算器
上传时间: 2016-12-29
上传用户:767483511
Received: from mail.creditcard.cmbc.com.cn (unknown [111.205.122.39]) by newmx82.qq.com (NewMx) with SMTP id for <714620454@QQ.COM>; Fri, 20 Oct 2017 03:56:09 +0800 X-QQ-FEAT: nHaaMjwLeTyzuDp5C5V++RVfPHSVEqOujK0vwZroSro= X-QQ-MAILINFO: MjJD59SVx+LnQ1oU2sDuZ8tZJyZAOGTJaybWFAYRjurknrZoc6gjmnU06 o+pkiTJsdtxgA5CmtpN2ggrWb/T2GoG07QFXqgJtIk+5X1iaz4UykQ9M2a782+Fdn83doxC 4Ej1t99JoZcj8dDkeM5dzZTSR8uZGwHEnIK9Uim+NcaroB2EUWgclSmSzIxUHIbJ1nTLA8G B4/wa X-QQ-mid: mx82t1508442969ti70kc84u X-QQ-ORGSender: master@creditcard.cmbc.com.cn Received: from sedm([195.203.59.13]) by mail.creditcard.cmbc.com.cn(1.0) with SMTP id sedm587; Thu, 19 Oct 2017 17:48:11 +0800 Date:Thu, 19 Oct 2017 17:48:11 +0800 (CST) Message-ID:<0305-euid-31911508406491578> To:=?gbk?B?zsTS1SDFrsq/?=<714620454@QQ.COM> From:master<master@creditcard.cmbc.com.cn> Subject: =?gbk?B?w/HJ+tDF08O/qDIwMTfE6jEw1MK159fTttTVy7Wl?= X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: multipart/related; boundary="****MAIN_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988" This is a multi-part message in MIME format. --****MAIN_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988 Content-Type: multipart/alternative; boundary="****SUB_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988" --****SUB_BOUNDARY****2727BD00F7949069C75FEDD44F1F2988 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: base64
标签: 源代码
上传时间: 2017-11-17
上传用户:wendingchang
由STC89C51单片机来控制DHT11传感器采集的温湿度的转换、1602液晶屏的显示,以及蜂鸣器的报警。
上传时间: 2018-04-27
上传用户:luson
Introduction jSMPP is a java implementation (SMPP API) of the SMPP protocol (currently supports SMPP v3.4). It provides interfaces to communicate with a Message Center or an ESME (External Short Message Entity) and is able to handle traffic of 3000-5000 messages per second. jSMPP is not a high-level library. People looking for a quick way to get started with SMPP may be better of using an abstraction layer such as the Apache Camel SMPP component: http://camel.apache.org/smpp.html Travis-CI status: History The project started on Google Code: http://code.google.com/p/jsmpp/ It was maintained by uudashr on Github until 2013. It is now a community project maintained at http://jsmpp.org Release procedure mvn deploy -DperformRelease=true -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -Dgpg.passphrase=<yourpassphrase> log in here: https://oss.sonatype.org click the 'Staging Repositories' link select the repository and click close select the repository and click release License Copyright (C) 2007-2013, Nuruddin Ashr uudashr@gmail.com Copyright (C) 2012-2013, Denis Kostousov denis.kostousov@gmail.com Copyright (C) 2014, Daniel Pocock http://danielpocock.com Copyright (C) 2016, Pim Moerenhout pim.moerenhout@gmail.com This project is licensed under the Apache Software License 2.0.
上传时间: 2019-01-25
上传用户:dragon_longer
Digital cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS) Point-to-Point (PP) (3GPP TS 03.40 version 7.5.0 Release 1998)
标签: GSM
上传时间: 2019-06-14
上传用户:twogozi
Ever since ancient times, people continuously have devised new techniques and technologies for communicating their ideas, needs, and desires to others. Thus, many forms of increasingly complex communication systems have appeared over the years. The basic motivations behind each new one were to improve the transmission fidelity so that fewer errors occur in the received message, to increase the transmission capacity of a communication link so that more infor- mation could be sent, or to increase the transmission distance between relay sta- tions so that messages can be sent farther without the need to restore the signal fidelity periodically along its path.
标签: Communications Essentials Optical
上传时间: 2020-05-31
上传用户:shancjb
欧母龙PLC例程PLC控制器源码255个合集:1600T俄罗斯压力机.rar200吨压机程序 omron 的机子C系列的.rar3MK136旧磨床现程序.rar3电机延时控制启停.rar5V编码器信号如何接入CP1H高数计数案例.rar6路抢答器源码.rar902002 OMRON.rarASCII Generic Protocol Macro Object Code.zipASCII Generic Protocol Macro.zipC3电枢异物吸引.rarCalendar Calculation.zipcarbon.rarCompact Flash Memory Write.zipCounter Multiplex.zipcp1h 高速计数触发中断注意点.rarcp1h-x40用在非标饮料线上的程序,有注解.rarCP1H与爱默生温控模块的通讯程序.rarCP1L and CP1H EasyModbus FB.zipCPM1A编写的赞扬15T立式注塑机.rarCPM2A Interupt High Speed Counting Sample.zipCPM2A自身时钟六个时间段触发程序.rarCQM1 Host Link Master.zipCQM1H 21的例子程序,有温度压力等PID控制。.rarCQMaster.swp.zipCS CJ CP NSJ password set.zipCS1 C Mode Hostlink.zipCS1-CJ1 Floating Point to Fixed Point Conversion for HMI.zipcub.rarCX-Programmer Ver.5 Introduction Guide R120-E1-01..zipCX-Programmer Ver.5 Introduction to Function Blocks Guide R121-E1-01.zipC_Mode_Hostlink.zipDeviceNet Explicit Message Example.zipdieban.rarEasy to use Modbus RTU Master for CP1L CP1H CJ1 CJ2 CS1.zipExample of Using Daylight Saving FB's.zipExample Scale Meter Protocol.zipFB Calculate Day Of Week.zipFB Day light savings function block.zipFB Extract Time Date into SecMin Hr Day Mth Yr.zipFB Scale with parameters.zipGKF1250离心机CXP.rargkf1250离心机cxpgkf离心机omron.rarJH21-200程序.rarLED液压机.rarlogging+ filewrite.ziplpr-des.rarModbus Protocol Macro Object Code.zipModbus Protocol Macro.zipModbus RTU Sample Code CJ1-SCB.rarModbus TCP Client using FB's.zipOmron CS1 Sequencer.zipOMRON E6CP绝对值编码器使用实例。编码器为8位格雷码输出.rarOmron Modbus Slave Ladder.zipOmron Plc 变频一带三例程.rarOMRON PLC编程示范.raromron--MOV傳送指令.raromron-cs1g-h-cpu42日本机的程序.rarOmron_CJ2_to_AB_EIP_Tag_Datalink_Example.rarOMRON接驳台.rarOMRON控制2伺服.rarOMRON温度,压力模拟量输入程序.rarOMRON照明设备程序.raromron的PLC案例程序.rarOMRON程序举例.rarOMRON程序举例2.rarOMRON纸病分析系统-PLC程序(CJ1G).zipomron脉冲输出到驱动器的程序.rarPCB 沉铜线程序.rarPID温度控制的PLC程序设计实例.rarPinstamp.zipPLC Clock adjustment with screen.zipPLC锰钢程序cpm2a.zipPolls and Writes setpoints to E5CK Process Controller - E5CK.swp.zipPRO9连拉.rarProcess states sequence logics.zipQuadrature Input for Standard CPM1A DC Inputs.zipRandom Number Generator.zipScaling in CJ1 CS1 PLC's.zipSMS - GSM PLC Communications.zipsony 公司 某机台控制程序.rarStepNext.cpt.zipSTUP Example.zipTemplate for Step-Step Next Sequence.zipToggle Button.zipTracking product on conveyor.zipTXD-RXD Quickstart Programs.zipTXD-RXD Serial Port Handling.zipUseable timer.zipV600-E5CK.zipV700-V720 RFID Protocol Macro.zipVB与OMRON PLC通讯源码.rarWoodwood Controler Example Protocol Program.zipYH32-315油压机程序.rar一个CJ1M的程序.rar一个OMRON程序,带位置控制模块.rar一个生产线上润滑控制的小程序.rar一些简单的cpm1a程序.rar一控三恒压供水程序.rar三层提升机欧姆龙CQM1H程序.rar三菱400吨和200号冲床程序.rar上海产自动模切机飞达部程序.zip上海狮印全自动啤机程序.rar东芝压铸机梯形图.rar两步法吹瓶机.rar乡林剪台.rar买书的随书样例.rar井研磨边机.rar交通灯注释全.rar今机立式注塑机程序.rar伺服电机正反转控制.rar位置控制(旋转编码器与PLC).rar充磁机程序.rar先启后停 后启先停 事例.rar冲床程序.rar分拣线主机一个CJ1M的分拣线程序下挂CP1H.rar利慧利乐灌装机程序.rar刮水器停止位置检查程序.rar力泰翻胚机程序.rar北人04印刷机程序.rar北人LQD10骑马装订程序.rar半自动吹瓶机的程.rar南京印刷机.zip卡板程式.rar压制机程序(带解释,注释).rar压力机控制程序.rar原创液压机程序带注释欧姆龙PLC加信捷文本.rar原点搜索程序.rar双翻分拣机.rar双边机.rar反渗透整套PLC控制.rar台湾产染色机欧姆龙PLC带3只IO扩展控制程序.rar台湾大拉无板.rar啤酒厂酒瓶美容机.rar四川绵阳建丰热磨工段.rar在用设备程序.rar垂直涂布.rar外端子设计数值.rar大型热电厂 PLC程序(带注解).rar大摇动超声波清洗机.rar大连75密练注释程序.rar安呼12级.rar富佳扶梯程序.rar对齐度编程!!.rar小车控制程序.rar小车送料”例程.rar广东锻压气压冲床程序(80T)有详细注解.rar广告牌灯箱.rar微电机刷簧自动组装程序.rar微粉砖自动送料带OMRON CQM2A+扩展程序带注释.rar意大利进口皮革压花.rar扎钢机程序.rar打包机.rar拔盖机.rar拨码控制.rar挡砖磨边机(新1).rar捷豹空压机控制程序.rar接木机.rar控制程序例子.rar推挂.rar攻丝机2(新).rar料位显示.rar旋转门控制程序1.rar无协议.rar无心磨床(OMRON系统,带机械手有详细注解).rar无线胶装机欧姆龙程序.zip日本人编的程序 抛光研磨.rar日本成型磨床控制程序(附注释)欧姆龙CPM1A.rar板坯定厚.rar样例,有注释.rar模拟量试验.rar欧姆龙CJ1M铬化机程序带注释.rar欧姆龙CP1H例程.rar欧姆龙CPM1A的PLC.rar欧姆龙CPM2AH PLC和欧姆龙NTZ触摸屏编写的超声波清洗机程序..rar欧姆龙CPM2AH Host Link通讯程序(发布源码).rar
上传时间: 2021-10-22
上传用户:
学习本章要达到的目标:口1.理解 Linux内核编译选项的含义口2.学会根据不同的硬件配置裁减定制内核;口3.理解内核编译过程中每一步的功能,并编译 Linux2.630内核。需要去重新编译 Linux内核口增加操作系统对新的硬件设备的支持口增加内核新的功能口对内核代码或内核配置进行优化时Prompt for development and/or incomplete code/drivers口显示处于开发调试中或尚未完善的代码或驱口选中:如果是测试人员或者开发者;口不选:其他情况Local version append to kerne release口追加本地版本号口使用命令“uname-a”进行查看。POSIX Message Queues口 POSIX消息队列的支持,这是 POSIX进程间通信的一部分BSD Process Accounting口将进程的统计信息写入文件口信息通常包括建立时间、所有者、命令名称、内存使用、控制终端等,这个选项一般是选择的。Enable loadable module support口使能可加载模块支持口如果使能此选项则可以通过"makemodules_insta"把内核模块安装在/lib/modules/中Kernel support for ELF binaries口内核对ELF文件格式的支持口ELF是开放平台下最常用的二进制文件格式支持动态连接,支持不同的硬件平台Kernel support for a out and ECOFF binaries口早期UNIX系统的可执行文件格式,目前已经被ELF格式取代Unix domain sockets口本机高效率的 Socket口仅能运行在本机上的高效率的 Socket,简称 Unix socket。口很多进程使用为这种机制在操作系统内部进行进程间通信,例如 X Window和 syslog等TCP/IP networking口TcP/IP网络协议的支持
标签: linux
上传时间: 2022-03-29
上传用户:kingwide
系统简介:1.单片机+LCD1602液晶显示器+三极管放大电路+蜂鸣器+按键+DS18B20+GSM远程报警等设计。2. 3个按键对应3个不同的功能,设定值加1、设定值减1和蜂鸣器检测。3. 5V可使用USB供电。4. DS18B20温度传感器模块实现对温度的检测。测量范围-50~120摄氏度,常温LCD1602显示25.0摄氏度左右,温度精度在0.1℃;误差±0.2℃以内.温度变化时,显示值将变化。蜂鸣器就会报警。启动GSM短信报警功能。默认设定值31摄氏度(方便用人体模拟)。5.采用三极管进行输出放大,驱动能力强、蜂鸣器显示效果更好!6. 特点:稳定、操作起来非常方便,上电就可以使用。7.佩戴引出I/O接口(40个排针),用于连接下载器下载程序, 方便进行升级调试.操作说明:S0:复位键 S1:设定值加1 S2:设定值减1 S3:蜂鸣器检测 1、 上电/S0复位:液晶显示“Detect System” “Temp=25.0 32.0” ,对应检测温度和设定报警温度。检测传感器表面温度,显示值变化。2、按S1、S2键:可以实现设定温度的加减操作。3、按S3键:检测蜂鸣器响声。4、可以用手抓住温度传感器,模拟温度检测。检测到温度变化后、液晶显示值变化,当检测温度大于设定温度时,蜂鸣器就会报警。并发送“DS18B20 Warning!”信息到指定手机。5、发送短信时,第一行显示将发送变化:“message sending” “the sending ok” 6、手机卡记得插到卡槽里噢
上传时间: 2022-06-09
上传用户:
pcie(PCI-Express)处理层协议中文详解处理层协议(transaction Layer specification)◆TLP概况。◆寻址定位和路由导向。◆i/o,.memory,configuration,message request、completion 详解。◆请求和响应处理机制。◆virtual channel(ve)Mechanism虚拟通道机制。◆data integrity 数据完整性。一.TLP概况处理层(transaction Layer specification)是请求和响应信息形成的基础。包括四种地址空间,三种处理类型,从下图可以看出在transaction Layer中形成的包的基本概括。一类是对io口和memory的读写包(TLPS:transaction Layers packages),另一类是对配置寄存器的读写设置包,还有一类是信息包,描述通信状态,作为事件的信号告知用户。对memory的读写包分为读请求包和响应包、写请求包(不需要存储器的响应包)。而io类型的读写请求都需要返回I/O口的响应包,
标签: pcie
上传时间: 2022-06-30
上传用户: