12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- 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 ushort toolNo
- { get; set; }
- }
- /// <summary>
- /// 设备名称
- /// </summary>
- public enum DeviceTypeEnum
- {
- Opcua,
- Fanuc,
- Heidenhain,
- Mitsubishi,
- MtConnect,
- Mazaka
- }
- /// <summary>
- /// 类型名称
- /// </summary>
- public enum ActionTypeEnum
- {
- Connect,
- Collect,
- ToolNoData,
- ToolList,
- DeleteTool,
- SetTool,
- Upload,
- DownLoad,
- StartNcProgram,
- SelectNcProgram,
- DeleteNc,
- AlmInfo,
- Write,
- Read
- }
- }
|