Documentation
¶
Overview ¶
Package racesmar defines the RACES Mutual Aid Request Form message type.
Package racesmar defines the RACES Mutual Aid Request Form message type.
Package racesmar defines the RACES Mutual Aid Request Form message type.
Package racesmar defines the RACES Mutual Aid Request Form message type.
Package racesmar defines the RACES Mutual Aid Request Form message type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Type16 = message.Type{ Tag: "RACES-MAR", HTML: "form-oa-mutual-aid-request.html", Version: "1.6", Name: "RACES mutual aid request form", Article: "a", FieldOrder: []string{ "MsgNo", "1a.", "1b.", "5.", "7a.", "8a.", "7b.", "8b.", "7c.", "8c.", "7d.", "8d.", "15.", "16a.", "16b.", "17.", "18a.", "18b.", "18c.", "18d.", "18a.", "18b.", "18c.", "18d.", "19a.", "19b.", "20a.", "20b.", "21.", "22.", "23.", "24a.", "24b.", "24c.", "25a.", "25b.", "25c.", "26a.", "26b.", "OpRelayRcvd", "OpRelaySent", "OpName", "OpCall", "OpDate", "OpTime", }, }
Type16 is the type definition for a RACES mutual aid request form.
var Type21 = message.Type{ Tag: "RACES-MAR", HTML: "form-oa-mutual-aid-request-v2.html", Version: "2.1", Name: "RACES mutual aid request form", Article: "a", FieldOrder: []string{ "MsgNo", "1a.", "1b.", "5.", "7a.", "8a.", "7b.", "8b.", "7c.", "8c.", "7d.", "8d.", "15.", "16a.", "16b.", "17.", "18a.", "18b.", "18c.", "18d.", "18.1a.", "18.1b.", "18.1c.", "18.1d.", "18.2a.", "18.2b.", "18.2c.", "18.2d.", "18.3a.", "18.3b.", "18.3c.", "18.3d.", "18.4a.", "18.4b.", "18.4c.", "18.4d.", "18.5a.", "18.5b.", "18.5c.", "18.5d.", "19a.", "19b.", "20a.", "20b.", "21.", "22.", "23.", "24a.", "24b.", "24c.", "25a.", "25b.", "25c.", "26a.", "26b.", "OpRelayRcvd", "OpRelaySent", "OpName", "OpCall", "OpDate", "OpTime", }, }
Type21 is the type definition for a RACES mutual aid request form.
var Type23 = message.Type{ Tag: "RACES-MAR", HTML: "form-oa-mutual-aid-request-v2.html", Version: "2.3", Name: "RACES mutual aid request form", Article: "a", FieldOrder: []string{ "MsgNo", "1a.", "1b.", "5.", "7a.", "8a.", "7b.", "8b.", "7c.", "8c.", "7d.", "8d.", "15.", "16a.", "16b.", "17.", "18a.", "18b.", "18c.", "18d.", "18.1a.", "18.1e.", "18.1f.", "18.1b.", "18.1c.", "18.1d.", "18.2a.", "18.2e.", "18.2f.", "18.2b.", "18.2c.", "18.2d.", "18.3a.", "18.3e.", "18.3f.", "18.3b.", "18.3c.", "18.3d.", "18.4a.", "18.4e.", "18.4f.", "18.4b.", "18.4c.", "18.4d.", "18.5a.", "18.5e.", "18.5f.", "18.5b.", "18.5c.", "18.5d.", "19a.", "19b.", "20a.", "20b.", "21.", "22.", "23.", "24a.", "24b.", "24c.", "25a.", "25b.", "25c.", "26a.", "26b.", "OpRelayRcvd", "OpRelaySent", "OpName", "OpCall", "OpDate", "OpTime", }, }
Type23 is the type definition for a RACES mutual aid request form.
var Type24 = message.Type{ Tag: "RACES-MAR", HTML: "form-oa-mutual-aid-request-v2.html", Version: "2.4", Name: "RACES mutual aid request form", Article: "a", FieldOrder: []string{ "MsgNo", "1a.", "1b.", "5.", "7a.", "8a.", "7b.", "8b.", "7c.", "8c.", "7d.", "8d.", "15.", "16a.", "16b.", "17.", "18a.", "18b.", "18c.", "18d.", "18.1a.", "18.1e.", "18.1f.", "18.1b.", "18.1c.", "18.1d.", "18.2a.", "18.2e.", "18.2f.", "18.2b.", "18.2c.", "18.2d.", "18.3a.", "18.3e.", "18.3f.", "18.3b.", "18.3c.", "18.3d.", "18.4a.", "18.4e.", "18.4f.", "18.4b.", "18.4c.", "18.4d.", "18.5a.", "18.5e.", "18.5f.", "18.5b.", "18.5c.", "18.5d.", "19a.", "19b.", "20a.", "20b.", "21.", "22.", "23.", "24a.", "24b.", "24c.", "25a.", "25b.", "25c.", "25s.", "26a.", "26b.", "OpRelayRcvd", "OpRelaySent", "OpName", "OpCall", "OpDate", "OpTime", }, }
Type24 is the type definition for a RACES mutual aid request form.
var Type33 = message.Type{ Tag: "RACES-MAR", HTML: "form-oa-mutual-aid-request-v3.html", Version: "3.3", Name: "RACES mutual aid request form", Article: "a", FieldOrder: []string{ "MsgNo", "1a.", "1b.", "5.", "7a.", "8a.", "7b.", "8b.", "7c.", "8c.", "7d.", "8d.", "15.", "15b.", "16a.", "16b.", "17.", "18a.", "18b.", "18c.", "18d.", "18.1a.", "18.1e.", "18.1f.", "18.1g.", "18.1b.", "18.1c.", "18.1d.", "18.2a.", "18.2e.", "18.2f.", "18.2g.", "18.2b.", "18.2c.", "18.2d.", "18.3a.", "18.3e.", "18.3f.", "18.3g.", "18.3b.", "18.3c.", "18.3d.", "18.4a.", "18.4e.", "18.4f.", "18.4g.", "18.4b.", "18.4c.", "18.4d.", "18.5a.", "18.5e.", "18.5f.", "18.5g.", "18.5b.", "18.5c.", "18.5d.", "19a.", "19b.", "20a.", "20b.", "20c.", "20d.", "21.", "22.", "23.", "24a.", "24b.", "24c.", "25a.", "25b.", "25c.", "25s.", "26a.", "26b.", "OpRelayRcvd", "OpRelaySent", "OpName", "OpCall", "OpDate", "OpTime", }, }
Type33 is the type definition for a RACES mutual aid request form, version 3.3.
Functions ¶
This section is empty.
Types ¶
type RACESMAR16 ¶ added in v1.10.0
type RACESMAR16 struct { message.BaseMessage baseform.BaseForm AgencyName string EventName string EventNumber string Assignment string ResourceQty string ResourceRolePos string ResourcePreferredType string ResourceMinimumType string RequestedArrivalDates string RequestedArrivalTimes string NeededUntilDates string NeededUntilTimes string ReportingLocation string ContactOnArrival string TravelInfo string RequestedByName string RequestedByTitle string RequestedByContact string ApprovedByName string ApprovedByTitle string ApprovedByContact string ApprovedByDate string ApprovedByTime string }
RACESMAR16 holds a RACES mutual aid request form.
func (*RACESMAR16) Compare ¶ added in v1.10.0
func (f *RACESMAR16) Compare(actual message.Message) (int, int, []*message.CompareField)
type RACESMAR21 ¶ added in v1.10.0
type RACESMAR21 struct { message.BaseMessage baseform.BaseForm AgencyName string EventName string EventNumber string Assignment string Resources [5]Resource21 RequestedArrivalDates string RequestedArrivalTimes string NeededUntilDates string NeededUntilTimes string ReportingLocation string ContactOnArrival string TravelInfo string RequestedByName string RequestedByTitle string RequestedByContact string ApprovedByName string ApprovedByTitle string ApprovedByContact string ApprovedByDate string ApprovedByTime string }
RACESMAR21 holds a RACES mutual aid request form.
func (*RACESMAR21) Compare ¶ added in v1.10.0
func (f *RACESMAR21) Compare(actual message.Message) (int, int, []*message.CompareField)
type RACESMAR23 ¶ added in v1.10.0
type RACESMAR23 struct { message.BaseMessage baseform.BaseForm AgencyName string EventName string EventNumber string Assignment string Resources [5]Resource23 RequestedArrivalDates string RequestedArrivalTimes string NeededUntilDates string NeededUntilTimes string ReportingLocation string ContactOnArrival string TravelInfo string RequestedByName string RequestedByTitle string RequestedByContact string ApprovedByName string ApprovedByTitle string ApprovedByContact string ApprovedByDate string ApprovedByTime string }
RACESMAR23 holds a RACES mutual aid request form.
func (*RACESMAR23) Compare ¶ added in v1.10.0
func (f *RACESMAR23) Compare(actual message.Message) (int, int, []*message.CompareField)
type RACESMAR24 ¶ added in v1.10.0
type RACESMAR24 struct { message.BaseMessage baseform.BaseForm AgencyName string EventName string EventNumber string Assignment string Resources [5]Resource24 RequestedArrivalDates string RequestedArrivalTimes string NeededUntilDates string NeededUntilTimes string ReportingLocation string ContactOnArrival string TravelInfo string RequestedByName string RequestedByTitle string RequestedByContact string ApprovedByName string ApprovedByTitle string ApprovedByContact string WithSignature string ApprovedByDate string ApprovedByTime string }
RACESMAR24 holds a RACES mutual aid request form.
func (*RACESMAR24) Compare ¶ added in v1.10.0
func (f *RACESMAR24) Compare(actual message.Message) (int, int, []*message.CompareField)
type RACESMAR33 ¶ added in v1.10.0
type RACESMAR33 struct { message.BaseMessage baseform.BaseForm AgencyName string OriginalMsgNumber string EventName string EventNumber string Assignment string Resources [5]Resource33 RequestedArrivalDate string RequestedArrivalTime string OpStartDate string OpStartTime string OpEndDate string OpEndTime string ReportingLocation string ContactOnArrival string TravelInfo string RequestedByName string RequestedByTitle string RequestedByContact string ApprovedByName string ApprovedByTitle string ApprovedByContact string WithSignature string ApprovedByDate string ApprovedByTime string }
RACESMAR33 holds a RACES mutual aid request form.
func (*RACESMAR33) Compare ¶ added in v1.10.0
func (f *RACESMAR33) Compare(actual message.Message) (int, int, []*message.CompareField)
type Resource21 ¶ added in v1.10.0
A Resource21 is the description of a single resource in a RACES mutual aid request form.
type Resource23 ¶ added in v1.10.0
type Resource23 struct { Qty string Role string Position string RolePos string PreferredType string MinimumType string }
A Resource23 is the description of a single resource in a RACES mutual aid request form.
func (*Resource23) Fields ¶ added in v1.10.0
func (r *Resource23) Fields(index int) []*message.Field
func (*Resource23) IsHuman ¶ added in v1.10.0
func (r *Resource23) IsHuman(s string) bool
func (*Resource23) IsPIFO ¶ added in v1.10.0
func (r *Resource23) IsPIFO(s string) bool
func (*Resource23) ListHuman ¶ added in v1.10.0
func (r *Resource23) ListHuman() []string
func (*Resource23) ToHuman ¶ added in v1.10.0
func (r *Resource23) ToHuman(s string) string
func (*Resource23) ToPIFO ¶ added in v1.10.0
func (r *Resource23) ToPIFO(s string) string
type Resource24 ¶ added in v1.10.0
type Resource24 struct { Qty string Role string Position string RolePos string PreferredType string MinimumType string }
A Resource24 is the description of a single resource in a RACES mutual aid request form.
func (*Resource24) Fields ¶ added in v1.10.0
func (r *Resource24) Fields(index int) []*message.Field
func (*Resource24) IsHuman ¶ added in v1.10.0
func (r *Resource24) IsHuman(s string) bool
func (*Resource24) IsPIFO ¶ added in v1.10.0
func (r *Resource24) IsPIFO(s string) bool
func (*Resource24) ListHuman ¶ added in v1.10.0
func (r *Resource24) ListHuman() []string
func (*Resource24) ToHuman ¶ added in v1.10.0
func (r *Resource24) ToHuman(s string) string
func (*Resource24) ToPIFO ¶ added in v1.10.0
func (r *Resource24) ToPIFO(s string) string