using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FLY.OBJComponents.OBJ_INTERFACE
{
    public class PLCOS_OBJ_INTERFACE
    {

        #region pack


        public class Pack_SetPlanRequest
        {
            public string objname;
            public IEnumerable<string> propertyNames;
            public long planid;
        }
        public class Pack_FeedPlanRequest
        {
            public long planid;
        }
        public class Pack_RemovePlanRequest
        {
            public long planid;
        }

        public class Pack_SetPlan2Reponse
        {
            public long planid;
        }

        public class Pack_SetPlan2Request
        {
            public string objname;
            public IEnumerable<string> propertyNames;
        }

        #endregion

        #region Get

        #endregion

        #region Set

        #endregion

        #region Push

        #endregion

        #region Call
        /// <summary>
        /// Pack_SetPlanRequest
        /// </summary>
        public const UInt16 CALL_SET_PLAN = 3;

        /// <summary>
        /// Pack_FeedPlanRequest
        /// </summary>
        public const UInt16 CALL_FEED_PLAN = 4;

        /// <summary>
        /// Pack_RemovePlanRequest
        /// </summary>
        public const UInt16 CALL_REMOVE_PLAN = 5;


        /// <summary>
        /// requese:Pack_SetPlan2Request
        /// reponse:Pack_SetPlan2Reponse
        /// </summary>
        public const UInt16 CALL_SET_PLAN2 = 6;
        #endregion
    }
}
