Values - SmartPhone with 2 PhoneCameras - BDD

Gallery
Tutorial
The following shows a block SmartPhone that will have front and back cameras, each with a sensor with a different number of pixels. The block PhoneCamera shown is basically the same as the CustomCamera we saw in the previous slide but has been renamed so we can start a new, more complex, configuration sequence:
Click on the image to view it full size
As before for the CustomCamera, the PhoneCamera has its own re-configuration of the sensor (an instance phoneCameraSensor:Sensor with 10 MP). But the smart phone designer has decided this is not powerful enough, so we are going to override that completely by assigning instance trees as defaults on the higher level cameraFront:Camera and cameraBack:Camera part properties within SmartCamera.

The instance trees smartPhone.cameraBack:PhoneCamera and smartPhone.cameraFront:PhoneCamera ultimately carry values for pixels of 15.0 MP and 12.0 MP respectively. We'll see next how these Context-Specific Values can be displayed in an IBD.


Please don't be concerned about the complexity of the InstanceSpecifications shown! Later in the trail we'll see how the tool manages all of this for us nicely direct via the initialValues compartment in the IBD
Up next
Notes
Snippets (quotes/extracts)
Visit also
Visit also (backlinks)
Related slides (includes other tutorials)
Related slides (backlinks, includes other tutorials)