public PremiseProperty(String propertyName, PremiseType type = PremiseType.TypeNone, bool persistent = false, bool ignoreServer = false) { Name = propertyName; PropertyType = type; HasValue = false; Persistent = persistent; IgnoreServer = ignoreServer; }
public PremiseProperty(String propertyName, PremiseType type, bool persistent = false, bool ignoreServer = false) { Name = propertyName; PropertyType = type; //UpdatedFromServer = false; Persistent = persistent; IgnoreServer = ignoreServer; }
//初始化 public virtual void Init(int nodeKey, PremiseType premiseType = PremiseType.AND, bool trueValue = true) { this.nodeKey = nodeKey; this.premiseType = premiseType; this.trueValue = trueValue; }