| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using HySoft.IVRFlowEditor.IVRControlUtility;
- using HySoft.IVRFlowEditor.Model;
- using HySoft.IVRFlowEditor.IVRControl;
- namespace HySoft.IVRFlowEditor.IVRControlUtility
- {
- /// <summary>
- /// CELL_SOCKET
- /// </summary>
- [IVRAttribute("CELL_SOCKET", IVRSerializerType.节点, 1)]
- public class IVRSocket : IVRControlBase
- {
- public IVRSocket(string name)
- {
- this.Name = name;
- CtlProperty = new CtlIVRSocket(this);
- IVRInputVar = new List<IVRInputVar>();
- OutputVar = new List<IVRDefaultVar>();
- }
- /// <summary>
- /// :操作类型标识。
- /// </summary>
- [IVRAttribute("OpType", IVRSerializerType.元素, 2)]
- public OpType OpType
- { get; set; }
- /// <summary>
- /// :远端地址。
- /// </summary>
- [IVRAttribute("FarIp", IVRSerializerType.元素, 3)]
- public string FarIp
- { get; set; }
- /// <summary>
- /// :远端端口。
- /// </summary>
- [IVRAttribute("FarPort", IVRSerializerType.元素, 4)]
- public int FarPort
- { get; set; }
- /// <summary>
- /// :接收超时,单位为秒。
- /// </summary>
- [IVRAttribute("RecvTimeOut", IVRSerializerType.元素, 5)]
- public int RecvTimeOut
- { get; set; }
- /// <summary>
- /// :执行成功跳转节点编号。
- /// </summary>
- [IVRAttribute("SuccessPos", IVRSerializerType.元素, 6)]
- public IVRControlBase SuccessPos
- { get; set; }
- /// <summary>
- /// :执行失败跳转节点编号。
- /// </summary>
- [IVRAttribute("FailPos", IVRSerializerType.元素, 7)]
- public IVRControlBase FailPos
- { get; set; }
- [IVRAttribute("IVRInputVar", IVRSerializerType.节点, 8)]
- public List<IVRInputVar> IVRInputVar
- { get; set; }
- [IVRAttribute("OutputVar", IVRSerializerType.节点, 9)]
- public List<IVRDefaultVar> OutputVar
- { get; set; }
- }
- /// <summary>
- /// 节点
- /// </summary>
- [IVRAttribute("IVRInputVar", IVRSerializerType.节点, 1)]
- public class IVRInputVar
- {
- public IVRInputVar()
- { Control = new CtlIVRInputVar(this); }
- [IVRAttribute("VarType", IVRSerializerType.元素, 2)]
- public NumberType VarType
- { get; set; }
- [IVRAttribute("VarVal", IVRSerializerType.元素, 1)]
- public string VarVal
- { get; set; }
- public CtlIVRInputVar Control
- { get; set; }
- }
- }
|