source: sources/client/src/components/admin/ParkingZones/mockData.js@ bc20307

Last change on this file since bc20307 was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 2 years ago

Push before video

  • Property mode set to 100644
File size: 4.1 KB
Line 
1export const parkingZones = [
2 {
3 id: 1,
4 zoneName: 'Zona 1',
5 responsiblePersons: ['Viktor Tasevski', 'David Trajkovski'], // THIS SHOULD BE IN THE ParkingZones Call Only for the Card. For the ZoneInfo We need More Data for The Employees. This should be array of employee objects.
6 parkingSpacesNumber: 79,
7 takenParkingSpaces: 34,
8 hourlyRate: 30,
9 workingHours: {
10 from: 5,
11 to: 24,
12 },
13 zoneColor: '#FFD700',
14 location: {
15 center: {
16 lat: 42.000389,
17 lng: 21.423084,
18 },
19 coords: [
20 { lat: 42.00060867305611, lng: 21.424473984198578 },
21 { lat: 42.001509615969574, lng: 21.421609384939654 },
22 { lat: 41.99886654813535, lng: 21.42293439620515 },
23 ],
24 },
25 parkingSpaces: [
26 {
27 lat: '42.00043725326595',
28 lng: '21.42263398879119',
29 parkingSpaceNumber: 'A21',
30 isTaken: true,
31 },
32 {
33 lat: '42.00028576562848',
34 lng: '21.423680050318325',
35 parkingSpaceNumber: 'A1',
36 isTaken: false,
37 },
38 {
39 lat: '41.99959609366812',
40 lng: '21.423374278487316',
41 parkingSpaceNumber: 'B55',
42 isTaken: true,
43 },
44 {
45 lat: '41.99962798617793',
46 lng: '21.42275200598912',
47 parkingSpaceNumber: 'C20',
48 isTaken: false,
49 },
50 ],
51 },
52 {
53 id: 2,
54 zoneName: 'Zona 2',
55 responsiblePersons: ['Andrej Tavcioski', 'David Trajkovski'], // THIS SHOULD BE IN THE ParkingZones Call Only for the Card. For the ZoneInfo We need More Data for The Employees. This should be array of employee objects.
56 parkingSpacesNumber: 29,
57 takenParkingSpaces: 14,
58 hourlyRate: 30,
59 workingHours: {
60 from: 5,
61 to: 24,
62 },
63 zoneColor: '#FF0000',
64 location: {
65 center: {
66 lat: 42.001097017606455,
67 lng: 21.421317024169447,
68 },
69 coords: [
70 { lat: 42.00048708466677, lng: 21.42135993951415 },
71 { lat: 42.0006784368066, lng: 21.421837372723967 },
72 { lat: 42.00149765665009, lng: 21.42148332113017 },
73 { lat: 42.00134218508192, lng: 21.42078862898779 },
74 ],
75 },
76 parkingSpaces: [
77 {
78 lat: '42.00043725326595',
79 lng: '21.42263398879119',
80 parkingSpaceNumber: 'A21',
81 isTaken: true,
82 },
83 {
84 lat: '42.00028576562848',
85 lng: '21.423680050318325',
86 parkingSpaceNumber: 'A1',
87 isTaken: false,
88 },
89 {
90 lat: '41.99959609366812',
91 lng: '21.423374278487316',
92 parkingSpaceNumber: 'B55',
93 isTaken: true,
94 },
95 {
96 lat: '41.99962798617793',
97 lng: '21.42275200598912',
98 parkingSpaceNumber: 'C20',
99 isTaken: false,
100 },
101 ],
102 },
103 {
104 id: 3,
105 zoneName: 'Zona 3',
106 responsiblePersons: ['David Trajkovski', 'Kumanovecot'],
107 parkingSpacesNumber: 36,
108 takenParkingSpaces: 5,
109 hourlyRate: 10,
110 workingHours: '12:00 - 17:00',
111 },
112 {
113 id: 4,
114 zoneName: 'Zona 4',
115 responsiblePersons: ['Nekoj od POC'],
116 parkingSpacesNumber: 150,
117 takenParkingSpaces: 130,
118 hourlyRate: 100,
119 workingHours: {
120 from: '5',
121 to: '24',
122 },
123 },
124 {
125 id: 5,
126 zoneName: 'Zona 5',
127 responsiblePersons: [],
128 parkingSpacesNumber: 360,
129 takenParkingSpaces: 250,
130 hourlyRate: 30,
131 workingHours: {
132 from: '5',
133 to: '24',
134 },
135 },
136];
Note: See TracBrowser for help on using the repository browser.