Skip to content

Commit

Permalink
fix some conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
eedalong committed Apr 26, 2021
1 parent a2787e4 commit 5429eca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public class Session
var err_msg = String.Format("deviceIds, times, measurementsList and valueList's size should be equal");
throw new TException(err_msg, null);
}
var values_in_bytes = value_to_bytes(data_types, values);
var values_in_bytes = util_functions.value_to_bytes(data_types, values);
values_lst_in_bytes[i] = values_in_bytes;
});
}
Expand Down Expand Up @@ -564,7 +564,7 @@ public class Session
var err_msg = "insert records of one device error: deviceIds, times, measurementsList and valuesList's size should be equal";
throw new TException(err_msg, null);
}
var value_in_bytes = value_to_bytes(data_type_values, values_lst[i]);
var value_in_bytes = util_functions.value_to_bytes(data_type_values, values_lst[i]);
binary_value_lst[i] = value_in_bytes;
});
}
Expand All @@ -575,7 +575,7 @@ public class Session
var err_msg = "insert records of one device error: deviceIds, times, measurementsList and valuesList's size should be equal";
throw new TException(err_msg, null);
}
var value_in_bytes = util_functions.util_functionsvalue_to_bytes(data_type_values, values_lst[i]);
var value_in_bytes = util_functions.value_to_bytes(data_type_values, values_lst[i]);
binary_value_lst[i] = value_in_bytes;
}
}
Expand Down
2 changes: 2 additions & 0 deletions client/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ public class Test
// Unit Test
UnitTest unit_test = new UnitTest();
unit_test.Test();

// session test
SessionTest session_test = new SessionTest();
session_test.Test();

Expand Down

0 comments on commit 5429eca

Please sign in to comment.