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