03.01.2014 Views

The Application Level Events (ALE) Specification, Version 1.0 - GS1

The Application Level Events (ALE) Specification, Version 1.0 - GS1

The Application Level Events (ALE) Specification, Version 1.0 - GS1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

657<br />

658<br />

659<br />

660<br />

661<br />

662<br />

663<br />

664<br />

665<br />

666<br />

667<br />

668<br />

669<br />

670<br />

671<br />

672<br />

673<br />

674<br />

675<br />

676<br />

677<br />

678<br />

679<br />

680<br />

681<br />

682<br />

683<br />

684<br />

685<br />

686<br />

687<br />

688<br />

689<br />

690<br />

691<br />

8.2.1 ECBoundarySpec<br />

An ECBoundarySpec specifies how the beginning and end of event cycles are to be<br />

determined.<br />

startTrigger : ECTrigger<br />

repeatPeriod : ECTime<br />

stopTrigger : ECTrigger<br />

duration : ECTime<br />

stableSetInterval : ECTime<br />

<br />

---<br />

<strong>The</strong> ECTime values duration, repeatPeriod, and stableSetInterval must<br />

be non-negative; otherwise, the define and immediate methods SHALL raise an<br />

ECSpecValidationException. Zero means “unspecified.”<br />

<strong>The</strong> startTrigger and stopTrigger parameters are optional. For each of these<br />

two parameters, if the parameter is null, omitted, or is an empty string it is considered<br />

“unspecified.”<br />

<strong>The</strong> startTrigger and repeatPeriod parameters are mutually exclusive. If<br />

startTrigger and repeatPeriod are both specified, then the define and<br />

immediate methods SHALL raise an ECSpecValidationException.<br />

<strong>The</strong> conditions under which an event cycle is started depends on the settings for<br />

startTrigger and repeatPeriod:<br />

• If startTrigger is specified and repeatPeriod is not specified, an event<br />

cycle is started when:<br />

• <strong>The</strong> ECSpec is in the requested state and the specified start trigger is received.<br />

• If startTrigger is not specified and repeatPeriod is specified, an event<br />

cycle is started when:<br />

• <strong>The</strong> ECSpec transitions from the unrequested state to the requested state; or<br />

• <strong>The</strong> repeatPeriod has elapsed from the start of the last event cycle, and in<br />

that interval the ECSpec has never transitioned to the unrequested state.<br />

• If neither startTrigger nor repeatPeriod are specified, an event cycle is<br />

started when:<br />

• <strong>The</strong> ECSpec transitions from the unrequested state to the requested state; or<br />

• Immediately after the previous event cycle, if the ECSpec is in the requested<br />

state.<br />

An event cycle, once started, extends until one of the following is true:<br />

Copyright © 2005, 2004 EPCglobal Inc, All Rights Reserved. Page 23 of 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!