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

📄 prog_fixed.c

📁 一款收款机C源代码!因为是几年前的代码了
💻 C
📖 第 1 页 / 共 2 页
字号:
/********************************************************************

 此文件全部存放编程模式需要显示和打印的字符串常量.
 注意尽量不要使用指针数组, 以免在将来扩展其他语言版面时造成不便

********************************************************************/
const char  Str_Prog_Enter[]                        =   {"After confirm, press ENTER"};

const char  Str_Modify_Step[][2*MAX_TEXT+1]         =   {
                                                            {"Press [Enter] to start"},
                                                            {"Input the description, confirm with [Enter]"},
                                                            {"Input number, confirm with [Enter]"},
                                                            {"choose the right button on the pop window"},
                                                        };
const char  Str_ProgMain_Menu[][MAX_TEXT+1]         =   {
                                                        	{"401 -- Dept Setting"},
                                                        	{"402 -- PLU  Setting"},
                                                            {"403 -- PARAMETER SETTING"},
                                                        	{"404 -- PRINTING SETTING"},
                                                        	{"405 -- SYSTEM CONFIG"},
                                                        	{"406 -- OTHERS"},
                                                        };
const char  Str_Step_Cursor[]                       =   {"->"};

//----------------------------dept------------------------------------------------------------------------------------------------------
const char Str_Dept_Prog_Step[MAX_DEPT_STEP+1][MAX_TEXT+1] = {
                                                            {"Department XX"},         
                                                            {"  Name"},         
                                                            {"  HDLO"},         
                                                            {"  PRICE"},        
                                                            {"  TAX"},          
                                                            {"  Group"},        
                                                            {"  MODE"},         
                                                            {"  TYPE"},         
                                                            {"  Age"},          
                                                            {"  KP"},           
                                                            {"Next Item"},    
                                                        };

const char			Str_Dept_Mode[][MAX_TEXT+1]		=	{
                                                            {"Standard"},
                                                            {"Gallonage"},
                                                            {"Negative"}        
                                                        };
const char			Str_Dept_Type[][MAX_TEXT+1]		=	{
                                                            {"Normal"},
                                                            {"Single"}
                                                        };
const char Str_Dept_Prog_Step_desc[MAX_DEPT_STEP][2*MAX_TEXT+1] = {
                                                            {"Input Department name"},											
                                                            {"Select highest amount Lock-out for this dept"},
                                                            {"Input the price"},         
                                                            {"Select the tax rate or non-taxable"},
                                                            {"Input the Group No.(0~9)"},         
                                                            {"Select the Sale Mode"},
                                                            {"Select the type"},         
                                                            {"Set the Age Limit type"},         
                                                            {"Set Kitchen Printer active or not"},
                                                            {"[Enter] -> Next department"},         
                                                        };

//----------------------------PLU------------------------------------------------------------------------------------------------------
const char Str_Plu_Prgram[MAX_PLU_STEP+1][2*MAX_TEXT+1] = {
                                                        	{"Input or scan barcode"},
                                                        	{"Input PLU name"},
                                                        	{"Standard Price"},
                                                        	{"Discount price A"},
                                                        	{"Discount price B"},
                                                        	{"Input the linked dept No."},
                                                        	{"Normal / Gift PLU"},
                                                        	{"Allow to sale / Nat Allow to Sale"},
                                                        	{"Change inventory quantity"},
                                                        	{"Set the saftely inventory quantity"},
                                                        	{"In Put the PLU  Group No."},
                                                        };
const char          Str_PLU_Prog_Step[][MAX_TEXT+1] =   {
                                                            {"PLU#XX"}, 
                                                         #ifdef SCANNER        
                                                            {"  Barcode"},
                                                         #endif        
                                                            {"  Name"},
                                                            {"  Price1"},
                                                            {"  Price2"},
                                                            {"  Price3"},
                                                            {"  Dept"},
                                                            {"  Type"},
                                                            {"  Active"},
                                                          #ifdef STOCK
                                                            {"  Inventory"},
                                                            {"  Saftly inv"},
                                                          #endif
                                                            {"  PLU Group"},
                                                            {"Next Item"}
                                                        };
const char			Str_Plu_TYPE[][MAX_TEXT+1]		=	{
                                                            {"Normal"},
                                                            {"Gift"},
                                                            {"Description"},
                                                        };
//---------------------------PARAMETER SETTING----------------------------------------------
const char  Str_ParaSet_Menu[][MAX_TEXT+1]          =   {
                                                            {"410 -- Clerk Setting        "},
                                                            {"411 -- Tax Setting          "},
                                                            {"412 -- Direct PLU Setting   "},
                                                            {"413 -- Refund Setting       "},
                                                            {"414 -- Percentage Setting   "},
                                                            {"415 -- Age Limit Setting    "},
                                                            {"416 -- Header Setting       "},
                                                            {"417 -- Footer Setting       "},
                                                            {"418 -- FCE Setting          "},
                                                            {"419 -- Currency Setting     "},
                                                            {"420 -- Table name modify    "}
                                                        };

const char          Str_Name                        =   {"name"};
const char          Str_PassCode                    =   {"Pass code"};

const char			Str_Tax_Rate[]					=	{"Rate"};
const char          Str_None_Tax[]                  =   {"None Taxable"};
const char          Str_None_VAT[]                  =   {"None VAT Tax"};

const char          Str_Dplu_Prog_Step[][MAX_TEXT*2+1]=   {
                                                            {"Select the PLU and press the linked Direct PLU key"},
                                                            {"Default the pressing direct PLU"},
                                                        };

const char          Str_Coupon_Step[][MAX_TEXT+1]   =   {
                                                            {"after item"},
                                                            {"after subttl"},
                                                            {"after item and sub"},
                                                            {"Note:"},
                                                            {"amount"},
                                                            {"method"},
                                                            {"The max descriptor is 12 letters"},
                                                            {"The max amount is "},
                                                            {"0: after item"},
                                                            {"1: after subttl"},
                                                            {"2: after item and sub"}
                                                        };
const char          Str_Per_Step[][][MAX_TEXT+1]    =   {
                                                        	{"NEGATIVE"},	
                                                            {"POSITIVE"},
                                                            {"Active after Item"},
                                                            {"Active after Subtotal"},
                                                        };
const char          Str_Age_Limit[]                 =   {
                                                            {"Age Limit"},
                                                            {"Age-1"},
                                                            {"Age-2"}
                                                        };

const char          Str_Head_Foot_Msg_Step[][MAX_TEXT+1] = {
                                                            {"Header message"},
                                                            {"Foot message"},
                                                            {"Line"}
                                                        };
const char          Str_FCE_Name[]                  =   {"Name"};
const char          Str_FCE_Rate[]                  =   {"Rate"};
const char          Str_FCE_Round_Sel[][MAX_TEXT+1] =   {

⌨️ 快捷键说明

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