示例#1
0
 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");
 }
示例#2
0
 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);
 }
示例#3
0
 public Qsfp28GNoTec(Dictionary <string, string> param, ILog logger) : base(param, logger)
 {
     TempInit = new InitTemp(GetTempFile());
 }