Commit becdfb76 LN

修改名称

1 个父辈 0fc079d8
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<Compile Include="deviceLibrary\PanasonicServo\ACServerManager_Partial.cs" /> <Compile Include="deviceLibrary\PanasonicServo\ACServerManager_Partial.cs" />
<Compile Include="assemblyLine\EquipBase.cs" /> <Compile Include="assemblyLine\EquipBase.cs" />
<Compile Include="deviceLibrary\RFID\RFID.cs" /> <Compile Include="deviceLibrary\RFID\RFID.cs" />
<Compile Include="deviceLibrary\RFID\RFIDReader.cs" /> <Compile Include="deviceLibrary\RFID\RFIDAutoReader.cs" />
<Compile Include="model\LineAlarm.cs"> <Compile Include="model\LineAlarm.cs">
<SubType>Code</SubType> <SubType>Code</SubType>
</Compile> </Compile>
......
...@@ -19,7 +19,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -19,7 +19,7 @@ namespace OnlineStore.DeviceLibrary
} }
public static void Open(string[] iparray) public static void Open(string[] iparray)
{ {
RFIDReader.Open(null, iparray); RFIDAutoReader.Open(null, iparray);
} }
private static void RfidReader_GetValue(string s) private static void RfidReader_GetValue(string s)
...@@ -93,11 +93,11 @@ namespace OnlineStore.DeviceLibrary ...@@ -93,11 +93,11 @@ namespace OnlineStore.DeviceLibrary
byte[] bdata = null; byte[] bdata = null;
if (isClear) if (isClear)
{ {
bdata = RFIDReader.ReadAndClear(ip); bdata = RFIDAutoReader.ReadAndClear(ip);
} }
else else
{ {
bdata = RFIDReader.Read(ip); bdata = RFIDAutoReader.Read(ip);
} }
if (bdata == null) if (bdata == null)
...@@ -134,7 +134,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -134,7 +134,7 @@ namespace OnlineStore.DeviceLibrary
{ {
try try
{ {
RFIDReader.CloseAll(); RFIDAutoReader.CloseAll();
} }
catch (Exception ex) catch (Exception ex)
{ {
......
...@@ -8,7 +8,7 @@ using static Asa.RFID.RFID; ...@@ -8,7 +8,7 @@ using static Asa.RFID.RFID;
namespace Asa.RFID namespace Asa.RFID
{ {
public class RFIDReader public class RFIDAutoReader
{ {
public static readonly ILog LOGGER = LogManager.GetLogger("TheRFID"); public static readonly ILog LOGGER = LogManager.GetLogger("TheRFID");
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!