Exemple #1
0
 public void SetWordAddress(int wordAddress)
 {
     if (wordAddress > -1)
     {
         WordAddress = wordAddress;
     }
     WordAddressStr = WordAddress.ToString().PadLeft(4, '0');
 }
Exemple #2
0
 public void SetAddressStr()
 {
     WordAddressStr = WordAddress.ToString().PadLeft(4, '0');
     BitAddressStr  = BitAddress.ToString().PadLeft(2, '0');
 }