Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Terminal{
- public:
- Adesk::Int32 Id ;
- //////fields
- wchar_t *Name;
- wchar_t *Type;
- double SectionArea;
- BehaviorTerminalType BehaviorType;
- bool IsDependentDeviceTerminal;
- DependentTerminalInformation DepDevTerminal;
- Adesk::Int32 namelen;
- Adesk::Int32 TypeLen;
- Adesk::Int32 ContactsSize;
- std::vector<Contact> vContacts;
- bool isConnected;
- TerminalConnectionInformation SwitchingConnection;
- Terminal()
- {
- Id = -1;
- Name = NULL;
- Type = NULL;
- SectionArea = -1;
- BehaviorType = BehaviorTerminalType::Ordinar;
- IsDependentDeviceTerminal = false;
- Adesk::Int32 namelen = 0;
- Adesk::Int32 TypeLen = 0;
- Adesk::Int32 ContactsSize = 0;
- isConnected = false;
- };
- ~Terminal()
- {
- if(Name != NULL)
- delete [] Name;
- if(Type != NULL)
- delete [] Type;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement