OPSBlocks

Name: OPS Blocks

Type: Application

Modules: Exchange-ImportLib, Fx-SharedLib, Fx-TpsTransXChange, Legacy-Fx, Legacy-OPS, OPS-Lib, OPS-Report, Pass-Lib, Pass-PassSchedule

Description: Master list of all blocks. A block is a collection of trips to be performed by one vehicle.

Field Documentation
BlockId Unique identifier for a block.
BlockVersionId Same block run in a different scenario.
BlockNum Identifier for a block that is unique within a line group, service group, sign up period combination.
BlockName Name assigned to the block by the user.
BlockSchId Block schedule in signup.
SignId Sign-up period identifier from OPSSignUpPeriods.SignIds
ServiceGroupId Service group identifier from MasterServiceGroup.ServiceGroupId.
LineGroupId Line group identifier from MasterLineGroup.LineGroupId.
BusTypeId Vehicle type identifier from BusTypes.BusTypeId.
UserLong1 Client supplementary data.
UserLong2 Client supplementary data.
FromGarageId Garage block to pull out from.
ToGarageId Garage block to pull in to.
FromNodeId First node in the block.
ToNodeId Last node in the block.
PullinTime Block pull in tIme. Value is in seconds from midnight.
PulloutTime Block pull out time. Value is in seconds from midnight.
FromTime Starting time of the block. Value is in seconds from midnight.
ToTime End time of the block. Value is in seconds from midnight.
BlockMileage Mileage of the block in meters.
Flag Flag to indicate whether to include comments (0 = do not include comment, 1 = include comment).
NonRevenueMileage Total mileage, in meters, that will not be generating revenue.
NonRevenueTime Total time, in seconds, the block will not be generating revenue.
RevenueMileage Total mileage, in meters, that the block will be generating revenue.
RevenueTime Total time, in seconds, that the block will be generating revenue.
FromDate Start date from when the block is valid.
ToDate End date after which the block is no longer valid.
WeekTemplate 7-character string indicating what days of the week the block is valid (e.g., 0011001 means Monday, Tuesday, and Friday).
EventStatus Style of events imported from third-party external source (e.g., Baseball On\Baseball Off).
DivisionId Division identifier from MasterDivisions.DivisionId.
TimeIsPrevDay Whether the block's pull out time is from yesterday.
OpsVersionId Import version ID from third-party external source.
FromLocation Starting location of the block.
ToLocation Ending location of the block.
LineList List of lines in the block.
SourceBlockId For data that is imported from an external source, this contains the block identifier from the other system.