关于 !define /date

本文详细介绍了NSIS日期插件中各种日期格式符号的含义及应用,包括日期、时间、星期、月份等元素的表示方法,为开发者提供了一站式的日期格式解析指南。

  Details of  !define /date
     %a    abbreviated weekday name (Sun)
     %A    full weekday name (Sunday)
     %b    abbreviated month name (Dec)
     %B    full month name (December)
     %c    date and time (Dec  2 06:55:15 1979)
     %d    day of the month (02)
     %H    hour of the 24-hour day (06)
     %I    hour of the 12-hour day (06)
     %j    day of the year, from 001 (335)
     %m    month of the year, from 01 (12)
     %M    minutes after the hour (55)
     %p    AM/PM indicator (AM)
     %S    seconds after the minute (15)
     %U    Sunday week of the year, from 00 (48)
     %w    day of the week, from 0 for Sunday (6)
     %W    Monday week of the year, from 00 (47)
     %x    date (Dec  2 1979)
     %X    time (06:55:15)
     %y    year of the century, from 00 (79)
     %Y    year (1979)
     %Z    time zone name, if any (EST)
     %%    percent character %

Ref:
http://nsis.sourceforge.net/NSIS-Date_plug-in

/************************************** Copyright 2009, Chint Power System Ltd. Co. File Name: Invcontroller.c Description: This file gives definition and implementation of Inverter control function Version : V1.0 Author: Zhou xu Date:2011-11-17 **************************************/ /**** head-files including****/ #include "Funheader.h" /**** macro definition****/ #define cFreq60Hz 15360 #define cFreq50Hz 12800 //macro constant for Clarke and Park converter #define cDivide3 5461 //Q14 #define cSqrt3 28378 //Q14 #define cDivideSqrt3 9459 //Q14 #define c3Divide2 24576 //Q14 //macro constant for svm use #define cSqrt3Divide2 14189 //Q14 sqrt(3)/2 *Q14 = 14189 #define cSqrt3Divide3 9459 //Q14 sqrt(3)/3 *Q14 = 9459 //macro constant for PLL use #define cSinTabNumb 720 #define cPLLMaxFreqAdjust 904 //Q4 [9Hz*2*pi*Q4 = 1005] #define cPLLFreqAngleGain 42723 //Q20 1/16/8000/pi*180*32768/360 Q20 #define cPLLAngleGainOpen 16777 //cPLLFreqAngleGain * 2 * pi * 16 / 256 8kHz #define cDCI40mA 320 //Q3 #define cDCI64mA 512 //Q3 #define cDCI150mA 1200 //Q3 #define cVSBusVoltFiltGainNum 158 #define cVSBusVoltFiltGainDen 3938 #define cBusSumDivideGridD 702 //8kHz #define cBusSumVoltFiltGainNum 410//208//105 #define cBusSumVoltFiltGainDen 3686//3888//3991 #define cBusSumVoltVKp 5147//5147//2574 #define cBusSumVoltVKi 12//24//6 #define cBusSumVoltKaw 10//19//10 #define cDCCurrFiltGainNum 410 #define cDCCurrFiltGainDen 3686 #define cDCCurrKp 1086//5147 #define cDCCurrKi 2//12 #define cDCCurrKaw 9//10 #define cBusDiffVoltFiltGainNum 0 //8kHz #define cBusDiffVoltFiltGainDen 0 #define cBusDiffVoltKp 774 #define cBusDiffVoltKi 1 #define cBusDiffVoltKaw 1 #define cInvOsCurrLimitHigh 16383 #define cInvOsCurrLimitLow -16383 #define cGridVoltFiltGainNum 26// 26 #define cGridVoltFiltGainDen 998// 998 #define cGridVoltKp 1112//1112//2224//1112 #define cGridVoltKi 5//5//3 #define cGridVoltKaw 10//10//10 //================================== //inverter control #define cInvCurrFiltGainNum 4090//3826// 3498 //3826//3498//3526//3498 //8kHz #define cInvCurrFiltGainDen 6//270// 598 //270//598//570//598 #define cInvCurrKp 9780*2// 4427 // 9780//4427//4632//4427 #define cInvCurrKi 355*2// 57// 355//57//130//57 #define cInvCurrKaw 149// 53// 149//53//115//53 #define cVSCurrFiltGainNum 3045//3826// 3045 #define cVSCurrFiltGainDen 1051//270//1051 #define cVSCurrKp 4890//9780// 4890 #define cVSCurrKi 89//355// 89 #define cVSCurrKaw 74//149// 74 #define cInertiaInvJ 2712;//3255//6510//15523//3255//31047//1/J/8000 Q20 J = D * T 0.02s #define cVSVoltIngQKi 279//556//279//K = T * w * Kv; 0.01s #define cInvPwmK 1135 #define cInvPwmKRec 7390 #define cInvModuLimitHigh 8191 #define cInvModuLimitLow -8191 #define cInvChkUdComp 16321//16182 //16224//16135////15897 #define cInvChkUqComp 1427//2595 //2302//2889////4085 //macro constant for svm use #define cMaxPwm 8160//8191 // #define cMinPwm 32//15 // update on 20100225 for DPWMMIN //50 //==========================================
最新发布
12-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值