// 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); }
// 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); }