using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class JsonData { public float sumTime; public List frameDataList; public List eventDataList; public List tagDataList; public JsonData() { frameDataList = new List(); eventDataList = new List(); tagDataList = new List(); } } [Serializable] public class FrameData { public float time; public List objectDataList; public FrameData() { objectDataList = new List(); } } [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 }