Commit 3d3fe363 authored by Omar Fantazi's avatar Omar Fantazi

Nettoyer le code des commentaires superflus

parent 458c2f5a

//namespace InterfaceScadaToIN4RM.Caller.Models
//{
// class SpeedChange
// {
// }
//}
/*
Licensed under the Apache License, Version 2.0
......
......@@ -60,12 +60,7 @@ namespace InterfaceScadaToIN4RM
}
//WorkOrder workOrder = new WorkOrder("codeLineWO", "210$2019-05-24 13:47:00", "TM_APP$2019-05-24 13:47:00$5200568565|TM_APP$2019-05-24 13:50:00$5200568566");
//caller.WorkOrderCreation(workOrder);
//Line : LINE_CODE string
//WOHeader : WONum$StartDate : 210$2019-05-24 13:47:00
//WOPosts list <WOPost> : "TM_APP$2019-05-24 13:47:00$5200568565|TM_APP$2019-05-24 13:50:00$5200568566
/// <summary>
///
......@@ -102,9 +97,7 @@ namespace InterfaceScadaToIN4RM
//LineStatus linestatus = new LineStatus("codeLineStatus", "woNum_99$status_F$2019-05-24 13:17:00$resonCode_1$equit_1|woNum_100$status_F2$2019-05-24 14:17:00$resonCode_1$equit_2");
//caller.LineStatusCreation(linestatus);
/// <summary>
......@@ -136,9 +129,7 @@ namespace InterfaceScadaToIN4RM
//SpeedChangeDetail speedChangeDetail = new SpeedChangeDetail("LINE_CODE", "status_1$Wonum_1$changedate_1$StartSpeed_1$EndSpeed_1$TargetSpeed_1$UOM_1$SecondeBetweenChanges_1|status_2$Wonum_2$changedate_2$StartSpeed_2$EndSpeed_2$TargetSpeed_2$UOM_2$SecondeBetweenChanges_2");
//caller.SpeedChangeDetailCreation(speedChangeDetail);
/// <summary>
......@@ -170,8 +161,7 @@ namespace InterfaceScadaToIN4RM
//ScrapsConveyorDetails scrapConveyorDetails = new ScrapsConveyorDetails("LINE_CODE_SCD", "2019-05-24 10:46:03$ConeyorPosition_1|2019-05-24 10:50:00$ConveyorPosition_2$ReasonCode_2$EquipementCode_2");
//caller.ScrapConveyorDetailCreation(scrapConveyorDetails);
/// <summary>
///
......@@ -189,20 +179,7 @@ namespace InterfaceScadaToIN4RM
{
ScrapsConveyorDetails scrapConveyorDetail = new ScrapsConveyorDetails(scrapConveyorCodeLine, scrapConveyorPositions);
resutlCode = scadaCaller.ScrapConveyorDetailCreation(scrapConveyorDetail);
//récupérer la réponse et l'affichée
//invocationResult.Result.Code
//invocationResult.Result.Message
//< ArrayOfInterface_ScrapConveyorCreationResultDC xmlns = "http://schemas.datacontract.org/2004/07/InterfaceWCF.DataContracts.Workshop" xmlns: i = "http://www.w3.org/2001/XMLSchema-instance" >
// < Interface_ScrapConveyorCreationResultDC >
// < Code > 500 </ Code >
// < Message > Scrap created successfully408</ Message >
// </ Interface_ScrapConveyorCreationResultDC >
//</ ArrayOfInterface_ScrapConveyorCreationResultDC >
resutlCode = scadaCaller.ScrapConveyorDetailCreation(scrapConveyorDetail);
}
else
......@@ -216,10 +193,7 @@ namespace InterfaceScadaToIN4RM
//HandlingUnitDetails handlingUnitDetails = new HandlingUnitDetails("LINE_CODE_HUD", "unitIden_PAL001$wonum_211$arcticode_5200568565$quant_10$uom_PK$entryDate_2019-05-24 14:14:00|unitidenti_PAL002$wonum_211$articode_5200568565$quanti_1$uom_D97$entrydate_2019-05-24 14:14:00");
//caller.HandlingUnitsCreation(handlingUnitDetails);
/// <summary>
///
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment