Based on the MVC form of the alumni communication system, is suitable for the class in the message, to see the class, the administrator can publish information to all the people, the general staff can see their own
// 學(xué)生管理.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;
}
// 學(xué)生管理.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;
}
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
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.
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)
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.
歐母龍PLC例程PLC控制器源碼255個(gè)合集:1600T俄羅斯壓力機(jī).rar200噸壓機(jī)程序 omron 的機(jī)子C系列的.rar3MK136舊磨床現(xiàn)程序.rar3電機(jī)延時(shí)控制啟停.rar5V編碼器信號(hào)如何接入CP1H高數(shù)計(jì)數(shù)案例.rar6路搶答器源碼.rar902002 OMRON.rarASCII Generic Protocol Macro Object Code.zipASCII Generic Protocol Macro.zipC3電樞異物吸引.rarCalendar Calculation.zipcarbon.rarCompact Flash Memory Write.zipCounter Multiplex.zipcp1h 高速計(jì)數(shù)觸發(fā)中斷注意點(diǎn).rarcp1h-x40用在非標(biāo)飲料線(xiàn)上的程序,有注解.rarCP1H與愛(ài)默生溫控模塊的通訊程序.rarCP1L and CP1H EasyModbus FB.zipCPM1A編寫(xiě)的贊揚(yáng)15T立式注塑機(jī).rarCPM2A Interupt High Speed Counting Sample.zipCPM2A自身時(shí)鐘六個(gè)時(shí)間段觸發(fā)程序.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離心機(jī)CXP.rargkf1250離心機(jī)cxpgkf離心機(jī)omron.rarJH21-200程序.rarLED液壓機(jī).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絕對(duì)值編碼器使用實(shí)例。編碼器為8位格雷碼輸出.rarOmron Modbus Slave Ladder.zipOmron Plc 變頻一帶三例程.rarOMRON PLC編程示范.raromron--MOV傳送指令.raromron-cs1g-h-cpu42日本機(jī)的程序.rarOmron_CJ2_to_AB_EIP_Tag_Datalink_Example.rarOMRON接駁臺(tái).rarOMRON控制2伺服.rarOMRON溫度,壓力模擬量輸入程序.rarOMRON照明設(shè)備程序.raromron的PLC案例程序.rarOMRON程序舉例.rarOMRON程序舉例2.rarOMRON紙病分析系統(tǒng)-PLC程序(CJ1G).zipomron脈沖輸出到驅(qū)動(dòng)器的程序.rarPCB 沉銅線(xiàn)程序.rarPID溫度控制的PLC程序設(shè)計(jì)實(shí)例.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 公司 某機(jī)臺(tái)控制程序.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油壓機(jī)程序.rar一個(gè)CJ1M的程序.rar一個(gè)OMRON程序,帶位置控制模塊.rar一個(gè)生產(chǎn)線(xiàn)上潤(rùn)滑控制的小程序.rar一些簡(jiǎn)單的cpm1a程序.rar一控三恒壓供水程序.rar三層提升機(jī)歐姆龍CQM1H程序.rar三菱400噸和200號(hào)沖床程序.rar上海產(chǎn)自動(dòng)模切機(jī)飛達(dá)部程序.zip上海獅印全自動(dòng)啤機(jī)程序.rar東芝壓鑄機(jī)梯形圖.rar兩步法吹瓶機(jī).rar鄉(xiāng)林剪臺(tái).rar買(mǎi)書(shū)的隨書(shū)樣例.rar井研磨邊機(jī).rar交通燈注釋全.rar今機(jī)立式注塑機(jī)程序.rar伺服電機(jī)正反轉(zhuǎn)控制.rar位置控制(旋轉(zhuǎn)編碼器與PLC).rar充磁機(jī)程序.rar先啟后停 后啟先停 事例.rar沖床程序.rar分揀線(xiàn)主機(jī)一個(gè)CJ1M的分揀線(xiàn)程序下掛CP1H.rar利慧利樂(lè)灌裝機(jī)程序.rar刮水器停止位置檢查程序.rar力泰翻胚機(jī)程序.rar北人04印刷機(jī)程序.rar北人LQD10騎馬裝訂程序.rar半自動(dòng)吹瓶機(jī)的程.rar南京印刷機(jī).zip卡板程式.rar壓制機(jī)程序(帶解釋?zhuān)⑨專(zhuān)?rar壓力機(jī)控制程序.rar原創(chuàng)液壓機(jī)程序帶注釋歐姆龍PLC加信捷文本.rar原點(diǎn)搜索程序.rar雙翻分揀機(jī).rar雙邊機(jī).rar反滲透整套PLC控制.rar臺(tái)灣產(chǎn)染色機(jī)歐姆龍PLC帶3只IO擴(kuò)展控制程序.rar臺(tái)灣大拉無(wú)板.rar啤酒廠酒瓶美容機(jī).rar四川綿陽(yáng)建豐熱磨工段.rar在用設(shè)備程序.rar垂直涂布.rar外端子設(shè)計(jì)數(shù)值.rar大型熱電廠 PLC程序(帶注解).rar大搖動(dòng)超聲波清洗機(jī).rar大連75密練注釋程序.rar安呼12級(jí).rar富佳扶梯程序.rar對(duì)齊度編程!!.rar小車(chē)控制程序.rar小車(chē)送料”例程.rar廣東鍛壓氣壓沖床程序(80T)有詳細(xì)注解.rar廣告牌燈箱.rar微電機(jī)刷簧自動(dòng)組裝程序.rar微粉磚自動(dòng)送料帶OMRON CQM2A+擴(kuò)展程序帶注釋.rar意大利進(jìn)口皮革壓花.rar扎鋼機(jī)程序.rar打包機(jī).rar拔蓋機(jī).rar撥碼控制.rar擋磚磨邊機(jī)(新1).rar捷豹空壓機(jī)控制程序.rar接木機(jī).rar控制程序例子.rar推掛.rar攻絲機(jī)2(新).rar料位顯示.rar旋轉(zhuǎn)門(mén)控制程序1.rar無(wú)協(xié)議.rar無(wú)心磨床(OMRON系統(tǒng),帶機(jī)械手有詳細(xì)注解).rar無(wú)線(xiàn)膠裝機(jī)歐姆龍程序.zip日本人編的程序 拋光研磨.rar日本成型磨床控制程序(附注釋?zhuān)W姆龍CPM1A.rar板坯定厚.rar樣例,有注釋.rar模擬量試驗(yàn).rar歐姆龍CJ1M鉻化機(jī)程序帶注釋.rar歐姆龍CP1H例程.rar歐姆龍CPM1A的PLC.rar歐姆龍CPM2AH PLC和歐姆龍NTZ觸摸屏編寫(xiě)的超聲波清洗機(jī)程序..rar歐姆龍CPM2AH Host Link通訊程序(發(fā)布源碼).rar