Adding multiple copies of the same custom device driver in a project

The most part of drivers has a system of "items", allows you to use the same script for a multiple physical devices. This items stored (in general) in the end of script file.

By default you have one item:
var mydevice = new Marantz_sr7007_main("Marantz SR7007_first_device");
If you need to make 1 or 2 more items:
var mydevice1 = new Marantz_sr7007_main("Marantz SR7007_first_device");
var mydevice2 = new Marantz_sr7007_main("Marantz SR7007_second_device");
var mydevice3 = new Marantz_sr7007_main("Marantz SR7007_third_device");

Is this article helpful for you?