⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sftdownload.h

📁 通过串口发送接受文件
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef SFTDownloadH
#define SFTDownloadH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <ComCtrls.hpp>
#include "Comport.h"
//---------------------------------------------------------------------------
class SFTDownload : public TThread
{
private:
protected:
        void __fastcall Execute();
public:
        __fastcall SFTDownload(bool CreateSuspended);
        TComport *Com;
        TLabel *FileCount;
        TLabel *TotalSize;
        TLabel *TotalDown;
        TProgressBar *TotalProgress;
        TLabel *CurrentFile;
        TLabel *CurrentSize;
        TLabel *CurrentDown;
        TLabel *MachineName;
        TLabel *SaveAs;
        TProgressBar *CurrentProgress;
        char DownloadPath[256];
        char MachineID[64];
        bool Stop;
        bool AddMachineIDToFileName;
        bool AllowMessageBox;
};
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -