コード例 #1
0
        /// <summary>
        /// 数据解析 进入数据库
        /// </summary>
        public static void  WorkOutToDb()
        {
            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[0]);      //86
            MyMeans.InsertAccess("86", "客户字符串0", "ASCII/10", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[0]);

            _13IdFDataWork.InsertAcessF_10(ECUstringtochangeASCII[1]);  //87
            MyMeans.InsertAccess("87", "ECU软件版本号", "ASCII/64", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[1]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[2]);       //89
            MyMeans.InsertAccess("89", "客户字符串1", "ASCII/10", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[2]);

            _13IdFDataWork.InsertAcessF_10(ECUstringtochangeASCII[3]);       //8a
            log.Info("13id 1a8a :" + _13IdFDataWork.WorkOutData);
            MyMeans.InsertAccess("8A", "ECU软件系统号", "ASCII/100", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[3]);

            _13IdFDataWork.InsertAcessF_1A8C(ECUstringtochangeASCII[4]);       //8c
            MyMeans.InsertAccess("8C", "SCD协议版本", "Unsigned/1", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[4]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[5]);       //8e
            MyMeans.InsertAccess("8E", "EEPROM数据集标识", "ASCII/40", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[5]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[6]);       //90
            MyMeans.InsertAccess("90", "车辆识别号码", "ASCII/17", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[6]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[7]);       //91
            MyMeans.InsertAccess("91", "ECU硬件编号", "ASCII/13", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[7]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[8]);       //92
            MyMeans.InsertAccess("92", "ECU硬件系统编号", "ASCII/8", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[8]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[9]);       //93
            MyMeans.InsertAccess("93", "ECU硬件版本号", "ASCII/8", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[9]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[10]);       //94
            MyMeans.InsertAccess("94", "ECU软件系统编号", "ASCII/26", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[10]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[12]);       //97
            MyMeans.InsertAccess("97", "发动机类型", "ASCII/15", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[12]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[13]);       //98
            MyMeans.InsertAccess("98", "维修站代码或诊断仪序列号", "ASCII/10", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[13]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[14]);       //99
            MyMeans.InsertAccess("99", "编程日期", "BCD/3", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[14]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[15]);       //9a
            MyMeans.InsertAccess("9A", "发动机测试日期", "BCD/3", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[15]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[16]);       //9b
            MyMeans.InsertAccess("9B", "数据集识别", "ASCII/30", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[16]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[17]);       //9c
            MyMeans.InsertAccess("9C", "客户字符串2", "ASCII/10", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[17]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[18]);       //9d
            MyMeans.InsertAccess("9D", "客户字符串3", "ASCII/10", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[18]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[19]);       //9e
            MyMeans.InsertAccess("9E", "客户字符串4", "ASCII/10", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[19]);

            _13IdFDataWork.InsertAcessF_7(ECUstringtochangeASCII[20]);       //9f
            MyMeans.InsertAccess("9F", "客户字符串5", "ASCII/10", _13IdFDataWork.WorkOutData, ECUstringtochangeASCII[20]);
        }