Skip to content

Commit

Permalink
Merge pull request tum-esi#8 from idilsezgin/main
Browse files Browse the repository at this point in the history
add observable in PropertyAffordance converter
  • Loading branch information
FadySalama authored Feb 1, 2024
2 parents d0de491 + 046cab6 commit 7098d78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WoT/TDHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ protected static void CommonFiller<T>(T propertyAffordance, JToken propObj, Json
propertyAffordance.Unit = (string)propObj["unit"];
propertyAffordance.Format = (string)propObj["format"];
if (propObj["readOnly"] != null) propertyAffordance.ReadOnly = (bool)propObj["readOnly"];
if (propObj["observable"] != null) propertyAffordance.Observable = (bool)propObj["observable"];
if (propObj["writeOnly"] != null) propertyAffordance.WriteOnly = (bool)propObj["writeOnly"];
if (propObj["titles"] != null) propertyAffordance.Titles = propObj["titles"].ToObject<MultiLanguage>();
if (propObj["descriptions"] != null) propertyAffordance.Descriptions = propObj["descriptions"].ToObject<MultiLanguage>();
Expand Down

0 comments on commit 7098d78

Please sign in to comment.