using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TcpServer;
namespace SERVER
{
///
/// 下发命令的帮助类
///
public class Send_Cmd
{
///
/// 下发固件
///
///
///
///
public static bool[] Send_File(int type = 1, params string [] mac)
{
var res = new List();
foreach (var item in mac)
{
res.Add(Send_File(item,type));
}
return res.ToArray();
}
///
///
///
///
///
///
private static bool Send_File(string mac,int type = 1)
{
return SendHelp.Send_Control_UPGRADE_ISSUED(mac, type);
}
}
}