コード例 #1
0
 public string ProfileInformationShort()
 {
     return(string.Format("{0} {1} Version: {2} Timer0: {3} - {4} VCount: {5} VFrame: {6} GxStat: {7}",
                          DSType.ToString().Replace('_', ' '), MAC_Address.ToString("X"),
                          Language + " " + Version,
                          Timer0Min.ToString("X"), Timer0Max.ToString("X"), VCount.ToString("X"),
                          VFrame.ToString("X"), GxStat.ToString("X")));
 }
コード例 #2
0
 public string ProfileInformation()
 {
     return
         (string.Format(
              "{0} {1} Version: {2} ID: {3} SID: {4} Timer0: {5} - {6} VCount: {7} VFrame: {8} GxStat: {9} Keypresses: {10}",
              DSType.ToString().Replace('_', ' '), MAC_Address.ToString("X"),
              Language + " " + Version, ID, SID,
              Timer0Min.ToString("X"), Timer0Max.ToString("X"), VCount.ToString("X"), VFrame.ToString("X"),
              GxStat.ToString("X"), KeyString) + (SkipLR ? " (Skip L\\R)" : ""));
 }
コード例 #3
0
        public override string ToString()
        {
            StringBuilder builderStringa = new StringBuilder();

            builderStringa.Append("MAC: ").Append(MAC_Address.ToString()).Append(" - ");
            builderStringa.Append("RSSI: ").Append(RSSI).Append(" - ");
            builderStringa.Append("SSID: ").Append(SSID).Append(" - ");
            builderStringa.Append("Timestamp: ").Append(Timestamp).Append(" - ");
            builderStringa.Append("Checksum: ").Append(Checksum).Append(" - ");
            builderStringa.Append("Id_scheda: ").Append(ID_scheda).Append(" - ");
            builderStringa.Append("Global: ").Append(Global);
            return(builderStringa.ToString());
        }
コード例 #4
0
 private void comboBoxProfiles_SelectedIndexChanged(object sender, EventArgs e)
 {
     MAC_Address   = ((Profile)comboBoxProfiles.SelectedItem).MAC_Address;
     labelMAC.Text = "Profile: " + MAC_Address.ToString("X");
 }