From 48fc7d6c9549513d9b1da3f99f449fc7de27821f Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Fri, 10 Jun 2022 19:23:26 +0800
Subject: [PATCH] 修改信息打印标准 增加数据写入功能

---
 ShifterDefine.py |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/ShifterDefine.py b/ShifterDefine.py
index 0ea44fb..e2e3577 100644
--- a/ShifterDefine.py
+++ b/ShifterDefine.py
@@ -1,6 +1,7 @@
 
 
 from enum import Enum, IntEnum
+Security_dic = {"0x01请求种子": 1, "0x02发送密钥": 2}
 
 
 class ShifterCANID():
@@ -22,3 +23,38 @@
     ShiftPosM_Plus = 0xd
     ShiftPosM = 0xe
     ShiftNotAvailable = 0xF
+
+
+DID_dic = {
+    "ProgrammingCounter": 0x2100,
+    "ProAtpCounter": 0x2101,
+    "BackupConfig": 0x2102,
+    "VehicleName": 0x2103,
+    "DiagVersion": 0x2104,
+    "BootSoftId": 0x2105,
+    "DFLZMPartNum": 0xF187,
+    "VehiclEECUSoftwareVersion": 0x2108,
+    "SupplierID": 0xF18A,
+    "ECUManufacturingDate": 0x210B,
+    "ECUSerialNumID": 0xf18c,
+    "VINDataIdentifier": 0xF190,
+    "ECUHardwareVersion": 0xF193,
+    "ECUSoftwareVersion": 0xF195,
+    "SystemNameOrEngineType": 0x2110,
+    "RepairShopCodeOrTester": 0x2111,
+    "ECUProgtammingDate": 0x2111,
+    "InstallDate": 0x2113,
+    "NetConfig": 0xf019,
+    "FunctionConfig": 0xf010,
+    "ActiveDiagSession": 0x2106,
+    "EGSMSensorPositon": 0x2116,
+    "ReleaseButtonState": 0x2118,
+    "PButtionState": 0x2119,
+    "PaddleState": 0x211A,
+    "ECUPowerVoltage": 0x211B,
+    "VehicleSpeed": 0x211c,
+    "SystemName": 0xF197,
+    "WriteFingerPrint": 0xF15A,
+    "ReadFingerPrint": 0xf15b,
+    "IndicationLEDControl": 0x8101
+}

--
Gitblit v1.8.0