谁能把下面的c++转换成c#!感谢
typedef struct {
//1--Alarm In 2---Motion Detection 3--Exception
unsigned short nAlarmType;
unsigned short nAlarmStatus;// 0--报警开始 1--报警结束
EF_DVS_TIME tEventOccur;//报警时间
char strTIP[16];//前端IP
char sTName[NAME_LEN];//前端名称
unsigned int lAlarmOut[MAX_ALARMOUT];//联动的报警输出
unsigned int lCamera[MAX_CHANNUM];//联动的视频通道
union{
struct {
unsigned int nAlarmInId;//报警输入通道号
unsigned int nAlarmStatus;//0--设备正常,1--报警状态1,2--报警状态2
} AlarmInData;
struct {
unsigned int nAlarmCameraId;//运动侦测通道号
struct {
int nLeft;
int nTop;
int nWidth;
int nHeight;
int nDetectGrade;
}AlarmArea;//发生运动侦测区域
}MotionDetectionData;
struct {
/*数组0-硬盘满,1- 硬盘出错,2-网络断,3-视频丢失,4-非法访问*/
unsigned int nExceptionNo;//前端异常类型
union {
unsigned int nDiskErrNo;//磁盘错误的磁盘号
unsigned int nDiskFull;//磁盘满的磁盘号
char strIllegalIP[16];//非法访问的ip地址
unsigned int nVLostChannel;//发生视频丢失的通道号
}ExData;
}ExceptionData;
} uAlarmData;
}EF_DVS_ALARM_NOTIFY,*PEF_DVS_ALARM_NOTIFY;