⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prog_fixed.c

📁 一款收款机C源代码!因为是几年前的代码了
💻 C
📖 第 1 页 / 共 2 页
字号:
                                                            {"Round Kind"},
                                                            {"Round off"},  
                                                            {"Round Up"},
                                                            {"Round down"}    
                                                        };
const char          Str_FCE_Dots[]                  =   {"Dots"};
const char          Str_FCE_Rate_oprate[]           =   {
                                                            {"Rate Operate"},
                                                            {"Rate : 1"},
                                                            {"1 :Rare"}
                                                        };

const char          Str_PCASH[]                     =   {"PRESET CASH"};
const char          Str_PCASH1[]                    =   {"- PCASH-1"};
const char          Str_PCASH2[]                    =   {"- PCASH-2"};
const char          Str_PCASH3[]                    =   {"- PCASH-3"};
const char          Str_PCASH4[]                    =   {"- PCASH-4"};
const char          Str_PCASH_Price[]               =   {"- price"};
const char          Str_PCASH_DESC[]                =   {"- DESC"};
const char          Str_CHARGE[]                    =   {"CHARGE DECSRIPTION"};
const char          Str_CHARGE1[]                   =   {"- Chagge-1"};
const char          Str_CHARGE2[]                   =   {"- Chagre-2"};
const char          Str_CHARGE3[]                   =   {"- Charge-3"};
const char          Str_CHARGE4[]                   =   {"- Charge-4"};
const char          Str_CHARGE5[]                   =   {"- Charge-5"};
const char          Str_MISC[]                      =   {"MISCELLANEOUS DESCRIPTION"};
const char          Str_MISC1[]                     =   {"- MISC-1"};
const char          Str_MISC2[]                     =   {"- MISC-2"};
const char          Str_MISC3[]                     =   {"- MISC-3"};
const char          Str_MISC4[]                     =   {"- MISC-4"};
const char          Str_MISC5[]                     =   {"- MISC-5"};


//--------------------------PRINTING SETTING------------------------------------------------
const char Str_Prog_PrnPara_Menu[][MAX_TEXT-4+1]      =   {
                                                            {"Print Date on receipt       "},	//Print Date on receipt?
                                                            {"Print Time on reeipt        "},	//Print Time on reeipt? 
                                                            {"Print Clerk on receipt      "},	//Print Clerk on receipt?
                                                            {"Print Header on receipt     "},	//Print Header on receipt?
                                                            {"Print footer on receipt     "},	//Print footer on receipt?
                                                            {"Print Tax Amount on receipt "},	//Print Tax Amount on receipt?
                                                            {"Print Tax Total on receipt  "},	//Print Tax Total on receipt?
                                                            {"Print Blank line on receipt "},	//Print Blank line on receipt?
                                                            {"Print Sbttl when [SBT] done "},   //Print the Subtotal on receipt?
                                                            {"Print Machine# on receipt   "},   //Print the machine No. on receipt?
                                                            {"Print Receipt# on receipt   "},   //Print the receipt No. on receipt? 
                                                            {"Zero item skip for report   "},   //Zero item skip when X/Z report printing?
                                                            {"Z report second copy Active "},   //Z report second copy Active or not?
                                                            {"Multiple receipt allowed    "},   //Multiple receipt allow or not?
                                                            {"Print the Z counter         "},   //Print the Z counter to Z report?
                                                            {"Print Dept# when PLU sale   "},   //Print Dept No. when PLU sale?
                                                            {"Print #/NS information      "},   //Print the receipt when #/NS key is depressed?
                                                            {"Print the sale receipt      "},   //Print the sale receipt or not?
                                                            {"PLU sale's print format     "},   //PLU sale's print format
                                                            {"Picture Logo print          "},
                                                            {"Position of Logo print      "},   //Position of picture logo select
                                                            {"default parameters setting  "}
                                                        };                                                 

const char Str_Format[]         =  {"Format"};
const char Str_PLU_PrnFmt_Sel[][MAX_TEXT +1]        =   {
                                                            {"name and price only"},
                                                            {"barcode and PLU # only"},
                                                            {"name and PLU#/Barcode only "},
                                                        };
const char Str_Logo_Posi_Sel[][4+1]  =   {
                                                            {"Top"}, 
                                                            {"Foot"},
                                                        };

//---------------------SYSTEM CONFIG----------------------------------------------------------------
const char Str_SysCnfg_Menu[][MAX_TEXT+1]           =   {
                                                        	{"Date Format"},					//Date Format: DD-MM-YY/MM-DD-YY/YY-MM-DD   						
                                                            {"Time Format"},                    //Time Format: 24 hour or 12 hour with AM/PM
                                                            {"Language choice"},                //Language choice (English/French/Spanish)  
                                                            {"Brightless of TFT display "},     //Brightless of TFT display                       
                                                            {"Power saving"},                   //Power saving                                    
                                                            {"Tax system (USA/VAT/GST-PST)"},   //Tax system (USA/VAT/GST-PST)                    
                                                            {"Decimal place select"},           //Decimal place select                            
                                                        };
const char Str_DateFmt_Sel[][MAX_BTN_DESC_LEN+1]    =   {
                                                            {"DD-MM-YY"},
                                                            {"MM-DD-YY"},
                                                            {"YY-MM-DD"},
                                                        };

const char Str_TimeFmt_Sel[][MAX_BTN_DESC_LEN+1]    =   {
                                                            {"24-hour"},
                                                            {"12-hour whit AM/PM"}
                                                        };
const char Str_Language_Sel[][MAX_BTN_DESC_LEN+1]   =   {
                                                            {"English"},
                                                            {"French"},
                                                            {"Spanish"}
                                                        };
const char Str_TaxSys_Sel[][MAX_BTN_DESC_LEN+1]     =   {
                                                            {"Add-on Tax (USA)"},
                                                            {"VAT"},
                                                            {"GST-PST"}
                                                        };
//------------------------OTHERS-----------------------------------------------------------------------
const char  Str_ParaSet_Menu2[][MAX_TEXT+1]         =   {
                                                            {"430 -- Date/time adjustment     "},
                                                            {"431 -- Currency symbol select   "},
                                                            {"432 -- Price modifier time set  "},
                                                            {"433 -- secrecy Set              "},
                                                            {"434 -- Serial port parameter set"},
                                                            {"435 -- Weighing PLU ID set      "},
                                                            {"436 -- Parameters Set           "},
                                                            {"437 -- options selection        "},
                                                            {"438 -- Print out all parameters "},
                                                            {"439 -- Store parameters to FLASH"},
                                                            {"440 -- Load parameter from FLASH"},
                                                            {"441 -- ISP update               "},
                                                        };
const char Str_secrecySet_Menu[][MAX_TEXT*2+1]      =   {
                                                            {"X mode passcode preset"},
                                                            {"Manager mode(Z/PRG) passcode preset"},
                                                        };
const char Str_PortSet_Step[][MAX_TEXT*2+1]         =   {
                                                            {"Serial port parameter preset"},
                                                            {"Serial port device selection"},
                                                        };
const char Str_ParaSet_Menu3[][MAX_TEXT+1]          =   {
                                                            {"HALO amount set"},
                                                            {"Picture logo choice"},
                                                            {"Machine# set"},
                                                            {"Receipt Number set"},
                                                            {"Daily Z counter set"},
                                                            {"CID Limitation amount set"},//CID ( Cash In Drawer) Limitation amount preset
                                                            {"Start ground total amount input"},
                                                        };
const char Str_ParaSet_Menu4[][MAX_TEXT+1]          =   {
                                                            {"Compulsory amount tend when payment"},
                                                            {"% IN DEPT"},
                                                            {"Inventory function active"},
                                                            {"Zero price for Dept/PLU sale"},
                                                            {"EJ features active"},
                                                            {"Clerk System active"},
                                                            {"Clerk passcode active"},
                                                            {"Dept Shift key active"},
                                                            {"DPLU shift key active"},
                                                            {"Reset the receipt# after daily Z report printed"},
                                                            {"Reset the Z counter aftere daily Z report printed"},
                                                            {"Reset the Ground Total after daily Z report printed"},
                                                        };


const	char	STR_YES_No[][4] ={{"NO"}, {"YES"}};
const char          Str_Plu_Atv_Yes[]               =   {"Yes"};
const char          Str_Plu_Atv_No[]                =   {"No"}; 
const char          Str_Act_Sel[][MAX_BTN_DESC_LEN+1]   =   {{"Not Active"}, {"Active"}};





⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -