Gets a XML document that represents all events in the list, including each event’s properties.
Each EventInfo node in the result represents an event. Within the EventInfo nodes, there can be EventData, PlayEventData, and TransferEventData nodes to describe the event.
Assembly: GrassValley.Mseries.ScheduleEditor (in GrassValley.Mseries.ScheduleEditor.dll) Version: 1.0.0.0
Syntax
C# |
---|
public string GetListXml() |
Visual Basic (Declaration) |
---|
Public Function GetListXml As String |
Visual C++ |
---|
public: virtual String^ GetListXml() sealed |
Return Value
the list in XML format.Implements
IScheduleEditor..::.GetListXml()()()Remarks
This is a sample of a xml return value.
CopyC#
<?xml version="1.0" encoding="utf-16"?> <XML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="EventInfo__1.0"> <EventInfo> <SecondaryEvents> <SecondaryEvent uuid="0f741984feaa478bb26133e53c51b821" type="GpiOutput" error="0" lastError="0"> <GpiOutput name="GPI-Out-1" position="startplus" offset="00:00:00:00" type="trigger" duration="60" /> </SecondaryEvent> </SecondaryEvents> <EventData uuid="4784f75588874ef49bbeab5c6295af51" childUuid="6fa00ee5bc43481997019e2ef517a4db" eventType="Play" channel="0" strUri="edl/cmf//localhost/V:/default/Fighters" trigger="Absolute" parentUuid="" eventStatus="Ready" error="0" name="" userName="" trafficId="" startDate="2009-10-09T00:00:00" startTime="15:53:43:00" duration="00:00:01:00" repeatMode="None" purgeDate="2019-10-10T00:00:00" purgeTime="00:00:00:00" purgeCount="0" completed="0" comment="1" lastStartDate="" lastStartTime="" lastDuration="" lastError="0"> </EventData> <PlayEventData markIn="00:00:00:00" isMarkInAbs="FALSE" altUri="" altMarkIn="00:00:00:00" isAltMarkInAbs="TRUE" /> </EventInfo> <EventInfo> <SecondaryEvents> <SecondaryEvent uuid="0f741984feaa478bb26133e53c51b821" type="GpiOutput" error="0" lastError="0"> <GpiOutput name="GPI-Out-2" position="startplus" offset="00:00:00:00" type="trigger" duration="60" /> </SecondaryEvent> </SecondaryEvents> <EventData uuid="6fa00ee5bc43481997019e2ef517a4db" childUuid="b54a3d6ee134408798c22a7a23ef067a" eventType="Play" channel="0" strUri="edl/cmf//localhost/V:/default/Fighters" trigger="Follow" parentUuid="4784f75588874ef49bbeab5c6295af51" eventStatus="Ready" error="0" name="" userName="" trafficId="" startDate="2009-10-09T00:00:00" startTime="15:54:13:00" duration="00:00:01:00" repeatMode="None" purgeDate="2019-10-10T00:00:00" purgeTime="00:00:30:00" purgeCount="0" completed="0" comment="2" lastStartDate="" lastStartTime="" lastDuration="" lastError="0"> </EventData> <PlayEventData markIn="00:00:00:00" isMarkInAbs="FALSE" altUri="" altMarkIn="00:00:00:00" isAltMarkInAbs="TRUE" /> </EventInfo> <EventInfo> <SecondaryEvents> <SecondaryEvent uuid="0f741984feaa478bb26133e53c51b821" type="GpiOutput" error="0" lastError="0"> <GpiOutput name="GPI-Out-3" position="startplus" offset="00:00:00:00" type="trigger" duration="60" /> </SecondaryEvent> </SecondaryEvents> <EventData uuid="b54a3d6ee134408798c22a7a23ef067a" childUuid="a39bae86b9c6425ab871b7d19f87ef3f" eventType="Play" channel="0" strUri="edl/cmf//localhost/V:/default/Fighters" trigger="Follow" parentUuid="6fa00ee5bc43481997019e2ef517a4db" eventStatus="Ready" error="0" name="" userName="" trafficId="" startDate="2009-10-09T00:00:00" startTime="15:54:43:00" duration="00:00:01:00" repeatMode="None" purgeDate="2019-10-10T00:00:00" purgeTime="00:01:00:00" purgeCount="0" completed="0" comment="3" lastStartDate="" lastStartTime="" lastDuration="" lastError="0"> </EventData> <PlayEventData markIn="00:00:00:00" isMarkInAbs="FALSE" altUri="" altMarkIn="00:00:00:00" isAltMarkInAbs="TRUE" /> </EventInfo> </XML>
Examples
CopyC#
//Call helper function CreateIScheduleEditor which creates editor object IScheduleEditor schEditor = CreateIScheduleEditor(); string xmlList = schEditor.GetListXml()); Console.WriteLine(xmlList);