|
|
|
@ -28,7 +28,8 @@ public class Decoder : ByteToMessageDecoder
|
|
|
|
|
{
|
|
|
|
|
if (ObjUtils.IsNotNullOrWhiteSpace(chargerSn))
|
|
|
|
|
{
|
|
|
|
|
return LogManager.GetLogger("Plc" + chargerSn);
|
|
|
|
|
//return LogManager.GetLogger("Plc" + chargerSn);
|
|
|
|
|
return LogManager.GetLogger("Plc");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return LogManager.GetLogger(typeof(Decoder));
|
|
|
|
|