示例#1
0
        public new static IStufeXExpression Deserialize(Stream ms, Vehicle vec)
        {
            CompareExpression.ECompareOperator ecompareOperator = (CompareExpression.ECompareOperator)((byte)ms.ReadByte());
            IStufeXExpression.ILevelyType      levelyType       = (IStufeXExpression.ILevelyType)ms.ReadByte();
            byte[] array = new byte[8];
            ms.Read(array, 0, 8);
            long ilevelid = BitConverter.ToInt64(array, 0);

            return(new IStufeXExpression(ecompareOperator, ilevelid, levelyType, vec));
        }
示例#2
0
 public IStufeXExpression(CompareExpression.ECompareOperator compareOperator, long ilevelid, IStufeXExpression.ILevelyType iLevelType, Vehicle vec)
 {
     this.iLevelId        = ilevelid;
     this.iLevelType      = iLevelType;
     this.compareOperator = compareOperator;
     this.vecInfo         = vec;
 }