Crew Assignment Status

The Responder domain called CREW_ASSIGNMENT_STATUS is used to indicate the status of a crew's assignment. Examples of different statuses are Assigned, Dispatched, Working, Completed, etc.

To explain how to add a new crew status, we will use the example of adding En Route. The DomainPair for this status must be added under CREW_ASSIGNMENT_STATUS in DatabaseSchemaConfig.xml, which is located here: C:\Program Files (x86)\Miner and Miner\Responder\Server\.

The following DomainPair can be included to add the crew Status of En Route:

TIP: If you want the new status to display in Archive Explorer, you must make the same change to ArchiveSchemaConfig.xml.
<Domain Name="CREW_ASSIGNMENT_STATUS" xsi:type="CodedDomainConfig" DataType="Int32" ResourceAssembly="Miner.Responder.Windows">
  <DomainPair Value="1" Description="Assigned" Image="BallGreen" />
  <DomainPair Value="2" Description="Dispatched" Image="BallYellow" />
  <DomainPair Value="3" Description="En Route" Image="BallRed" />
  <DomainPair Value="4" Description="Working" Image="BallBlue" />
  <DomainPair Value="5" Description="Completed" Image="BallBlack" />
</Domain>
IMPORTANT: Do not modify the 0=Unassigned value. You can change the remaining values, and you can change the meaning or add/remove as many statuses as desired between ‘Assigned’ and ‘Completed.' You cannot, however, change the meaning of ‘Assigned’ and ‘Completed.'

After adding a new DomainPair under CREW_ASSIGNMENT_STATUS in DatabaseSchemaConfig.xml, you must make sure ExplorerConfigRules.xml has CrewAssignments configured correctly, or the new assignment status will not display when the incident or crew are being managed.

<RulePackages Key="ExplorerRulePackages">
  <RulePackage Key="IncidentTasks" Caption="">
    <b:RuleClasses Key="">
      <b:RuleClass Key="CrewAssignment1" Type="Miner.Responder.Explorer.IncidentTasks.CrewAssignmentTask, Miner. Responder.Explorer">
        <b:Properties>
          <b:Property Key="ValidInitialValue" Value="1" />
        </b:Properties>
      </b:RuleClass>
      <b:RuleClass Key="CrewAssignment2" Type="Miner.Responder.Explorer.IncidentTasks.CrewAssignmentTask, Miner. Responder.Explorer">
        <b:Properties>
          <b:Property Key="ValidInitialValue" Value="2" />
        </b:Properties>
      </b:RuleClass>
      <b:RuleClass Key="CrewAssignment3" Type="Miner.Responder.Explorer.IncidentTasks.CrewAssignmentTask, Miner. Responder.Explorer">
        <b:Properties>
          <b:Property Key="ValidInitialValue" Value="3" />
        </b:Properties>
      </b:RuleClass>
      <b:RuleClass Key="ConfirmIncidentTask" Type="Miner.Responder.Explorer.IncidentTasks.ConfirmIncidentTask,Miner.Responder.Explorer" />
      <b:RuleClass Key="CompleteSwitchingOrderTask" Type="Miner.Responder.Explorer.IncidentTasks.CompleteSwitchingOrderTask,Miner.Responder.Explorer" />
      <b:RuleClass Key="SecureWireDownTask" Type="Miner.Responder.Explorer.IncidentTasks.SecureWireDownTask,Miner.Responder.Explorer" />
      <b:RuleClass Key="CompleteHazardTask" Type="Miner.Responder.Explorer.IncidentTasks.CompleteHazardTask,Miner.Responder.Explorer" />
      <b:RuleClass Key="RestoreIncidentDeviceTask" Type="Miner.Responder.Explorer.IncidentTasks.RestoreIncidentDeviceTask,Miner.Responder.Explorer" />
      <b:RuleClass Key="CrewAssignment4" Type="Miner.Responder.Explorer.IncidentTasks.CrewAssignmentTask, Miner. Responder.Explorer">
        <b:Properties>
          <b:Property Key="ValidInitialValue" Value="4" />
        </b:Properties>
      </b:RuleClass>
      <b:RuleClass Key="CompleteIncidentTask" Type="Miner.Responder.Explorer.IncidentTasks.CompleteIncidentTask,Miner.Responder.Explorer" />
      <b:RuleClass Key="CloseIncidentTask" Type="Miner.Responder.Explorer.IncidentTasks.CloseIncidentTask,Miner.Responder.Explorer" />
    </b:RuleClasses>
  </b:RulePackage>
</b:RulePackages>

This image shows the Manage Incident window after the changes above are complete:

QR code for this page

Was this helpful?