开发:报告信息增加文件id

pull/1301/head
ChenX 4 years ago
parent 3514844ad8
commit 0678539bca

@ -1,10 +1,19 @@
import { app } from "../ApplicationServices/Application";
import { ReportError } from "../Common/ErrorMonitoring";
import { Log } from "../Common/Log";
import { FileServer } from "../DatabaseServices/FileServer";
import { Command } from "../Editor/CommandMachine";
export class Command_999 implements Command
{
async exec()
{
ReportError("报告错误!");
let fileServer = FileServer.GetInstance() as FileServer;
ReportError("报告错误!" + fileServer.m_CurFileId);
Log("成功发送图纸给开发人员!");
if (!app.Saved)
Log("图纸尚未保存!");
}
}

Loading…
Cancel
Save