using System.Collections.Generic;
namespace RequestServer.HttpServer
{
public class RequestBody
{
public string deviceType
{ get; set; }
public string machineName
{ get; set; }
public string port
{ get; set; }
public string prgName
{ get; set; }
public string serverUrl
{ get; set; }
public string userName
{ get; set; }
public string password
{ get; set; }
public string path
{ get; set; }
public string address
{ get; set; }
public string value
{ get; set; }
public string type
{ get; set; }
}
///
/// 设备名称
///
public enum DeviceTypeEnum
{
Opcua,
Fanuc,
Heidenhain,
Mitsubishi,
MtConnect,
Mazaka
}
///
/// 类型名称
///
public enum ActionTypeEnum
{
Connect,
Collect,
ToolList,
Upload,
DownLoad,
StartNcProgram,
SelectNcProgram,
DeleteNc,
AlmInfo,
Write,
Read
}
}