Rfid Use Case And Class Diagrams?
Mar 27, 2010forming the use case and class diagrams of RF-ID based attendance system...
View 1 Repliesforming the use case and class diagrams of RF-ID based attendance system...
View 1 RepliesI have one interface that contains four functions. I have about 20 classes that implement this interface. Throughout each class, I see a lot of duplicate code, for example, there are constants declared at the beginning that are in every class. The method implementations (logic) of the interface are mostly the same.It contains duplicate structures. Is this a case where I can eliminate a lot of duplicate classes by implementing an abstract class instead of an interface. What I am striving for is too be able to put common methods from the abstract class as non-abstract methods and then methods that need their own implementation would be marked over-ridable. Can I put consts and structures in abstract classes? If so, that would eliminate a lot of duplicate code across the classes. Is there anything else I should look out for in the classes as a sign that I probably should be use an abstract class instead of an interface.
View 2 Replieshow to make E R diagrams in vb.net
View 1 RepliesI am trying to create a settings class.The Property Test() is a list of strings.When I add a string such as: t.test.Add("asasasAAAAA")I want it to autmatically turn lowercase. using t.test.Add(("asasasAAAAA").ToLower) will not work for what I need. [code]
View 2 RepliesIm trying to get pass len from a shared class but when i call it. I used a case to select how long the pass len is but it doesnt select any case.
class name : PassLenCL
Public Shared Function PassLen(ByVal PassTxt As String)
Dim TextLen As Integer = PassTxt.Length
[CODE]...
Am looking for an Algorithms that will take object that a linked to multiple other object and work out the best location to draw each object based on there links.
this would generate a tree like diagram.
So i have Object 1 then hast 10 link, one of these link is object 2 that has 5 link but object 1 link to one of object2s links and such link.
so i would have some thing like this
Object1 ------------ Object2
/
/ /
Object 3
But this is on a 100% bigger scale with unlimited number of objects and links.
how i would go about working out the best location on my form for each object?
Can anyone suggest a free (or very very cheap) alternative to Nevron Diagrams? I was playing with Open Diagram which is open source but it's very poorly documented and their forum is dead.
View 2 RepliesIs there any tool available which can generate data-flow diagrams and entity relationship diagrams directly from VB.NET source code?
View 2 RepliesHow to connect RFID device with VB.net?
View 1 RepliesI want to automatically request the RFID card without having to click the REQUEST button everytime the card touches the RFID reader.
Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
[Code].....
where to put a .dll file in VB.net for connect RFID?
View 1 Repliesi have a program using a select case to convert letters to special charaters. My question is how can I get the code to read upper and lower case letters without having to put the upper case letters in my select case statement. Example: Part of my code is
[Code]...
I'm using VB 2008 to received data from serial port (RFID Reader). below is the coding that i used. the problem's, the RFID Tag number does not display on the textboxt. [code]....
View 11 RepliesI've been studying how to program an Intel RFID Reader. Are there any suggestions/links/files on how to program this reader in VB? Its application will be for pervasive computing purposes.
View 6 RepliesI am working on a code that can read and display the rfid tag onto a textbox. What I am stuck on at the moment is that it displays all of the code from when a card is swiped over the rfid reader and I only want it to display the UID code only. The rfid code that comes up is as below:
IC Type: Philips Mifare UltraLight
Card UID: 0x88 04 BD 3F 49 BB 02 80
ATQA Byte[1]: 0x00 ATQA Byte[0]: 0x44 SAK: 0x00
[Code].....
i want to the textbox that when I start to type in names it should be like this Camille Aisha Cordova, How do I do this?
View 16 RepliesIm using a Random Pool number generator and was wondering how i can make it use upper-case and lower-case letters as well as numbers here is a pic
[Code]...
I'm trying to make an application that can read a 12 byte hex string from the serial port and display it into a text box, the source is a RFID module that is connected to my USB port using a RS232-USB converter.My first problem was accessing the text box in the datarecieved event due to invalid cross-threaded operation. Upon googling that, I copy/pasted the code I needed to get it work, these are all the cross threading functions.The OpenPort function and Datarecieved event are my own code, the rest I got off google. The application then worked, but I would get an incomplete code, the first swipe I would get all 12 digits, and at every other swipe, the first byte would vanish. Upon some more reading, I decided to make an array, the size of the incoming data (shown in the code below), but now I get the cross-threading error again.I know there's something wrong with the way I'm using the array. This is way beyond my VB knowledge, and I'm in o I'm an electronics engineer and self taught myself a little programming to create some apps for my hardware.Updated code:
Public Class Form3
Dim msg As String
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[code]....
I have installed hyperterminal for my RFID. When I scan the RFID, the tag is shown on the hyperterminal. I want to create a program using VB.NET that will function like the hyperterminal. When I scan the RFID, data will show and eventually, saving it on the database for further use.
View 1 RepliesDid anyone already try to read RFID tags but not by reading request?I mean, When some tag is readable can't just the RFID reader detect it?So far this is the code I've been trying to use without success.
Imports System
Imports System.IO.Ports
Public Class Form1
[code]....
Attached File(s) project.doc (34K) Number of downloads: 72 project.doc (34K)Number of downloads: 48
View 1 RepliesI want my TextBox to make the text i enter as Sentence Case(ProperCase).. but i dont want to write any code in an event like Lost Focus or KeyPress
Just by default when ever a user enter or types in a textbox the first letter of every word should automatically converted into UpperCase
When my form loads it adds some handles (using AddHandler) to a sub (showStatus). What this sub does is checks which control activated the sub (using sender.Equals) and displays text in the status label (status) accordingly.For this I use an If...Then statement for each possibility. There are many possibilities and my code get cluttered. Is there a way to do the same thing with a Select...Case statement. I tried: Select Case sender Case tbOne : status.Text = "blahblahblahblahblahblah" End Selectwhere: tbOne is a textbox, status is a StatusLabelIt gives me an error though, saying "Operator '=' is not defined for types 'Object' and 'System.Windows.Forms.TextBox'."Any ideas on how I can get this to work with a select case statement?
View 13 Replieshere is my code..
[Code]....
If the result is 86 and it's mod by 43 the answer is 2 Case 2 is not firing. it just goes to the end of the procedure.
I am using C# to develop an enterprise level application. I use VS2010 Modeling Project to model my classes but there is no code generation utility which available for free. I want to know if is there any Utility/Extension that can generate C#/VB code from UML diagrams.
View 2 RepliesIt looks like impossible but...
Try
Select Case command
Case 1
smth()
Case 2
[code]....
Firstly Case 2 runs. Throws exception. And right after this debugger shows that next processed statement is Case Else. Only after Case Else throws own exception Catch block start working. I've never seen this trick. Why can this happened?I'm sure the block is entered once (not like this:first enter hit Case 2 and second hit Case Else).
Update:-To Matt Wilko. Thank you for answering. I've switch to Strict On in Options of VS2010 but nothing has changed. Command is variable, not function. Watch tool shows that on each step Command is the same ( Command = 2).
Fixed. Yeeaaaahhh. I simplefy code to
Try
Select Case 2
Case 2
[code]....
and change project to Console app. This works as I mention. The fix was in Release mode. I was debugging in Release mode. When I switch to Debug mode everything goes as it should.
I need to add Functions for the Case 10 and Case 13 in this code. The code in each select case needs to be moved to the two functions which then returns the code once its called from the Sub Main section. But I am having a really hard time figuring out what exactly gets moved to each function.[code]I'm not sure what exactly to put into the individual Functions and how to change up the Sub Main section.
View 4 Repliesi have to develop a software for motorola mc9090 that reads barcodes and rfids simultaneously, so i need to catch two different triggers: the one on the keyboard for barcodes and the other in the backside for rfids.the problem is that i didn't find any sample that illustrates how to set the trigger to read only barcodes, i found something on emdk 2.5 samples that shows how to set the trigger to read rfids but nothing for barcodes. So when i press any trigger the barcode reader is always enabled with rfids reader.Does exist a way to manage them with separated triggers?
View 1 RepliesI have coded a case statement that changes the background colour of a panel. [code]When the code is run, it works for the case of colour1 that is NOT 1 or 2. However, when the colour1 is 1 or 2, it is supposed to pick a number from set array and run another case statement. Instead, it only picks the last value (for 1, this is 5, and for 2, this is 7).
View 3 RepliesIf Class X is within the scope of Class Y, is X a subclass of Y?If Class A is a sub Class of B, then is Class B considered a super class of A?if Class C inherits Class D is Class D a superclass or parent of Class C?if Class E extends Class F then we can consider Class E a child of F?if Class G inherits Class H and is within the scope of Class I then who is the parent of Class G? Classes that inherits Class J and classes that are within Class J are all sub classes of Class J?
View 1 Replies