/*
 * File      : lcd_segmentcode.c
 * This file is part of Sizhu Ultrasonic Gas-Meter
 * COPYRIGHT (C) 2022,Sizhu Ultrasonic Gas-Meter Development Team
 *
 * Brief     : This file stores the specific segment code.
 * http://www.ideacreated.com/
 *
 * Change Logs:
 * Date           Author            Notes
 * 2022-08-22     Sizhu_J1anG       the first version
 * 2022-08-30     Sizhu_Ye          targeted modification
 */


#ifndef _LCD_SEGMENTCODE_23A_H_
#define _LCD_SEGMENTCODE_23A_H_
#include "main.h"

#ifdef LCD_NEW
/**************************************************
* S1-S54
**************************************************/
#define			_LCD_SIZHULOG_23A						     			276 //1

#define			_LCD_BATTERY_SHELL_23A					 			277	//2
#define			_LCD_BATTERY_4_23A    								278 //3
#define			_LCD_BATTERY_3_23A 		    						279	//4
#define			_LCD_BATTERY_2_23A		    		        271 //5
#define			_LCD_BATTERY_1_23A		    			      270 //6


#define			_LCD_METER_23A									      269  //7  
#define			_LCD_SIGNAL_COMMUNICATION_23A				  268
#define			_LCD_VALVE_M_23A											5 
#define			_LCD_LOCK_23A													6 
#define			_LCD_OPEN_23A													7 
#define			_LCD_CLOSE_23A												4    //12


#define			_LCD_WIFI_23A													63  //13  							
#define			_LCD_4G_Flag_23A											71      
#define			_LCD_4G_1_23A													70
#define			_LCD_4G_2_23A									    		69
#define			_LCD_4G_3_23A									    		77
#define			_LCD_4G_4_23A									        78
#define			_LCD_4G_5_23A									        79
#define			_LCD_WARNING_23A									    87  //20   

#define			_LCD_CONFIGURATION_23A								74 //21
#define			_LCD_T_23A										        73
#define			_LCD_CHARGE_23A												72 //23   
#define			_LCD_LOOKUP_23A									      80
#define			_LCD_BACKSET_23A									    75
#define			_LCD_K_23A										   			66 //26
#define			_LCD_BOOTTOOTH_23A										65 //27    
#define			_LCD_CHECK_23A												64//28

#define			_LCD_HORIZONTALLINE_1_23A					 		60 //29
#define			_LCD_SINGLEBILL_23A										68 
#define			_LCD_LADDERBILL_23A										76 
#define			_LCD_HORIZONTALLINE_2_23A							67	

#define			_LCD_WORK_CONDITION_23A							2  //33
#define			_LCD_SURPLUSE_23A										3 
#define			_LCD_STAND_CONDITION_23A						1 
#define			_LCD_TOTAL_23A											0

#define			_LCD_X_23A									275
#define			_LCD_ACCOUNT_23A						274 //38
#define			_LCD_BILLBACK_23A						273

#define			_LCD_LAST_23A								266
#define			_LCD_RECHARGE_23A						267 //41
#define			_LCD_SETTLEMENT_23A					260
#define			_LCD_NOW_23A								272
#define			_LCD_LADDER_23A							265  //44
#define			_LCD_UNIT_PRICE_23A					264

#define			_LCD_N_1_23A										  139  //46
#define			_LCD_M3_1_23A										  130
#define			_LCD_YUAN_1_23A										131

#define			_LCD_kPa_23A										  140 //49
#define			_LCD_oC_23A										    129//50
#define			_LCD_L_pul_23A										128
#define			_LCD_N_2_23A											142
#define			_LCD_M3_2_23A										  135
#define			_LCD_h_23A								    		134//54
#define			_LCD_YUAN_2_23A										133//55
#define			_LCD_YUAN_M3_23A								  132//56



/********************************************************
* 冒号
********************************************************/
#define			_LCD_POINT1_23A					 19
#define			_LCD_POINT2_23A					 24
#define			_LCD_POINT3_23A					 258
#define			_LCD_POINT4_23A					 256
#define			_LCD_POINT5_23A					 242
#define			_LCD_POINT6_23A					 240
#define			_LCD_POINT7_23A					 227
#define			_LCD_POINT8_23A					 224
#define			_LCD_POINT9_23A					 211
#define			_LCD_POINT10_23A				 200
#define			_LCD_POINT11_23A				 186
#define			_LCD_POINT12_23A				 184
#define			_LCD_POINT13_23A				 170
#define			_LCD_POINT14_23A				 168
#define			_LCD_POINT15_23A				 155
#define			_LCD_POINT16_23A				 152
#define			_LCD_POINT17_23A				 245
#define			_LCD_POINT18_23A				 247
#define			_LCD_POINT19_23A				 229
#define			_LCD_POINT20_23A				 231
#define			_LCD_POINT21_23A				 212
#define			_LCD_POINT22_23A					215
#define			_LCD_POINT23_23A					196
#define			_LCD_POINT24_23A					191
#define			_LCD_POINT25_23A					173
#define			_LCD_POINT26_23A					175
#define			_LCD_POINT27_23A					157
#define			_LCD_POINT28_23A					159

/*******************************************************
数字
*******************************************************/
#define			_LCD_1A_new											15
#define			_LCD_1B_new											23
#define			_LCD_1C_new										  21
#define			_LCD_1D_new											12
#define			_LCD_1E_new											13
#define			_LCD_1F_new											14
#define			_LCD_1G_new											22

#define			_LCD_2A_new											31
#define			_LCD_2B_new											62
#define			_LCD_2C_new							        61
#define			_LCD_2D_new											28
#define			_LCD_2E_new											20
#define			_LCD_2F_new											30
#define			_LCD_2G_new											29

#define			_LCD_3A_new							95
#define			_LCD_3B_new							94
#define			_LCD_3C_new							93
#define			_LCD_3D_new							92
#define			_LCD_3E_new							84
#define			_LCD_3F_new							86
#define			_LCD_3G_new							85

#define			_LCD_4A_new											88
#define			_LCD_4B_new											81
#define			_LCD_4C_new											83
#define			_LCD_4D_new											91
#define			_LCD_4E_new											90
#define			_LCD_4F_new											89
#define			_LCD_4G_new											82

#define			_LCD_5A_new							11
#define			_LCD_5B_new							18
#define			_LCD_5C_new							16
#define			_LCD_5D_new							8
#define			_LCD_5E_new							9
#define			_LCD_5F_new							10
#define			_LCD_5G_new							17

#define			_LCD_6A_new							59
#define			_LCD_6B_new							58
#define			_LCD_6C_new							57
#define			_LCD_6D_new							56
#define			_LCD_6E_new							25
#define			_LCD_6F_new							27
#define			_LCD_6G_new							26

#define			_LCD_7A_new							251
#define			_LCD_7B_new							243
#define			_LCD_7C_new							249
#define			_LCD_7D_new							248
#define			_LCD_7E_new							257
#define			_LCD_7F_new							259
#define			_LCD_7G_new							250

#define			_LCD_8A_new							235
#define			_LCD_8B_new							226
#define			_LCD_8C_new							225
#define			_LCD_8D_new							232
#define			_LCD_8E_new							241
#define			_LCD_8F_new							234
#define			_LCD_8G_new							233

#define			_LCD_9A_new							219
#define			_LCD_9B_new							210
#define			_LCD_9C_new							208
#define			_LCD_9D_new							216
#define			_LCD_9E_new							217
#define			_LCD_9F_new							218
#define			_LCD_9G_new  						209

#define			_LCD_10A_new						195
#define			_LCD_10B_new						194
#define			_LCD_10C_new						193
#define			_LCD_10D_new						192
#define			_LCD_10E_new						201
#define			_LCD_10F_new						203
#define			_LCD_10G_new						202

#define			_LCD_11A_new						179
#define			_LCD_11B_new						171
#define			_LCD_11C_new						177
#define			_LCD_11D_new						176
#define			_LCD_11E_new						185
#define			_LCD_11F_new						187
#define			_LCD_11G_new						178

#define			_LCD_12A_new						163
#define			_LCD_12B_new						154
#define			_LCD_12C_new						153
#define			_LCD_12D_new						160
#define			_LCD_12E_new						169
#define			_LCD_12F_new						162
#define			_LCD_12G_new						161

#define			_LCD_13A_new						147
#define			_LCD_13B_new						138
#define			_LCD_13C_new						136
#define			_LCD_13D_new						144
#define			_LCD_13E_new						145
#define			_LCD_13F_new						146
#define			_LCD_13G_new						137

#define			_LCD_14A_new						252
#define			_LCD_14B_new						253
#define			_LCD_14C_new						254
#define			_LCD_14D_new						255
#define			_LCD_14E_new						263
#define			_LCD_14F_new						261
#define			_LCD_14G_new						262

#define			_LCD_15A_new						236
#define			_LCD_15B_new						228
#define			_LCD_15C_new						238
#define			_LCD_15D_new						239
#define			_LCD_15E_new					  246
#define			_LCD_15F_new						244
#define			_LCD_15G_new						237

#define			_LCD_16A_new						220
#define			_LCD_16B_new						213
#define			_LCD_16C_new						214
#define			_LCD_16D_new						223
#define			_LCD_16E_new						230
#define			_LCD_16F_new	  				221
#define			_LCD_16G_new						222

#define			_LCD_17A_new						204
#define			_LCD_17B_new						197
#define			_LCD_17C_new						199
#define			_LCD_17D_new						207
#define			_LCD_17E_new						206
#define			_LCD_17F_new						205
#define			_LCD_17G_new						198

#define			_LCD_18A_new						180
#define			_LCD_18B_new						181
#define			_LCD_18C_new						182
#define			_LCD_18D_new						183
#define			_LCD_18E_new						190
#define			_LCD_18F_new						188
#define			_LCD_18G_new						189

#define			_LCD_19A_new						164
#define			_LCD_19B_new						156
#define			_LCD_19C_new						166
#define			_LCD_19D_new						167
#define			_LCD_19E_new						174
#define			_LCD_19F_new						172
#define			_LCD_19G_new						165

#define			_LCD_20A_new						148
#define			_LCD_20B_new						141
#define			_LCD_20C_new						143
#define			_LCD_20D_new						151
#define			_LCD_20E_new						158
#define			_LCD_20F_new						149
#define			_LCD_20G_new						150
#else
/**************************************************
* S1-S54
* 时间 ：220804
**************************************************/
#define			_LCD_SIZHULOG_23A							  203

#define			_LCD_BATTERY_4_23A    					1
#define			_LCD_BATTERY_3_23A 		    			0
#define			_LCD_BATTERY_2_23A		    			200
#define			_LCD_BATTERY_1_23A		    			202
#define			_LCD_BATTERY_SHELL_23A					2	

#define			_LCD_METER_23A									3
#define			_LCD_SIGNAL_COMMUNICATION_23A		4
#define			_LCD_VALVE_M_23A								5
#define			_LCD_LOCK_23A										6
#define			_LCD_OPEN_23A										7
#define			_LCD_CLOSE_23A									8

#define			_LCD_WARNING_23A								16
#define			_LCD_WIFI_23A										39
#define			_LCD_4G_Flag_23A								36
#define			_LCD_4G_1_23A										38
#define			_LCD_4G_2_23A										37
#define			_LCD_4G_3_23A										35
#define			_LCD_4G_4_23A										34
#define			_LCD_4G_5_23A										33

#define			_LCD_LOOKUP_23A									47
#define			_LCD_T_23A											45
#define			_LCD_CONFIGURATION_23A					43
#define			_LCD_CHECK_23A									46
#define			_LCD_K_23A											44
#define			_LCD_BACKSET_23A								42

#define			_LCD_HORIZONTALLINE_1_23A				24
#define			_LCD_SINGLEBILL_23A							40
#define			_LCD_LADDERBILL_23A							32
#define			_LCD_HORIZONTALLINE_2_23A				41

#define			_LCD_WORK_CONDITION_23A					206
#define			_LCD_SURPLUSE_23A								205
#define			_LCD_STAND_CONDITION_23A				207
#define			_LCD_TOTAL_23A									199

#define			_LCD_X_23A											191
#define			_LCD_ACCOUNT_23A									190
#define			_LCD_BILLBACK_23A									183

#define			_LCD_LAST_23A										181
#define			_LCD_RECHARGE_23A								174
#define			_LCD_SETTLEMENT_23A							173

#define			_LCD_NOW_23A										182
#define			_LCD_LADDER_23A									175
#define			_LCD_UNIT_PRICE_23A							167

#define			_LCD_N_1_23A										48
#define			_LCD_M3_1_23A										49
#define			_LCD_YUAN_1_23A									50
#define			_LCD_kPa_23A										61
#define			_LCD_oC_23A											52
#define			_LCD_L_pul_23A									51
#define			_LCD_N_2_23A										63
#define			_LCD_M3_2_23A										62
#define			_LCD_h_23A											53
#define			_LCD_YUAN_2_23A									54
#define			_LCD_YUAN_M3_23A								55

/********************************************************
* 冒号/点
* 时间 ：220804
********************************************************/
#define			_LCD_POINT1_23A								186
#define			_LCD_POINT2_23A								189
#define			_LCD_POINT3_23A								179
#define			_LCD_POINT4_23A								180
#define			_LCD_POINT5_23A								161
#define			_LCD_POINT6_23A								163
#define			_LCD_POINT7_23A								137
#define			_LCD_POINT8_23A								147
#define			_LCD_POINT9_23A								121
#define			_LCD_POINT10_23A							123
#define			_LCD_POINT11_23A							105
#define			_LCD_POINT12_23A							107
#define			_LCD_POINT13_23A							90
#define			_LCD_POINT14_23A							91
#define			_LCD_POINT15_23A							65
#define			_LCD_POINT16_23A							75
#define			_LCD_POINT17_23A							149
#define			_LCD_POINT18_23A							151
#define			_LCD_POINT19_23A							133
#define			_LCD_POINT20_23A							135
#define			_LCD_POINT21_23A							118
#define			_LCD_POINT22_23A							119
#define			_LCD_POINT23_23A							102
#define			_LCD_POINT24_23A							95
#define			_LCD_POINT25_23A							76
#define			_LCD_POINT26_23A							78

/*******************************************************
* 数字ram
* 时间：220804
*******************************************************/
#define			_LCD_1A_23A											15
#define			_LCD_1B_23A											13
#define			_LCD_1C_23A											10
#define			_LCD_1D_23A											9
#define			_LCD_1E_23A											11
#define			_LCD_1F_23A											14
#define			_LCD_1G_23A											12

#define			_LCD_2A_23A											23
#define			_LCD_2B_23A											21
#define			_LCD_2C_23A											18
#define			_LCD_2D_23A											17
#define			_LCD_2E_23A											19
#define			_LCD_2F_23A											22
#define			_LCD_2G_23A											20

#define			_LCD_3A_23A											31
#define			_LCD_3B_23A											29
#define			_LCD_3C_23A											26
#define			_LCD_3D_23A											25
#define			_LCD_3E_23A											27
#define			_LCD_3F_23A											30
#define			_LCD_3G_23A											28

#define			_LCD_4A_23A											192
#define			_LCD_4B_23A											194
#define			_LCD_4C_23A											197
#define			_LCD_4D_23A											198
#define			_LCD_4E_23A											196
#define			_LCD_4F_23A											193
#define			_LCD_4G_23A											195

#define			_LCD_5A_23A											184
#define			_LCD_5B_23A											176
#define			_LCD_5C_23A											178
#define			_LCD_5D_23A											188
#define			_LCD_5E_23A											187
#define			_LCD_5F_23A											185
#define			_LCD_5G_23A											177

#define			_LCD_6A_23A											168
#define			_LCD_6B_23A											160
#define			_LCD_6C_23A											162
#define			_LCD_6D_23A											172
#define			_LCD_6E_23A											171
#define			_LCD_6F_23A											169
#define			_LCD_6G_23A											170

#define			_LCD_7A_23A											152
#define			_LCD_7B_23A											144
#define			_LCD_7C_23A											146
#define			_LCD_7D_23A											155
#define			_LCD_7E_23A											154
#define			_LCD_7F_23A											153
#define			_LCD_7G_23A											145

#define			_LCD_8A_23A											128
#define			_LCD_8B_23A											129
#define			_LCD_8C_23A											131
#define			_LCD_8D_23A											139
#define			_LCD_8E_23A											138
#define			_LCD_8F_23A											136
#define			_LCD_8G_23A											130

#define			_LCD_9A_23A											112
#define			_LCD_9B_23A											104
#define			_LCD_9C_23A											114
#define			_LCD_9D_23A											115
#define			_LCD_9E_23A											122
#define			_LCD_9F_23A											120
#define			_LCD_9G_23A											113

#define			_LCD_10A_23A										88
#define			_LCD_10B_23A										89
#define			_LCD_10C_23A										98
#define			_LCD_10D_23A										99
#define			_LCD_10E_23A										106
#define			_LCD_10F_23A										96
#define			_LCD_10G_23A										97

#define			_LCD_11A_23A										80
#define			_LCD_11B_23A										72
#define			_LCD_11C_23A										74
#define			_LCD_11D_23A										83
#define			_LCD_11E_23A										82
#define			_LCD_11F_23A										81
#define			_LCD_11G_23A										73

#define			_LCD_12A_23A										56
#define			_LCD_12B_23A										57
#define			_LCD_12C_23A										59
#define			_LCD_12D_23A										67
#define			_LCD_12E_23A										66
#define			_LCD_12F_23A										64
#define			_LCD_12G_23A										58

#define			_LCD_13A_23A										156
#define			_LCD_13B_23A										157
#define			_LCD_13C_23A										159
#define			_LCD_13D_23A										166
#define			_LCD_13E_23A										165
#define			_LCD_13F_23A										164
#define			_LCD_13G_23A										158

#define			_LCD_14A_23A										140
#define			_LCD_14B_23A										132
#define			_LCD_14C_23A										142
#define			_LCD_14D_23A										143
#define			_LCD_14E_23A										150
#define			_LCD_14F_23A										148
#define			_LCD_14G_23A										141

#define			_LCD_15A_23A										116
#define			_LCD_15B_23A										117
#define			_LCD_15C_23A										126
#define			_LCD_15D_23A										127
#define			_LCD_15E_23A										134
#define			_LCD_15F_23A										124
#define			_LCD_15G_23A										125

#define			_LCD_16A_23A										100
#define			_LCD_16B_23A										101
#define			_LCD_16C_23A										103
#define			_LCD_16D_23A										111
#define			_LCD_16E_23A										110
#define			_LCD_16F_23A										108
#define			_LCD_16G_23A										109

#define			_LCD_17A_23A										84
#define			_LCD_17B_23A										85
#define			_LCD_17C_23A										86
#define			_LCD_17D_23A										87
#define			_LCD_17E_23A										94
#define			_LCD_17F_23A										92
#define			_LCD_17G_23A										93

#define			_LCD_18A_23A										68
#define			_LCD_18B_23A										60
#define			_LCD_18C_23A										71
#define			_LCD_18D_23A										79
#define			_LCD_18E_23A										77
#define			_LCD_18F_23A										69
#define			_LCD_18G_23A										70

#endif

typedef enum {
	LOOKUP = 0,
	T,
	CONFIGURATION,
	CHECK,
	K,
	BACKSET,
	
	WORKCONDITION,
	SURPLUSE,
	STANDCONDITION,
	TOTAL,
	
	N_1,
	M3_1,
	YUAN_1,
	
	LAST,
	RECHARGE,
	SETTLEMENT,
	
	NOW,
	LADDER,
	UNITPRICE,
	
	X,
	HOME,
	CLOUD,
	
	kPa,
	oC,
	Lpul,
	N_2,
	M3_2,
	H,
	YUAN_2,
	YUAN_M3
}_LCD_FLAG;



#endif




