<?xml version="1.0" encoding="utf-8"?>
<Templates xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://gpsgate.com/xml/">
  <Template type="ApplicationEntity">
    <Object>
      <TemplateGuid>dbce1993-7865-4f96-acf8-1e103cd58846</TemplateGuid>
      <TemplateVersion>2</TemplateVersion>
      <ObjectType>GpsGate.Online.Event.EventExpressionEvaluatorWriter</ObjectType>
      <ObjectData>
        <Name>Driver login event</Name>
        <Description>rule that detects when a driver logged on</Description>
        <EvaluationOperator>AND</EvaluationOperator>
        <EndEvaluationOperator>AND</EndEvaluationOperator>
        <SupportUI>false</SupportUI>
        <AutoClose>true</AutoClose>
        <Disabled>false</Disabled>
        <FinishOnPreCondition>true</FinishOnPreCondition>
        <UserMatchMethod>Tags</UserMatchMethod>
        <Expressions>
          <ExpressionRef>5418717d-4be8-428f-860f-e7ceee959254</ExpressionRef>
        </Expressions>
        <Notifiers>
          <NotifierRef>c67fa772-83ce-4565-ab10-113866f56e83</NotifierRef>
          <NotifierRef>d18f60c0-18e6-47f2-8f65-4f65ad9b081b</NotifierRef>
          <NotifierRef>96be3504-e45a-4a40-8c5a-6b1bb4bf1430</NotifierRef>
        </Notifiers>
        <PostConditions>
          <PostConditionRef>bea0c8ce-e7de-4f43-8a56-1cab50795681</PostConditionRef>
        </PostConditions>
        <PreConditions>
          <PreConditionRef>416509fb-85c5-4daa-ad58-594dd4c2c1e2</PreConditionRef>
        </PreConditions>
        <TagIDs />
      </ObjectData>
    </Object>
    <Object>
      <TemplateGuid>5418717d-4be8-428f-860f-e7ceee959254</TemplateGuid>
      <TemplateVersion>2</TemplateVersion>
      <ObjectType>GpsGate.Online.DriverID.DriverIDExpression</ObjectType>
      <ObjectData>
        <IsEndExpression>false</IsEndExpression>
        <IsOneShot>false</IsOneShot>
        <MessageField>
          <MessageFieldIDRef>IButton</MessageFieldIDRef>
          <MessageNamespace>GpsGate</MessageNamespace>
        </MessageField>
        <RelationalOperator>EQUAL</RelationalOperator>
        <StayLoggedIn>true</StayLoggedIn>
      </ObjectData>
    </Object>
    <Object>
      <TemplateGuid>c67fa772-83ce-4565-ab10-113866f56e83</TemplateGuid>
      <TemplateVersion>2</TemplateVersion>
      <ObjectType>GpsGate.Online.DriverID.DriverIDNotifier</ObjectType>
      <ObjectData>
        <Name>Driver ID notifier</Name>
        <NotifierGroup>default</NotifierGroup>
        <Mode>Start</Mode>
      </ObjectData>
    </Object>
    <Object>
      <TemplateGuid>d18f60c0-18e6-47f2-8f65-4f65ad9b081b</TemplateGuid>
      <TemplateVersion>2</TemplateVersion>
      <ObjectType>GpsGate.Online.Notification.UserAttribute.UserAttributeColumnTextNotifier</ObjectType>
      <ObjectData>
        <Name>Text Notifier</Name>
        <NotifierGroup>default</NotifierGroup>
        <Mode>Start</Mode>
        <Header>Driver Name</Header>
        <Type>ColumnText</Type>
        <Key>drivername</Key>
        <ActiveValue>[DRIVER_NAME]</ActiveValue>
        <InactiveValue></InactiveValue>
      </ObjectData>
    </Object>
    <Object>
      <TemplateGuid>96be3504-e45a-4a40-8c5a-6b1bb4bf1430</TemplateGuid>
      <TemplateVersion>2</TemplateVersion>
      <ObjectType>GpsGate.Reporting.v3.Notification.ReportArgumentNotifier</ObjectType>
      <ObjectData>
        <Name>Report Argument</Name>
        <NotifierGroup>default</NotifierGroup>
        <Mode>Start</Mode>
        <ArgumentName>Driver Name</ArgumentName>
        <Template>[DRIVER_NAME]</Template>
      </ObjectData>
    </Object>
    <Object>
      <TemplateGuid>bea0c8ce-e7de-4f43-8a56-1cab50795681</TemplateGuid>
      <TemplateVersion>2</TemplateVersion>
      <ObjectType>GpsGate.Online.Event.EventDurationEvaluatorPostCondition</ObjectType>
      <ObjectData>
        <Name>Event duration evaluator post condition</Name>
        <RelationalOperator>GREATER_OR_EQUAL</RelationalOperator>
        <EventDuration>0</EventDuration>
        <AutoTrigger>false</AutoTrigger>
      </ObjectData>
    </Object>
    <Object>
      <TemplateGuid>416509fb-85c5-4daa-ad58-594dd4c2c1e2</TemplateGuid>
      <TemplateVersion>2</TemplateVersion>
      <ObjectType>GpsGate.Online.Event.DayOfWeekPeriodEvaluatorPreCondition</ObjectType>
      <ObjectData>
        <Name>Day of week evaluator pre condition</Name>
        <Periods>
          <Period>
            <StartTimeOfDay>0</StartTimeOfDay>
            <StopTimeOfDay>863999990000</StopTimeOfDay>
            <DayOfWeek>All</DayOfWeek>
            <EvaluationMethod>Inside</EvaluationMethod>
          </Period>
        </Periods>
      </ObjectData>
    </Object>
  </Template>
</Templates>