Skip to content

Commit 5429eca

Browse files
author
eedalong
committed
fix some conflict
1 parent a2787e4 commit 5429eca

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

client/Session.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

client/Test.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ static void Main(){
88
// Unit Test
99
UnitTest unit_test = new UnitTest();
1010
unit_test.Test();
11+
12+
// session test
1113
SessionTest session_test = new SessionTest();
1214
session_test.Test();
1315

0 commit comments

Comments
 (0)