修改一个小小的BUG

This commit is contained in:
2026-03-04 14:54:20 +08:00
parent 990ba9ce7b
commit a74d6cbe44
3 changed files with 16 additions and 2 deletions

View File

@@ -2120,7 +2120,7 @@ namespace RCUHost.Implement
bool = false;
ushort _Int = 0;
int = 0;
if (Version == 0x02 || Version == 0x03)
if (Version == 0x02 || Version == 0x03 || Version == 0x04)
{
BitArray bit_a = new BitArray(new byte[] { TakeCardStatus });
bool b0 = bit_a.Get(0);
@@ -2505,7 +2505,7 @@ namespace RCUHost.Implement
{
var XiaoShu = reader.ReadByte();
XiaoShu_BuFen = XiaoShu;
xiaoshu_l = XiaoShu_BuFen / 10;
xiaoshu_l = (float)XiaoShu_BuFen / 10;
}
if (true)
@@ -2613,6 +2613,10 @@ namespace RCUHost.Implement
};
string mns = Newtonsoft.Json.JsonConvert.SerializeObject(ns2);
if (hotelCode.Equals("2302"))
{
//logger.Error("宝镜推送:"+mns);
}
CSRedisCacheHelper.Publish("redis-power", mns);
#endregion