提交 a6910401 编写于 作者: cdy816's avatar cdy816

Bug 修改

上级 ea101e3a
......@@ -920,6 +920,64 @@ namespace DBInStudio.Desktop
mHisTagMode.TagType = Cdy.Tag.TagType.UShort;
}
break;
case Cdy.Tag.TagType.IntPoint:
ntag = new Cdy.Tag.IntPointTag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.IntPoint;
}
break;
case Cdy.Tag.TagType.IntPoint3:
ntag = new Cdy.Tag.IntPoint3Tag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.IntPoint3;
}
break;
case Cdy.Tag.TagType.UIntPoint:
ntag = new Cdy.Tag.UIntPointTag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.UIntPoint;
}
break;
case Cdy.Tag.TagType.UIntPoint3:
ntag = new Cdy.Tag.UIntPoint3Tag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.UIntPoint3;
}
break;
case Cdy.Tag.TagType.LongPoint:
ntag = new Cdy.Tag.LongPointTag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.LongPoint;
}
break;
case Cdy.Tag.TagType.LongPoint3:
ntag = new Cdy.Tag.LongPoint3Tag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.LongPoint3;
}
break;
case Cdy.Tag.TagType.ULongPoint:
ntag = new Cdy.Tag.ULongPointTag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.ULongPoint;
}
break;
case Cdy.Tag.TagType.ULongPoint3:
ntag = new Cdy.Tag.ULongPoint3Tag() { Id = this.mRealTagMode.Id, Name = mRealTagMode.Name, Desc = mRealTagMode.Desc, LinkAddress = mRealTagMode.LinkAddress, Group = mRealTagMode.Group };
if (mHisTagMode != null)
{
mHisTagMode.TagType = Cdy.Tag.TagType.ULongPoint3;
}
break;
default:
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册