示例#1
0
        internal Protocol.CreateEcoLaborDetailSetupProtocol ToProtocol()
        {
            Protocol.CreateEcoLaborDetailSetupProtocol protocol = new Protocol.CreateEcoLaborDetailSetupProtocol();

            protocol.IsRequired        = this.IsRequired;
            protocol.Status            = this.Status;
            protocol.LaborType         = this.LaborType;
            protocol.ElapsedTime       = this.ElapsedTime;
            protocol.Description       = this.Description;
            protocol.EcoHeaderIDNum    = this.EcoHeaderIDNum;
            protocol.PartRevisionObjid = this.PartRevisionObjid;
            protocol.ConstructorCue    = this.ConstructorCue;
            protocol.DirtyFieldFlags   = this.DirtyFieldFlags;

            return(protocol);
        }
 public ToolkitResultProtocol CreateEcoLaborDetail(CreateEcoLaborDetailSetupProtocol setupParam)
 {
     object[] results = this.Invoke("CreateEcoLaborDetail1", new object[] {
                 setupParam});
     return ((ToolkitResultProtocol)(results[0]));
 }
 /// <remarks/>
 public System.IAsyncResult BeginCreateEcoLaborDetail1(CreateEcoLaborDetailSetupProtocol setupParam, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateEcoLaborDetail1", new object[] {
                 setupParam}, callback, asyncState);
 }
        internal Protocol.CreateEcoLaborDetailSetupProtocol ToProtocol()
        {
            Protocol.CreateEcoLaborDetailSetupProtocol protocol = new Protocol.CreateEcoLaborDetailSetupProtocol();

            protocol.IsRequired = this.IsRequired;
            protocol.Status = this.Status;
            protocol.LaborType = this.LaborType;
            protocol.ElapsedTime = this.ElapsedTime;
            protocol.Description = this.Description;
            protocol.EcoHeaderIDNum = this.EcoHeaderIDNum;
            protocol.PartRevisionObjid = this.PartRevisionObjid;
            protocol.ConstructorCue = this.ConstructorCue;
            protocol.DirtyFieldFlags = this.DirtyFieldFlags;

            return protocol;
        }