Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C++ ´úÂë¸Äjava´úÂë ¼±¼±£¡£¡

typedef struct 
{
    BYTE    baOrigMDN[8];      /* Ö÷½ÐÓû§MDN */
    BYTE    baDestMDN[8];      /* ±»½ÐÓû§MDN */
    BYTE    bOrigIsVIP;         /* ¶ÔSPÎÞÓÃ*/
    BYTE    bMsgIsSeed;        /* ¶ÌÏûÏ¢ÊÇ·ñÖÖ×Ó */
    BYTE    baSeedID[6];        /* ÖÖ×Ó¶ÌÐÅID */
    BYTE    baQijiSeedID[6];     /* ÖÖ×Ó¶ÌÐÅID±êʾ */
}csrMTSMsgStrc_T;
ÈçºÎ½«baQijiSeedID[6]µÄÄÚÈÝת³Éʱ¼ä×Ö·û´®£¨YYYYMMDDHHMMSS£©µÄËã·¨£º
BYTE baTimeTmp[6] ={0};
CHAR caSubmitTime[20] = {0};  //ÄÚÈÝΪYYYYMMDDHHMMSSµÄʱ¼ä
memcpy(baTimeTmp, baQijiSeedID, 6); //°ÑbaQijiSeedIDÄÚ´æÇøÓòµÄ6¸ö×Ö½Ú¸´ÖƵ½baTimeTmp
if (0x80 == (baQijiSeedID [4] & 0xC0))
{
baTimeTmp[0] = 0;
}
if (0x20 == (baQijiSeedID [4] & 0x30))
{
baTimeTmp[1] = 0;
}
if (0x08 == (baQijiSeedID [4] & 0x0C))
{
baTimeTmp[2] = 0;
}
if (0x02 == (baQijiSeedID [4] & 0x03))
{
baTimeTmp[3] = 0;
}
csfClockDecodeProc(baTimeTmp, (BYTE *) caSubmitTime);
 
// ʱ¼ä½á¹¹
typedef struct
{
        BYTE                second;
        BYTE                minute;
        BYTE                hour;
        BYTE                day;
        BYTE                month;
        WORD                year;
        BYTE                wee


Ïà¹ØÎĵµ£º

Eclipse Java×¢ÊÍÄ£°åÉèÖÃÏê½â

Eclipse Java×¢ÊÍÄ£°åÉèÖÃÏê½â
src url£ºhttp://blog.csdn.net/ahhsxy/archive/2009/09/11/4542682.aspx
ÉèÖÃ×¢ÊÍÄ£°åµÄÈë¿Ú£º Window->Preference->Java->Code Style->Code Template È»ºóÕ¹¿ªComments½Úµã¾ÍÊÇËùÓÐÐèÉèÖÃ×¢Ê͵ÄÔªËØÀ²¡£ÏÖ¾Íÿһ¸öÔªËØÖðÒ»½éÉÜ£º
Îļþ(Files)×¢ÊͱêÇ©£º
/**  
......

java jsonÖ®¼äµÄһЩÊÂÇ飬»¹ÓÐÀý×Ó

1¡£ÒªÓõ½µÄ°üÓУº
2.json , javaÖ®¼ä»ù±¾ÀàÐ͵Äת»»£¬
  StringBuffer sb = new StringBuffer("{'name':'oop'}");
  
  JSONObject jo = JSONObject.fromObject(sb.toString());
  
  Map<String,Object> map = new HashMap<String,Object>();
&nbs ......

javaµÄ¼¸ÖÖ¶ÔÏó(PO,VO,DAO,BO,POJO)½âÊÍ

   Ò»¡¢PO:
persistant object
³Ö¾Ã¶ÔÏó,¿ÉÒÔ¿´³ÉÊÇÓëÊý¾Ý¿âÖеıíÏàÓ³ÉäµÄjava¶ÔÏó¡£×î¼òµ¥µÄPO¾ÍÊǶÔÓ¦Êý¾Ý¿âÖÐij¸ö±íÖеÄÒ»Ìõ¼Ç¼£¬¶à¸ö¼Ç¼¿ÉÒÔÓÃPOµÄ¼¯ºÏ¡£POÖÐÓ¦¸Ã²»°ü
º¬ÈκζÔÊý¾Ý¿âµÄ²Ù×÷¡£
   ¶þ¡¢VO
:value
objectÖµ¶ÔÏó¡£Í¨³£ÓÃÓÚÒµÎñ²ãÖ®¼äµÄÊý¾Ý´«µÝ£¬ºÍPOÒ»ÑùÒ²Êǽö½ö°üº¬Êý¾ ......

java action ·¾¶ÎÊÌâ

StringBuilder path = new StringBuilder(request.getScheme());
  path.append("://").append(request.getServerName());
  path.append(":").append(request.getServerPort()).append(request.getContextPath());
  System.out.println("***********path:" + path);
  Syste ......

JAVAÐÔÄÜ/¸ºÔØ/ѹÁ¦²âÊÔ¹¤¾ß

1.      LoadRunner£ºÖ§³Ö¶àÖÖ³£ÓÃЭÒé¶àÇÒ¸ö±ðЭÒéÖ§³ÖµÄ°æ±¾±È½Ï¸ß£»¿ÉÒÔÉèÖÃÁé»îµÄ¸ºÔØѹÁ¦²âÊÔ·½°¸£¬¿ÉÊÓ»¯µÄͼÐνçÃæ¿ÉÒÔ¼à¿Ø·á¸»µÄ×ÊÔ´£»±¨¸æ¿ÉÒÔµ¼³öµ½Word¡¢ExcelÒÔ¼°HTML¸ñʽ¡£
2.       WebLoad£ºwebloadÊÇRadView¹«Ë¾ÍƳöµÄÒ»¸öÐÔÄܲâÊԺͷÖÎö¹¤¾ß,Ëü ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ