1
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
"dbConfigs": [
|
"dbConfigs": [
|
||||||
{
|
{
|
||||||
|
|
||||||
|
"Conn": "Data Source=192.168.0.58;User ID=root;Password=123456;Initial Catalog=pbl_huaxiang;Port=3306",
|
||||||
"Conn": "Data Source=10.72.80.161;User ID=root;Password=doantech123;Initial Catalog=pbl_huaxiang_v2;Port=3306",
|
//"Conn": "Data Source=10.72.80.161;User ID=root;Password=doantech123;Initial Catalog=pbl_huaxiang_v2;Port=3306",
|
||||||
"DbType": 0, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
|
"DbType": 0, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
|
||||||
"ConfigId": "0", //多租户唯一标识
|
"ConfigId": "0", //多租户唯一标识
|
||||||
"IsAutoCloseConnection": true
|
"IsAutoCloseConnection": true
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ namespace DOAN.ServiceCore
|
|||||||
int col = i.BitNum - 1;
|
int col = i.BitNum - 1;
|
||||||
|
|
||||||
// Console.WriteLine($"row={row},col={col},PLCValueByteArray[row]={getPLCValueByteArray.Length}");
|
// Console.WriteLine($"row={row},col={col},PLCValueByteArray[row]={getPLCValueByteArray.Length}");
|
||||||
packNum= packNum+( GetInvertedBit(getPLCValueByteArray[row], col) ? 1 : 0);
|
// packNum= packNum+( GetInvertedBit(getPLCValueByteArray[row], col) ? 1 : 0);
|
||||||
//Console.WriteLine($"row:{row}-col:{col} packNum:{packNum} ");
|
//Console.WriteLine($"row:{row}-col:{col} packNum:{packNum} ");
|
||||||
}
|
}
|
||||||
// 记录日志
|
// 记录日志
|
||||||
|
|||||||
Reference in New Issue
Block a user