123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- // *************************************************************************************** //
- //
- // XML Data Binding
- //
- // Generated on: 2014-09-29 16:59:24
- // Generated from: C:\DEV\ITS\01.WINDOWS\03.CctvMonitoring\RUN\Cfg\XCctvList.xml
- //
- // *************************************************************************************** //
- #include <vcl.h>
- #pragma hdrstop
- #include "XCctvList.h"
- // Global Functions
- _di_IXMLCctvListType __fastcall GetCctvList(_di_IXMLDocument Doc)
- {
- return (_di_IXMLCctvListType) Doc->GetDocBinding("CctvList", __classid(TXMLCctvListType), TargetNamespace);
- };
- _di_IXMLCctvListType __fastcall GetCctvList(TXMLDocument *Doc)
- {
- _di_IXMLDocument DocIntf;
- Doc->GetInterface(DocIntf);
- return GetCctvList(DocIntf);
- };
- _di_IXMLCctvListType __fastcall LoadCctvList(const UnicodeString& FileName)
- {
- return (_di_IXMLCctvListType) LoadXMLDocument(FileName)->GetDocBinding("CctvList", __classid(TXMLCctvListType), TargetNamespace);
- };
- _di_IXMLCctvListType __fastcall NewCctvList()
- {
- return (_di_IXMLCctvListType) NewXMLDocument()->GetDocBinding("CctvList", __classid(TXMLCctvListType), TargetNamespace);
- };
- // TXMLCctvListType
- void __fastcall TXMLCctvListType::AfterConstruction(void)
- {
- RegisterChildNode(UnicodeString("Cctv"), __classid(TXMLCctvType));
- ItemTag = "Cctv";
- ItemInterface = __uuidof(IXMLCctvType);
- TXMLNodeCollection::AfterConstruction();
- };
- _di_IXMLCctvType __fastcall TXMLCctvListType::Get_Cctv(int Index)
- {
- return (_di_IXMLCctvType) TXMLNodeCollection::List->Nodes[Index];
- };
- _di_IXMLCctvType __fastcall TXMLCctvListType::Add()
- {
- return (_di_IXMLCctvType) AddItem(-1);
- };
- _di_IXMLCctvType __fastcall TXMLCctvListType::Insert(const int Index)
- {
- return (_di_IXMLCctvType) AddItem(Index);
- };
- // TXMLCctvType
- UnicodeString __fastcall TXMLCctvType::Get_Id()
- {
- return TXMLNode::ChildNodes->Nodes[UnicodeString("Id")]->Text;
- };
- void __fastcall TXMLCctvType::Set_Id(UnicodeString Value)
- {
- TXMLNode::ChildNodes->Nodes[UnicodeString("Id")]->NodeValue = Value;
- };
- UnicodeString __fastcall TXMLCctvType::Get_Group()
- {
- return TXMLNode::ChildNodes->Nodes[UnicodeString("Group")]->Text;
- };
- void __fastcall TXMLCctvType::Set_Group(UnicodeString Value)
- {
- TXMLNode::ChildNodes->Nodes[UnicodeString("Group")]->NodeValue = Value;
- };
- UnicodeString __fastcall TXMLCctvType::Get_Name()
- {
- return TXMLNode::ChildNodes->Nodes[UnicodeString("Name")]->Text;
- };
- void __fastcall TXMLCctvType::Set_Name(UnicodeString Value)
- {
- TXMLNode::ChildNodes->Nodes[UnicodeString("Name")]->NodeValue = Value;
- };
- UnicodeString __fastcall TXMLCctvType::Get_StreamingType()
- {
- return TXMLNode::ChildNodes->Nodes[UnicodeString("StreamingType")]->Text;
- };
- void __fastcall TXMLCctvType::Set_StreamingType(UnicodeString Value)
- {
- TXMLNode::ChildNodes->Nodes[UnicodeString("StreamingType")]->NodeValue = Value;
- };
- UnicodeString __fastcall TXMLCctvType::Get_ViewAddress()
- {
- return TXMLNode::ChildNodes->Nodes[UnicodeString("ViewAddress")]->Text;
- };
- void __fastcall TXMLCctvType::Set_ViewAddress(UnicodeString Value)
- {
- TXMLNode::ChildNodes->Nodes[UnicodeString("ViewAddress")]->NodeValue = Value;
- };
- UnicodeString __fastcall TXMLCctvType::Get_FullAddress()
- {
- return TXMLNode::ChildNodes->Nodes[UnicodeString("FullAddress")]->Text;
- };
- void __fastcall TXMLCctvType::Set_FullAddress(UnicodeString Value)
- {
- TXMLNode::ChildNodes->Nodes[UnicodeString("FullAddress")]->NodeValue = Value;
- };
|