public Tosa25G(BaseProtocol protocolControl, BaseOvenControl ovenControl, Dictionary <string, string> param, ILog logger) { Log = new DriverLog(logger, "TOSA25G", param["Name"]); InitParam(param); CtrlCom = protocolControl; OvenControl = ovenControl; }
protected BaseProtocol(int slotNum, BaseCom com, DriverLog log) { SeatsCount = 16; BoardNum = slotNum; Comm = com; Log = log; }
public void TestMethodInfo() { var log = LogManager.GetLogger("BiBspLocolLog"); var log1 = new DriverLog(log, "CFP8", "A"); log1.LogInfo("This is a test"); log1.LogError("This is a test"); log1.LogWarn("This is a test"); log1.LogDebug("This is a test"); }
public TestType(Dictionary <string, string> param, ILog logger) { Log = new DriverLog(logger, "QSFP28G", param["Name"]); SeatsCount = 26; TempInit = new InitTemp(GetTempFile()); DataMember.BoardName = param["Name"]; DataMember.FloorNum = int.Parse(param["Floor"]); DataMember.BoardNum = int.Parse(param["Locate"]); Log.LogInfo("Construct Driver TestType success"); }
public Tosa25G(Dictionary <string, string> param, ILog logger) { Log = new DriverLog(logger, "TOSA25G", param["Name"]); TempInit = new InitTemp(GetTempFile()); InitParam(param); if (OvenControl == null) { OvenControl = new OvenControl(new Comm(DataMember.OvenPort, 9600)); } CtrlCom = new ProtocolTosa25G(DataMember.BoardNum, new Comm(DataMember.CtrlPort), Log); }
public IqmGenI(Dictionary <string, string> param, ILog uiLog) { ProductType = "IQMGenI"; Log = new DriverLog(uiLog, ProductType, ""); Log.LogInfo("IqmGenI start"); InitParam(param); Log = new DriverLog(uiLog, ProductType, _name); Seats = new List <int>(); SnDict = new Dictionary <int, string>(); }
public ProtocolTosa32G(int boardNum, BaseCom com, DriverLog log) : base(boardNum, com, log) { _delayTime = 10000; }
public ProtocolQsfp28G(int slotNum, BaseCom com, DriverLog log) : base(slotNum, com, log) { _delayTime = 10000; }
public ParallelQsfp28(Dictionary <string, string> param, IParallelProtocol parallelProtocol, ILog logger) { ParallelProtocol = parallelProtocol; Log = new DriverLog(logger, "ParallelQsfp28g", param["Name"]); InitParam(param); }