OBJ_INTERFACE.cs 987 Bytes
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FLY.Weight.OBJ_INTERFACE
{
    public class OBJ_INTERFACE
    {
潘栩锋's avatar
潘栩锋 committed
10 11 12
        /// <summary>
        /// 3个
        /// </summary>
13
        public const UInt32 WARNING_OBJ_ID = 20000;
潘栩锋's avatar
潘栩锋 committed
14

潘栩锋's avatar
潘栩锋 committed
15 16 17 18
        /// <summary>
        /// 4个
        /// </summary>
        public const UInt32 WEIGHTS_OBJ_ID = 35000;
19

潘栩锋's avatar
潘栩锋 committed
20
        public const UInt32 WEIGHTS_OBJ_FLOW_ID = 35004;
21

潘栩锋's avatar
潘栩锋 committed
22
        public const UInt32 WEIGHTS_OBJ_MIX_BASE_ID = 35005;
潘栩锋's avatar
潘栩锋 committed
23 24 25
        /// <summary>
        /// 每次配料记录列表, 1~5
        /// </summary>
26
        public static UInt32 WEIGHTS_OBJ_MIX_ID(UInt32 mixBaseId, int idx)
潘栩锋's avatar
潘栩锋 committed
27
        {
28
            return (UInt32)(mixBaseId + idx);
潘栩锋's avatar
潘栩锋 committed
29 30 31 32
        }
        /// <summary>
        /// 每次配料记录列表, 1~5
        /// </summary>
33
        public static UInt32 WEIGHTS_OBJ_ROLLMIX_ID(UInt32 mixBaseId, int idx)
潘栩锋's avatar
潘栩锋 committed
34
        {
35
            return (UInt32)(mixBaseId + 10 + idx);
潘栩锋's avatar
潘栩锋 committed
36 37 38 39
        }

    }
}