using System.Text;
using CncSimulator.Core;
namespace CncSimulator.Admin
{
///
/// 管理页面HTML生成器。
/// 生成总管理页面和单地址管理页面的完整HTML+CSS+JS。
///
public class AdminHandler
{
/// 生成总管理页面(网关页面)
public string BuildGatewayPage(SimulatorEngine engine)
{
var sb = new StringBuilder();
sb.AppendLine("");
sb.AppendLine("