You need to sign in or sign up before continuing.
PLCOS_OBJ_INTERFACE.cs 1.54 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
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;
        }
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
        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;
        }

潘栩锋's avatar
潘栩锋 committed
40 41 42 43 44 45 46
        #endregion

        #region Get

        #endregion

        #region Set
47

潘栩锋's avatar
潘栩锋 committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
        #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;
64 65 66 67 68 69 70 71 72 73 74 75

        /// <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;
潘栩锋's avatar
潘栩锋 committed
76 77 78
        #endregion
    }
}