Skip to content

Commit

Permalink
instrument Solution, phetsims/ph-scale#92
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jan 30, 2020
1 parent 8d9a92f commit dda4865
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
39 changes: 39 additions & 0 deletions js/phet-io/ph-scale-basics-phet-io-elements-baseline.js
Original file line number Diff line number Diff line change
Expand Up @@ -1509,6 +1509,45 @@ window.phet.phetio.phetioElementsBaseline = assert &&
"phetioStudioControl": true,
"phetioTypeName": "PropertyIO<NullableIO<NumberIO>>"
},
"phScaleBasics.macroScreen.model.solution.pHProperty": {
"phetioDocumentation": "",
"phetioDynamicElement": false,
"phetioEventType": "MODEL",
"phetioFeatured": false,
"phetioHighFrequency": false,
"phetioIsArchetype": false,
"phetioPlayback": false,
"phetioReadOnly": true,
"phetioState": true,
"phetioStudioControl": true,
"phetioTypeName": "DerivedPropertyIO<NullableIO<NumberIO>>"
},
"phScaleBasics.macroScreen.model.solution.soluteVolumeProperty": {
"phetioDocumentation": "",
"phetioDynamicElement": false,
"phetioEventType": "MODEL",
"phetioFeatured": false,
"phetioHighFrequency": false,
"phetioIsArchetype": false,
"phetioPlayback": false,
"phetioReadOnly": true,
"phetioState": true,
"phetioStudioControl": true,
"phetioTypeName": "NumberPropertyIO"
},
"phScaleBasics.macroScreen.model.solution.waterVolumeProperty": {
"phetioDocumentation": "",
"phetioDynamicElement": false,
"phetioEventType": "MODEL",
"phetioFeatured": false,
"phetioHighFrequency": false,
"phetioIsArchetype": false,
"phetioPlayback": false,
"phetioReadOnly": true,
"phetioState": true,
"phetioStudioControl": true,
"phetioTypeName": "DerivedPropertyIO<NumberIO>"
},
"phScaleBasics.macroScreen.model.waterFaucet.enabledProperty": {
"phetioDocumentation": "",
"phetioDynamicElement": false,
Expand Down
44 changes: 44 additions & 0 deletions js/phet-io/ph-scale-basics-phet-io-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,50 @@ window.phet.phetio.phetioTypes = assert &&
"supertype": "PropertyIO<BooleanIO>",
"typeName": "DerivedPropertyIO<BooleanIO>"
},
"DerivedPropertyIO<NullableIO<NumberIO>>": {
"documentation": "Like PropertyIO, but not settable. Instead it is derived from other DerivedPropertyIO or PropertyIO instances",
"events": [
"changed"
],
"methodOrder": [],
"methods": {
"setValue": {
"documentation": "Errors out when you try to set a derived property.",
"invocableForReadOnlyElements": false,
"parameterTypes": [
"NullableIO<NumberIO>"
],
"returnType": "VoidIO"
}
},
"parameterTypes": [
"NullableIO<NumberIO>"
],
"supertype": "PropertyIO<NullableIO<NumberIO>>",
"typeName": "DerivedPropertyIO<NullableIO<NumberIO>>"
},
"DerivedPropertyIO<NumberIO>": {
"documentation": "Like PropertyIO, but not settable. Instead it is derived from other DerivedPropertyIO or PropertyIO instances",
"events": [
"changed"
],
"methodOrder": [],
"methods": {
"setValue": {
"documentation": "Errors out when you try to set a derived property.",
"invocableForReadOnlyElements": false,
"parameterTypes": [
"NumberIO"
],
"returnType": "VoidIO"
}
},
"parameterTypes": [
"NumberIO"
],
"supertype": "PropertyIO<NumberIO>",
"typeName": "DerivedPropertyIO<NumberIO>"
},
"DialogIO": {
"documentation": "A dialog panel",
"events": [],
Expand Down

0 comments on commit dda4865

Please sign in to comment.