diff --git a/RIGS/migrations/0048_auto_20200829_2201.py b/RIGS/migrations/0048_auto_20200829_2201.py
new file mode 100644
index 00000000..e3f68956
--- /dev/null
+++ b/RIGS/migrations/0048_auto_20200829_2201.py
@@ -0,0 +1,31 @@
+# Generated by Django 3.1 on 2020-08-29 21:01
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('RIGS', '0047_auto_20200829_2105'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='eventchecklistcrew',
+ name='end',
+ field=models.DateTimeField(default=None),
+ preserve_default=False,
+ ),
+ migrations.AlterField(
+ model_name='eventchecklistcrew',
+ name='role',
+ field=models.CharField(default=None, max_length=255),
+ preserve_default=False,
+ ),
+ migrations.AlterField(
+ model_name='eventchecklistcrew',
+ name='start',
+ field=models.DateTimeField(default=None),
+ preserve_default=False,
+ ),
+ ]
diff --git a/RIGS/migrations/0049_auto_20200829_2313.py b/RIGS/migrations/0049_auto_20200829_2313.py
new file mode 100644
index 00000000..be56d711
--- /dev/null
+++ b/RIGS/migrations/0049_auto_20200829_2313.py
@@ -0,0 +1,78 @@
+# Generated by Django 3.1 on 2020-08-29 22:13
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('RIGS', '0048_auto_20200829_2201'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='all_rcds_tested',
+ field=models.BooleanField(default=False, help_text='All circuit RCDs tested?(using test button)'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='fd_earth_fault',
+ field=models.IntegerField(default=False, help_text='Earth Fault Loop Impedance (ZS)'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='fd_phase_rotation',
+ field=models.BooleanField(default=False, help_text='Phase Rotation
(if required)'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='fd_pssc',
+ field=models.IntegerField(default=False, help_text='Prospective Short Circuit Current'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='fd_voltage_l1',
+ field=models.IntegerField(default=False),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='fd_voltage_l2',
+ field=models.IntegerField(default=False),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='fd_voltage_l3',
+ field=models.IntegerField(default=False),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='labelling',
+ field=models.BooleanField(default=False, help_text='Appropriate and clear labelling on distribution and cabling?'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='public_sockets_tested',
+ field=models.BooleanField(default=False, help_text='Public/Performer accessible circuits tested?(using socket tester)'),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name='eventchecklist',
+ name='source_rcd',
+ field=models.BooleanField(default=False, help_text='Source RCD protected?
(if cable is more than 3m long) '),
+ preserve_default=False,
+ ),
+ migrations.AlterField(
+ model_name='eventchecklist',
+ name='earthing',
+ field=models.BooleanField(help_text='Equipment appropriately earthed?
(truss, stage, generators etc)'),
+ ),
+ ]
diff --git a/RIGS/models.py b/RIGS/models.py
index a583153c..6ec83221 100644
--- a/RIGS/models.py
+++ b/RIGS/models.py
@@ -642,7 +642,6 @@ class EventChecklist(models.Model, RevisionMixin):
# General
power_mic = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='checklists', null=True,
verbose_name="Power MIC", on_delete=models.CASCADE, help_text="Who is the Power MIC?")
- #vehicles = models.JSONField(help_text="List vehicles and their drivers", default=dict, null=False)
# Safety Checks
safe_parking = models.BooleanField(help_text="Vehicles parked safely?
(does not obstruct venue access)")
@@ -654,16 +653,28 @@ class EventChecklist(models.Model, RevisionMixin):
hs_location = models.CharField(max_length=255, help_text="Location of Safety Bag/Box")
extinguishers_location = models.CharField(max_length=255, help_text="Location of fire extinguishers")
- # Crew Record TODO
-
# Small Electrical Checks
rcds = models.BooleanField(help_text="RCDs installed where needed and tested?")
supply_test = models.BooleanField(help_text="Electrical supplies tested?
(using socket tester)")
- earthing = models.BooleanField(help_text="Equipment appropriately earthed?
(truss, stage, etc)")
+
+ # Shared electrical checks
+ earthing = models.BooleanField(help_text="Equipment appropriately earthed?
(truss, stage, generators etc)")
pat = models.BooleanField(help_text="All equipment in PAT period?")
medium_event = models.BooleanField()
# Medium Electrical Checks
+ source_rcd = models.BooleanField(help_text="Source RCD protected?
(if cable is more than 3m long) ")
+ labelling = models.BooleanField(help_text="Appropriate and clear labelling on distribution and cabling?")
+ # First Distro
+ fd_voltage_l1 = models.IntegerField(help_text="L1 - N")
+ fd_voltage_l2 = models.IntegerField(help_text="L2 - N")
+ fd_voltage_l3 = models.IntegerField(help_text="L3 - N")
+ fd_phase_rotation = models.BooleanField(help_text="Phase Rotation
(if required)")
+ fd_earth_fault = models.IntegerField(help_text="Earth Fault Loop Impedance (ZS)")
+ fd_pssc = models.IntegerField(help_text="Prospective Short Circuit Current")
+
+ all_rcds_tested = models.BooleanField(help_text="All circuit RCDs tested?(using test button)")
+ public_sockets_tested = models.BooleanField(help_text="Public/Performer accessible circuits tested?(using socket tester)")
@property
def activity_feed_string(self):
diff --git a/RIGS/templates/event_checklist_detail.html b/RIGS/templates/event_checklist_detail.html
index 4f3d3d8c..1b547a9f 100644
--- a/RIGS/templates/event_checklist_detail.html
+++ b/RIGS/templates/event_checklist_detail.html
@@ -5,7 +5,7 @@
{% block content %}
List vehicles and their drivers
-List vehicles and their drivers
+| Crewmember | +Start Time | +Role | +End Time | +
|---|---|---|---|
| {{crew.crewmember}} | +{{crew.start}} | +{{crew.role}} | +{{crew.end}} | +
Tests at first distro
+| Test | ++ | + | + |
|---|---|---|---|
| Voltage (cube meter) |
+ {{object|help_text:'fd_voltage_l1'}} | +{{object|help_text:'fd_voltage_l2'}} | +{{object|help_text:'fd_voltage_l3'}} | +
| {% render_field form.fd_voltage_l1 class+="form-control" %} | +{% render_field form.fd_voltage_l2 class+="form-control" %} | +{% render_field form.fd_voltage_l1 class+="form-control" %} | +|
| {{object|help_text:'fd_phase_rotation'|safe}} | +{% render_field form.fd_phase_rotation %} | +||
| {{object|help_text:'fd_earth_fault'|safe}} | +{% render_field form.fd_earth_fault class+="form-control" %} | +||
| {{object|help_text:'fd_pssc'|safe}} | +{% render_field form.fd_pssc class+="form-control" %} | +||
| RCD Value (mA) | +Max ZS (Ohms) | +
|---|---|
| 30 | +1667 | +
| 100 | +500 | +
| 300 | +167 | +
| 500 | +100 | +
| Distro | +Max PSSC (kA) | +
|---|---|
| Intel & Toblerone distros | +6 | +
| All other distros | +10 | +
Voltage Drop on Circuit: 5% (approx. 12v)
+