public virtual global::Microsoft.Ccr.Core.PortSet <global::Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType, global:: W3C.Soap.Fault> Replace()
 {
     global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State body = new global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State();
     global::RoboticsServiceTutorial7.Proxy.Replace operation          = new global::RoboticsServiceTutorial7.Proxy.Replace(body);
     this.Post(operation);
     return(operation.ResponsePort);
 }
 public virtual global::Microsoft.Ccr.Core.Choice Replace(out global::RoboticsServiceTutorial7.Proxy.Replace operation)
 {
     global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State body = new global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State();
     operation = new global::RoboticsServiceTutorial7.Proxy.Replace(body);
     this.Post(operation);
     return(operation.ResponsePort);
 }
 /// <summary>
 ///Copies the data member values of the current ServiceTutorial7State to the specified target object
 ///</summary>
 ///<param name="target">target object (must be an instance of)</param>
 public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target)
 {
     global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State typedTarget = ((global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State)(target));
     if ((this._Clocks != null))
     {
         int count = this._Clocks.Count;
         global::System.Collections.Generic.List <string> tmp = new global::System.Collections.Generic.List <string>(count);
         tmp.AddRange(this._Clocks);
         typedTarget._Clocks = tmp;
     }
     if ((this._TickCounts != null))
     {
         int count0 = this._TickCounts.Count;
         global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.Proxy.TickCount> tmp0 = new global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.Proxy.TickCount>(count0);
         for (int index = 0; (index < count0); index = (index + 1))
         {
             global::RoboticsServiceTutorial7.Proxy.TickCount tmp1 = default(global::RoboticsServiceTutorial7.Proxy.TickCount);
             if ((this._TickCounts[index] != null))
             {
                 global::RoboticsServiceTutorial7.Proxy.TickCount tmp2 = new global::RoboticsServiceTutorial7.Proxy.TickCount();
                 ((Microsoft.Dss.Core.IDssSerializable)(this._TickCounts[index])).CopyTo(((Microsoft.Dss.Core.IDssSerializable)(tmp2)));
                 tmp1 = tmp2;
             }
             tmp0.Add(tmp1);
         }
         typedTarget._TickCounts = tmp0;
     }
 }
 public static object RoboticsServiceTutorial7_ServiceTutorial7State_TO_RoboticsServiceTutorial7_Proxy_ServiceTutorial7State(object transformFrom)
 {
     global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State target = new global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State();
     global::RoboticsServiceTutorial7.ServiceTutorial7State       from   = ((global::RoboticsServiceTutorial7.ServiceTutorial7State)(transformFrom));
     global::System.Collections.Generic.List <string>             tmp    = from.Clocks;
     if ((tmp != null))
     {
         int count = tmp.Count;
         global::System.Collections.Generic.List <string> tmp0 = new global::System.Collections.Generic.List <string>(count);
         tmp0.AddRange(tmp);
         target.Clocks = tmp0;
     }
     global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.TickCount> tmp1 = from.TickCounts;
     if ((tmp1 != null))
     {
         int count0 = tmp1.Count;
         global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.Proxy.TickCount> tmp2 = new global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.Proxy.TickCount>(count0);
         for (int index = 0; (index < count0); index = (index + 1))
         {
             global::RoboticsServiceTutorial7.Proxy.TickCount tmp3 = default(global::RoboticsServiceTutorial7.Proxy.TickCount);
             global::RoboticsServiceTutorial7.TickCount       tmp4 = tmp1[index];
             if ((tmp4 != null))
             {
                 tmp3 = ((global::RoboticsServiceTutorial7.Proxy.TickCount)(RoboticsServiceTutorial7_TickCount_TO_RoboticsServiceTutorial7_Proxy_TickCount(tmp4)));
             }
             tmp2.Add(tmp3);
         }
         target.TickCounts = tmp2;
     }
     return(target);
 }
 public static object RoboticsServiceTutorial7_Proxy_ServiceTutorial7State_TO_RoboticsServiceTutorial7_ServiceTutorial7State(object transformFrom)
 {
     global::RoboticsServiceTutorial7.ServiceTutorial7State       target = new global::RoboticsServiceTutorial7.ServiceTutorial7State();
     global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State from   = ((global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State)(transformFrom));
     if ((from.Clocks != null))
     {
         int count = from.Clocks.Count;
         global::System.Collections.Generic.List <string> tmp = new global::System.Collections.Generic.List <string>(count);
         tmp.AddRange(from.Clocks);
         target.Clocks = tmp;
     }
     else
     {
         target.Clocks = null;
     }
     if ((from.TickCounts != null))
     {
         int count0 = from.TickCounts.Count;
         global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.TickCount> tmp0 = new global::System.Collections.Generic.List <global::RoboticsServiceTutorial7.TickCount>(count0);
         for (int index = 0; (index < count0); index = (index + 1))
         {
             global::RoboticsServiceTutorial7.TickCount tmp1 = default(global::RoboticsServiceTutorial7.TickCount);
             if ((from.TickCounts[index] != null))
             {
                 tmp1 = ((global::RoboticsServiceTutorial7.TickCount)(RoboticsServiceTutorial7_Proxy_TickCount_TO_RoboticsServiceTutorial7_TickCount(from.TickCounts[index])));
             }
             else
             {
                 tmp1 = null;
             }
             tmp0.Add(tmp1);
         }
         target.TickCounts = tmp0;
     }
     else
     {
         target.TickCounts = null;
     }
     return(target);
 }
 /// <summary>
 ///Clones ServiceTutorial7State
 ///</summary>
 ///<returns>cloned value</returns>
 public virtual object Clone()
 {
     global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State target0 = new global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State();
     this.CopyTo(target0);
     return(target0);
 }
 public Replace(global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State body, global::Microsoft.Ccr.Core.PortSet <global::Microsoft.Dss.ServiceModel.Dssp.DefaultReplaceResponseType, global:: W3C.Soap.Fault> responsePort) :
     base(body, responsePort)
 {
 }
 public Replace(global::RoboticsServiceTutorial7.Proxy.ServiceTutorial7State body) :
     base(body)
 {
 }