@@ -374,7 +374,7 @@ public TSInsertRecordsReq gen_insert_records_req(List<string> device_id, List<Li
374374 var err_msg = String . Format ( "deviceIds, times, measurementsList and valueList's size should be equal" ) ;
375375 throw new TException ( err_msg , null ) ;
376376 }
377- var values_in_bytes = value_to_bytes ( data_types , values ) ;
377+ var values_in_bytes = util_functions . value_to_bytes ( data_types , values ) ;
378378 values_lst_in_bytes [ i ] = values_in_bytes ;
379379 } ) ;
380380 }
@@ -564,7 +564,7 @@ public TSInsertRecordsOfOneDeviceReq gen_insert_records_of_one_device_request(st
564564 var err_msg = "insert records of one device error: deviceIds, times, measurementsList and valuesList's size should be equal" ;
565565 throw new TException ( err_msg , null ) ;
566566 }
567- var value_in_bytes = value_to_bytes ( data_type_values , values_lst [ i ] ) ;
567+ var value_in_bytes = util_functions . value_to_bytes ( data_type_values , values_lst [ i ] ) ;
568568 binary_value_lst [ i ] = value_in_bytes ;
569569 } ) ;
570570 }
@@ -575,7 +575,7 @@ public TSInsertRecordsOfOneDeviceReq gen_insert_records_of_one_device_request(st
575575 var err_msg = "insert records of one device error: deviceIds, times, measurementsList and valuesList's size should be equal" ;
576576 throw new TException ( err_msg , null ) ;
577577 }
578- var value_in_bytes = util_functions . util_functionsvalue_to_bytes ( data_type_values , values_lst [ i ] ) ;
578+ var value_in_bytes = util_functions . value_to_bytes ( data_type_values , values_lst [ i ] ) ;
579579 binary_value_lst [ i ] = value_in_bytes ;
580580 }
581581 }
0 commit comments