2024年4月21日发(作者:)

unit Unit1;

interface

uses

Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,

Dialogs, StdCtrls, ComCtrls, TeEngine, Series, ExtCtrls, TeeProcs, Chart,

OleCtrls, MSCommLib_TLB;

type

TForm1 = class(TForm)

tbshtSignalChart: TPageControl;

tbshtDebug: TTabSheet; //串口调试

rchdtSerialIn: TRichEdit; //串口发送的数据

cmbbxSerialIn: TComboBox; //串口号

Label7: TLabel;

btRecStart: TButton; //开始接受

btRecStop: TButton; //停止

cmbbxBaudIn: TComboBox;

Label8: TLabel;

Label9: TLabel;

Label10: TLabel;

Label11: TLabel;

btRecSave: TButton; //保存

cmbbxTypeIn: TComboBox;

cmbbxSerialOut: TComboBox; /串口端号

Label13: TLabel;

cmbbxBaudOut: TComboBox; //波特率

rchdtSerialOut: TRichEdit; //输入发送

btSendOut: TButton;

dtCode1: TEdit;

lbCode1: TLabel;

lbCode2: TLabel;

dtCode3: TEdit;

cmbbxTypeOut: TComboBox; //发送数据的格式

Label16: TLabel;

Label51: TLabel;

tmrSerialIn: TTimer;

MSCommOut: TMSComm;

MSCommIn: TMSComm;

dtCode2: TEdit;

dtCode4: TEdit;

lbCode3: TLabel;

lbCode4: TLabel;

ImgTrace: TImage;

Label17: TLabel;

Label18: TLabel;

Label19: TLabel;

Label20: TLabel;

Label21: TLabel;

Label22: TLabel;

Label23: TLabel;

Label24: TLabel;

Label25: TLabel;

Label26: TLabel;

lbShowAd0: TLabel;

lbShowAd1: TLabel;

lbShowAd4: TLabel;

lbShowAd5: TLabel;

lbShowAd2: TLabel;

lbShowGps5: TLabel;

lbShowGps1: TLabel;

lbShowAd7: TLabel;

lbShowAd6: TLabel;

lbShowAd3: TLabel;

Label37: TLabel;

lbShowGps6: TLabel;

lbShowGps4: TLabel;

Label53: TLabel;

Label54: TLabel;

Label55: TLabel;

lbShowGps0: TLabel;

btSaveTrace: TButton;

btLoadTrace: TButton;

btSaveData: TButton;

Label1: TLabel;

lbShowModel: TLabel;

Label3: TLabel;

Label4: TLabel;

Label5: TLabel;

Label6: TLabel;

Label14: TLabel;

Label15: TLabel;

Label39: TLabel;

Label40: TLabel;

lbShowPara0: TLabel;

lbShowPara1: TLabel;

lbShowPara2: TLabel;