You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
702 B
35 lines
702 B
10 months ago
|
#pragma once
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#ifdef WIREROUTINGDLL_EXPORTS // VisualStudio DLL ��Ŀģ���Ὣ <PROJECTNAME>_EXPORTS ���ӵ�����Ԥ�������ꡣ
|
||
|
#define CONNECTOR_API __declspec(dllexport) // _WIN32
|
||
|
#else
|
||
|
#define CONNECTOR_API __declspec(dllimport)
|
||
|
#endif
|
||
|
#else
|
||
|
#define CONNECTOR_API
|
||
|
#endif
|
||
|
|
||
|
#include "Const.h"
|
||
|
#include<cmath>
|
||
|
#include<vector>
|
||
|
#include<queue>
|
||
|
#include<map>
|
||
|
#include<iostream>
|
||
|
#include<fstream>
|
||
|
#include<sstream>
|
||
|
using namespace std;
|
||
|
|
||
|
//��������������
|
||
|
struct CONNECTOR_API Connector{
|
||
|
string id, name, partnumber;
|
||
|
P coord,dir;
|
||
|
int ID; //�����ڲ�ID
|
||
|
int bundleNodeID; //���ڵ�bundleNode
|
||
|
|
||
|
|
||
|
Connector();
|
||
|
};
|
||
|
|
||
|
extern Connector CONNECTOR_API connectors[];
|
||
|
extern int CONNECTOR_API connectorNum;
|