Beispiel #1
0
 private MesOperator()
 {
     if (_mesClient == null)
     {
         _mesClient = new MesServiceClient();
     }
 }
Beispiel #2
0
        public void TestMethodGetCocTypeBySn()
        {
            var drvCfp8Tosa = new Cfp8Tosa(CreateParam, MockIlog());

            string[]     info;
            string       msg;
            const string sn  = "TW1729J04-07";
            var          mes = new MesServiceClient();

            mes.GetCocInfoBySn(sn, out info, out msg);
            var bhType = drvCfp8Tosa.GetCocTypeBySn("TW1729J04-07", info);

            Assert.AreEqual(bhType, "BH1");
        }
Beispiel #3
0
 public JudgeCoc(MesServiceClient client, CocPnTableReader cocPnTableReader)
 {
     _mesClient        = client;
     _cocPnTableReader = cocPnTableReader;
     _cocPnTableReader.ReadPnTable();
 }