예제 #1
0
        public void InitForIntegerPropertyChange(ushort id, ushort pid, EModelPropertyType modelpropertytype, EModificationType modificationtype, int value)
        {
            if (!IsInitialized)
            {
                Id               = id;
                TargetId         = pid;
                TargetItemType   = ETargetItemType.Property;
                ModificationType = modificationtype;

                ModificationDetails = (IModificationDetails)propertyFactory.Create(pid, value);

                IsInitialized = true;
            }
        }
 public ModelProperty(ushort pid, EModelPropertyType modelPropertyType, IPropertyValue propertyValue)
 {
     Pid          = pid;
     PropertyType = modelPropertyType;
     Value        = propertyValue;
 }