@@ -79,20 +79,16 @@ const lineRunSchema = new Schema({
7979 startTime : { type : Number , default : 0 } ,
8080 test : { type : Boolean , default : false } ,
8181 nl : {
82- silverTape : { type : Number , min :0 , default :0 } ,
83- greenTape : { type : Number , min :0 , default :0 } ,
84- misidentification : { type : Number , min :0 , default :0 } ,
82+ liveVictim : [ {
83+ found : { type : Boolean , default : false } ,
84+ identified : { type : Boolean , default : false }
85+ } ] ,
86+ deadVictim : [ {
87+ found : { type : Boolean , default : false } ,
88+ identified : { type : Boolean , default : false }
89+ } ]
8590 } ,
86- isNL : { type : Boolean , default : false } ,
87- manual : {
88- gap : { type : Number , default : 0 } ,
89- obstacle : { type : Number , default : 0 } ,
90- speedbump : { type : Number , default : 0 } ,
91- intersection : { type : Number , default : 0 } ,
92- deadend : { type : Number , default : 0 } ,
93- rampUP : { type : Number , default : 0 } ,
94- rampDOWN : { type : Number , default : 0 } ,
95- }
91+ isNL : { type : Boolean , default : false }
9692} ) ;
9793
9894lineRunSchema . pre ( 'save' , function ( next ) {
0 commit comments