Exemplo n.º 1
0
 /// <summary>
 /// Vrací složené číslo UInt64 obsahující klíče:
 /// v horních čtyřech bytech = <see cref="TimeGraphLinkItem.ItemIdPrev"/>;
 /// v dolních čtyřech bytech = <see cref="TimeGraphLinkItem.ItemIdNext"/>;
 /// </summary>
 /// <param name="link"></param>
 /// <returns></returns>
 protected static UInt64 GetLinkKey(TimeGraphLinkItem link)
 {
     return(link != null ? GetKey(link.ItemIdPrev, link.ItemIdNext) : 0);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Konstruktor
 /// </summary>
 /// <param name="owner">Vlastník grafického linku</param>
 /// <param name="link">Data o linku</param>
 public LinkInfo(TimeGraphLinkArray owner, TimeGraphLinkItem link)
 {
     this._Owner = owner;
     this._Link  = link;
     this._Mode  = TimeGraphLinkMode.None;
 }