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.
135 lines
2.4 KiB
135 lines
2.4 KiB
4 years ago
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
[Serializable]
|
||
|
public class JsonData
|
||
|
{
|
||
|
public float sumTime;
|
||
|
public List<FrameData> frameDataList;
|
||
|
public List<EventData> eventDataList;
|
||
|
public List<TagData> tagDataList;
|
||
|
|
||
|
public JsonData()
|
||
|
{
|
||
|
frameDataList = new List<FrameData>();
|
||
|
eventDataList = new List<EventData>();
|
||
|
tagDataList = new List<TagData>();
|
||
|
}
|
||
|
}
|
||
|
[Serializable]
|
||
|
public class FrameData
|
||
|
{
|
||
|
public float time;
|
||
|
public List<ObjectData> objectDataList;
|
||
|
public FrameData()
|
||
|
{
|
||
|
objectDataList = new List<ObjectData>();
|
||
|
}
|
||
|
}
|
||
|
[Serializable]
|
||
|
public class EventData
|
||
|
{
|
||
|
public float time;
|
||
|
public RecordEventType eventType;
|
||
|
public CloneObjType cloneObjType;
|
||
|
public string json;
|
||
|
}
|
||
|
[Serializable]
|
||
|
public class TagData
|
||
|
{
|
||
|
public float time;
|
||
|
public string title;
|
||
|
public string detail;
|
||
|
public string message;
|
||
|
public FileType fileType;
|
||
|
public string fileName;
|
||
|
}
|
||
|
[Serializable]
|
||
|
public class ObjectData
|
||
|
{
|
||
|
public CloneObjType cloneObjType;
|
||
|
public string json;
|
||
|
}
|
||
|
public enum RecordEventType
|
||
|
{
|
||
|
Clone,
|
||
|
Delete,
|
||
|
RadioSelect,
|
||
|
ObjRectSelected,
|
||
|
CancelObjSelected,
|
||
|
EscCancelSelected,
|
||
|
ObjDragEnter,
|
||
|
ObjDraging,
|
||
|
ObjDragExit,
|
||
|
LeftRotate,
|
||
|
RightRotate,
|
||
|
UpRotate,
|
||
|
DownRotate,
|
||
|
WeatherSetting,
|
||
|
YingJiu,
|
||
|
AskZhiQingRen,
|
||
|
QingLi,
|
||
|
Fire,
|
||
|
FireSpread,
|
||
|
FireReset,
|
||
|
SmokeNormal,
|
||
|
SmokeInside,
|
||
|
LinearData,
|
||
|
ToolTask,
|
||
|
TruckSkill,
|
||
|
PowerAttribute,
|
||
|
SelectEquip,
|
||
|
ChangeSprayHeadParticle,
|
||
|
Agent,
|
||
|
Camera,
|
||
|
FireManSkill,
|
||
|
SetAreaChange,
|
||
|
SetAreaAdd,
|
||
|
SetAreaDel,
|
||
|
ArrowSizeChange,
|
||
|
DrawLine,
|
||
|
CarAttribute,
|
||
|
LadderStrech,
|
||
|
LadderShorten,
|
||
|
LadderW,
|
||
|
LadderS,
|
||
|
WaterSprayA,
|
||
|
WaterSprayD,
|
||
|
WaterSprayU,
|
||
|
WaterSprayJ,
|
||
|
WaterSprayPlus,
|
||
|
WaterSprayMinus,
|
||
|
ZDSP,
|
||
|
PoChai,
|
||
|
StagingAreaConfirm,
|
||
|
SetAreaAttribute,
|
||
|
WaterLineDele,
|
||
|
WaterSupplierAddLine,
|
||
|
WaterSupplierDelLine,
|
||
|
FireTemperature,
|
||
|
FireRadiation,
|
||
|
CautionAreaTip,
|
||
|
AlongWindTip,
|
||
|
StorageTankSystem,
|
||
|
UIFloor,
|
||
|
ToolsOn,
|
||
|
FloorsOn,
|
||
|
FloorsScrollBar,
|
||
|
ClearAll,
|
||
|
AutoSwing,
|
||
|
TruckArmRice = 66,
|
||
|
TruckArmRotation = 67,
|
||
|
Rotate,
|
||
|
SprayRotate,
|
||
|
SpreadFireCreat,
|
||
|
SpreadFireDestory,
|
||
|
FireSpreadEnd
|
||
|
}
|
||
|
public enum FileType
|
||
|
{
|
||
|
None,
|
||
|
Picture,
|
||
|
Video
|
||
|
}
|