Beispiel #1
0
 // both cloud and local
 public AutomationVariable(VariableJson localJson, Variable cloudVariable)
     : base(localJson, cloudVariable.Properties.LastModifiedTime.LocalDateTime)
 {
     this.Encrypted = cloudVariable.Properties.IsEncrypted;
     this.setValue(localJson.Value);
 }
 // both cloud and local
 public AutomationVariable(VariableJson localJson, Variable cloudVariable)
     : base(localJson, cloudVariable.Properties.LastModifiedTime.LocalDateTime)
 {
     this.Encrypted = cloudVariable.Properties.IsEncrypted;
     this.setValue(localJson.Value);            
 }
Beispiel #3
0
 // local only - from json
 public AutomationVariable(VariableJson localJson)
     : base(localJson, null)
 {
     this.Encrypted = localJson.Encrypted;
     this.setValue(localJson.Value);
 }
 // local only - from json
 public AutomationVariable(VariableJson localJson)
     : base(localJson, null)
 {
     this.Encrypted = localJson.Encrypted;
     this.setValue(localJson.Value);
 }