• 大小: 88.28MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-01
  • 语言: 其他
  • 标签: PCAN  Windows  

资源简介

PCAN window software 上位机编程软件 CAN网络监测 实时数据

资源截图

代码片段和文件信息

using System;


//namespace ISO_14229
//{
//    public class ISO14229
//    {
//        public enum SessionType : byte
//        {
//          DEFAULT_SESSION = 0x01
//          PROGRAM_SESSION = 0x02
//          EXTENED_SESSION = 0x03
//        };
//        public enum ResetType : byte
//        {
//          HARD_RESET = 0x01
//          KEY_OFF_RESET = 0x02
//          SOFT_RESET = 0x03
//        };
//        public enum CommunicationControlType : byte
//        {
//          ENABLE_TX_RX = 0x00
//          DISABLE_TX_ENABLE_RX = 0x01
//          ENABLE_TX_DISABLE_RX = 0x02
//          DISABLE_RX_TX = 0x03    
//        };
//        public enum CommunicationType : byte
//        {
//          NORMAL_CONMM_MSG = 0x01
//          NM_COMM_MSG = 0x02
//          NORMAL_NM_COMM_MSG = 0x03
//        };
//        public enum DtcSettingType : byte
//        {
//          DTC_ON = 0x01
//          DTC_OFF = 0x02
//        };
//        public enum RoutineControlType : byte
//        {
//          START_ROUTINE = 0x01
//          STOP_ROUTINE = 0x02
//          REQUEST_ROUTINE_RESULT = 0x03
//        };
//        public enum SecurityAccessType : byte
//        {
//          REQUEST_SEED_LEVEL1 = 0x01
//          REQUEST_SEED_LEVEL2 = 0x11
//          SEND_KEY_LEVEL1     = 0x02
//          SEND_KEY_LEVEL2     = 0x12
//        };
//        public enum frameType : byte
//        {
//          Iso15765_Noframe = 0xf0
//          Iso15765_Singleframe =0x00
//          IS15765_Firstframe = 0x10
//          Iso15765_Consecutiveframe = 0x20
//          Iso15765_FlowControl = 0x30
//        };

//        public struct ISO15765_BufInfo_Struct
//        {
//            public frameType frameType;
//            public UInt16 ProcessIndex;
//            public UInt16 UdsMsgInfoLen;
//            public UInt16 RemainingDataLen;
//            public UInt16 frameNum;
//            public UInt16 frameNumMax;
//            public UInt16 WaitTime;
//            public byte ValidValueLen;
//            public byte FinishedFlag;
//        };

//        public ISO15765_BufInfo_Struct TxBufInfo;
//        public ISO15765_BufInfo_Struct RxBufInfo;


//        /************************************************
//          功能寻址
//        *************************************************/
//        public void Fun_DiagnosticSessionControl(byte[] RequestBufSessionType DiagnosticSessionType)
//        {
//          //RequestBuf[0]=0x10;
//          //RequestBuf[1]=(byte)DiagnosticSessionType;
//          TxBufInfo.UdsMsgInfoLen = 2;
//          TxBufInfo.RemainingDataLen = TxBufInfo.UdsMsgInfoLen;
//        }

//        public void Fun_EcuReset(byte[] RequestBuf ResetType resetType)
//        {
//          RequestBuf[0]=0x11;
//          RequestBuf[1]=(byte)resetType;
//          TxBufInfo.UdsMsgInfoLen = 2;
//          TxBufInfo.RemainingDataLen = TxBufInfo.UdsMsgInfoLen;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-12-15 17:29  PCAN-Windows\
     目录           0  2017-12-16 14:59  PCAN-Windows\C#\
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\
     目录           0  2017-12-16 11:06  PCAN-Windows\C#\bin\Debug (Any CPU)\
     文件     1838016  2016-06-20 20:02  PCAN-Windows\C#\bin\Debug (Any CPU)\PCANBasic.dll
     文件       94208  2017-12-16 17:16  PCAN-Windows\C#\bin\Debug (Any CPU)\PCANBasicExample.exe
     文件      108032  2017-12-16 17:16  PCAN-Windows\C#\bin\Debug (Any CPU)\PCANBasicExample.pdb
     文件       11608  2017-12-16 15:16  PCAN-Windows\C#\bin\Debug (Any CPU)\PCANBasicExample.vshost.exe
     文件         490  2010-03-17 22:39  PCAN-Windows\C#\bin\Debug (Any CPU)\PCANBasicExample.vshost.exe.manifest
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\Debug (x64)\
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\Debug (x86)\
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\Release\
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\x64\
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\x64\Release\
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\x86\
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\bin\x86\Release\
     文件       11643  2017-12-16 16:31  PCAN-Windows\C#\ISO14229.cs
     文件       13336  2017-12-16 16:32  PCAN-Windows\C#\ISO15765.cs
     文件         108  2017-12-15 17:44  PCAN-Windows\C#\KX63_BCM_APP.mot
     文件       33231  2017-12-16 16:35  PCAN-Windows\C#\MainControl.cs
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\obj\
     目录           0  2017-12-16 17:16  PCAN-Windows\C#\obj\Debug\
     文件        5246  2017-12-16 17:16  PCAN-Windows\C#\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         326  2017-12-16 15:19  PCAN-Windows\C#\obj\Debug\GenerateResource-ResGen.read.1.tlog
     文件         432  2017-12-16 15:19  PCAN-Windows\C#\obj\Debug\GenerateResource-ResGen.write.1.tlog
     文件         180  2017-12-16 15:19  PCAN-Windows\C#\obj\Debug\ICDIBasic.Form1.resources
     文件         552  2017-12-16 17:16  PCAN-Windows\C#\obj\Debug\PCANBasicExample.csproj.FileListAbsolute.txt
     文件       94208  2017-12-16 17:16  PCAN-Windows\C#\obj\Debug\PCANBasicExample.exe
     文件      108032  2017-12-16 17:16  PCAN-Windows\C#\obj\Debug\PCANBasicExample.pdb
     文件         180  2017-12-16 15:19  PCAN-Windows\C#\obj\Debug\PCANBasicExample.Properties.Resources.resources
     目录           0  2017-12-15 17:30  PCAN-Windows\C#\obj\Debug\TempPE\
............此处省略384个文件信息

评论

共有 条评论