Example #1
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static BA_Command CreateSendData(SubCommandType sendtype)
        {
            BA_Command ret = new BA_Command();

            ret.SubCommand = sendtype;

            if(sendtype == SubCommandType.W)
                ret.CommandData_RM.Data_RM = new Org_CommandDataStruct();

            return ret;
        }
Example #2
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static KD_Command CreateSendData(SubCommandType sendtype)
        {
            KD_Command ret = new KD_Command();

            return ret;
        }
Example #3
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static BS_Command CreateSendData(SubCommandType sendtype)
        {
            BS_Command ret = new BS_Command();

            //ret.CommandData_RM.Data_RM = new Org_CommandDataStruct_W_Send();

            return ret;
        }
Example #4
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static TS_Command CreateSendData(SubCommandType sendtype)
        {
            TS_Command ret = new TS_Command();

            ret.SubCommand = sendtype;

            if (ret.SubCommand == SubCommandType.R)
            {
            }
            else
            {
                ret.CommandData_RM.Data_RM = new Org_CommandDataStruct();
            }
            return ret;
        }
Example #5
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static TA_Command CreateSendData(SubCommandType sendtype)
        {
            TA_Command ret = new TA_Command();

            ret.CommandData_RM.Data_RM = new Org_CommandDataStruct_W();

            return ret;
        }
Example #6
0
 /// <param name="subCommandType">Determine whether this subcommand is a default subcommand or not</param>
 public SubCommand(SubCommandType subCommandType) : base(subCommandType == SubCommandType.Default ? new string[] { "" } : Array.Empty <string>())
 {
     IsDefault = subCommandType == SubCommandType.Default;
 }
Example #7
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static VA_Command CreateSendData(SubCommandType sendtype)
        {
            VA_Command ret = new VA_Command();

            ret.SubCommand = SubCommandType.R;

            //ret.CommandData_RM.Data_RM = new Org_CommandDataStruct();

            return ret;
        }