cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

ThingTemplate use

deannar
1-Visitor

ThingTemplate use

I'm having some trouble understanding why ThingTemplate's are useful or necessary, could someone shed some light on the subject?

(test question)

1 REPLY 1
grahamall
2-Explorer
(To:deannar)

ThingTemplase allow Inheritance http://en.wikipedia.org/wiki/Inheritance_(object-oriented_programming) allowig you to create a template with predefined proerties and methods.


Consider the example in the Training material;  I you were deploying drinks vending machines all of those machines would have similar characteristics  (number of flavours, location) and services (methods in Java).  By using a template you can create all these properties one and then use them many times.  



Announcements


Top Tags