1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 |
|
4 |
|
5 |
|
6 | class Device {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | constructor(
|
23 | /**
|
24 | * Gets the address.
|
25 | */
|
26 | address,
|
27 | /**
|
28 | * Gets the port.
|
29 | */
|
30 | port,
|
31 | /**
|
32 | * Gets the MAC address. In most situations this is identical to the
|
33 | * serial number. The exceptions are the Axis products which bundle
|
34 | * multiple physical devices into a single casing with a shared network
|
35 | * interface. Because of the shared network interface they also share
|
36 | * the same MAC address.
|
37 | */
|
38 | macAddress,
|
39 | /**
|
40 | * Gets the short description for the end user.
|
41 | */
|
42 | friendlyName,
|
43 | /**
|
44 | * Gets the model name.
|
45 | */
|
46 | modelName,
|
47 | /**
|
48 | * Gets the long model description for the end user.
|
49 | */
|
50 | modelDescription,
|
51 | /**
|
52 | * Gets the model number.
|
53 | */
|
54 | modelNumber,
|
55 | /**
|
56 | * Gets the URL to the web page of the device.
|
57 | */
|
58 | presentationURL) {
|
59 | this.address = address;
|
60 | this.port = port;
|
61 | this.macAddress = macAddress;
|
62 | this.friendlyName = friendlyName;
|
63 | this.modelName = modelName;
|
64 | this.modelDescription = modelDescription;
|
65 | this.modelNumber = modelNumber;
|
66 | this.presentationURL = presentationURL;
|
67 | }
|
68 | }
|
69 | exports.Device = Device;
|
70 |
|
\ | No newline at end of file |