示例#1
0
 TargetData FromWebServiceClassTargeData(colonywebservices.azurewebsites.net.TargetData item)
 {
     return new TargetData
     {
         UserInfo = FromWebServiceClassInfomationOfUser(item.UserInfo),
         TargetDataId = item.TargetDataId,
         Mode = item.Mode,
         Tags = item.Tags,
         OccurrenceDataTime = item.OccurrenceDataTime,
         WhatAttribute = item.WhatAttribute,
         WhenAttribute = item.WhenAttribute,
         WhyAttribute = item.WhyAttribute,
         WhoAttribute = item.WhoAttribute,
         WhereAttribute = item.WhereAttribute,
         WhomAttribute = item.WhomAttribute,
         HowAttribute = item.HowAttribute,
         HowMuchAttribute = item.HowMuchAttribute,
         HowManyAttribute = item.HowManyAttribute
     };
 }
示例#2
0
 InfomationOfUser FromWebServiceClassInfomationOfUser(colonywebservices.azurewebsites.net.InfomationOfUser item)
 {
     return new InfomationOfUser
     {
         UserID = item.UserID,
         NickName = item.NickName,
         MailAddress = item.MailAddress,
         IsLogicalDelete = item.IsLogicalDelete,
         GroupID01 = item.GroupID01,
         GroupName01 = item.GroupName01
     };
 }