To do one thing at a time, how to set up the process, the application which classes, attributes and methods, is a confused, what are the attributes and methods, a class doesn't know beforehand, this let me this from the PLC programming people really don't adapt to,
PLC to do one thing, the building process and the application of the instruction is very clear, do not need to memorization, instruction in the toolbox, directly, and can use, all the data from where, where to go, have a location (such as DB, M area, the I and Q),
C # difficult, I think it was because it requires people to memorization, if not to memorization, it's not a difficult language by c #, however, information is a good thing? Obviously not, memorization is it undeniable drawbacks,
CodePudding user response:
what a class is what are the attributes and methods don't know in advance? Requirements gathering, programming nobody do?
CodePudding user response:
Don't have to know, you can write their own
CodePudding user response:
I don't know the Labview? Have not learned
CodePudding user response:
reference 1/f, what all don't understand so improper program apes response: what a class is what are the attributes and methods don't know in advance? Requirements gathering, programming nobody do? PLC will know in advance, such as I want to monitor sensor, with the area I instructions; Need to control a display lamp or a motor output, use Q instructions, etc., CodePudding user response:
reference 4 floor electric aircraft manufacturers reply: Quote: reference 1/f, what all don't understand so improper program apes response: what a class is what are the attributes and methods don't know in advance? Requirements gathering, programming nobody do? PLC will know in advance, such as I want to monitor sensor, with the area I instructions; Need to control a display lamp or a motor output, use Q instructions, etc., Well, is it you don't have memory? No matter what language, there are the part of memory, this is normal, remember you can also baidu, search a lot of, what do you mean by classes and properties is not memory, but combined with the requirements in object-oriented thinking to design, some existing can use class and others according to the first written demand, so is not difficult, c # is not turn around your thinking... CodePudding user response:
Something called MSDN, standard library classes, have those attributes can be checked, what attributes of check it don't have a tip, or in Chinese, you also need, CodePudding user response:
Don't you know that install the MSDN? A powerful.net, function too much, not the order of magnitude of PLC CodePudding user response:
refer to 6th floor assky124 response: something called MSDN, standard library classes, have those attributes can be checked, what attributes of check it don't have a tip, or in Chinese, you will need, Thank you teach, I go to download the MSDN CodePudding user response:
Download the two MSDN, file is empty, a waste of my money, and c + +, this pit dad CodePudding user response:
The boss, if you feel to tired, can pay for. CodePudding user response:
references 9 f electric aircraft manufacturers reply: download two MSDN, file is empty, a waste of my money, and c + +, it's not call it I was useless MSDN, those methods use baidu time properties, development more skilled, commonly used is that a few... The tostring, substring, spilt... CodePudding user response:
Which do not understand as F12 or F1 CodePudding user response:
https://docs.microsoft.com/zh-cn/dotnet/csharp/tour-of-csharp/ The MSDN documentation base don't learn, how to programming CodePudding user response:
reference 4 floor electric aircraft manufacturers reply: Quote: reference 1/f, what all don't understand so improper program apes response: what a class is what are the attributes and methods don't know in advance? Requirements gathering, programming nobody do? PLC will know in advance, such as I want to monitor sensor, with the area I instructions; Need to control a display lamp or a motor output, use Q instructions, etc., The namespace, and c #, Where is the essence of the difference between? Only you are familiar with PLC, and not familiar with c #, CodePudding user response:
Ha ha, you don't need to learn more without annotation, fortunately the. Net suit touch is Chinese annotation, don't it difficult? But the goose net5.0 he all in English CodePudding user response:
I think that c # is easily the most useful language in the world, better than Java, learn the other language to learn how to feel not to use a variety of c # does not adapt CodePudding user response:
This self-study must not hold fast, if you want to learn c # can contact me, let's experience sharing, I teach you c #, you teach me something else, can chat WeChat can see whether there is something I am interested in learning CodePudding user response:
if you write, and willing to share the project code, then at the same time, someone willing to take the time to perfect, finally becomes a universal, and... Grandson offspring have you to do the memory of this code, wei is not great, if you put your name written in the comments, that will never die, many great things CodePudding user response:
references the 19th floor gs0038 response: if you write, and willing to share the project code, then at the same time, someone willing to take the time to perfect, finally becomes a universal, and... Grandson offspring have you do the memory of this code, wei is not great, if you put your name written in the comments, that will never die, many great things Labvirw is a graphical programming, don't know whether with PLC is almost easier to remember? CodePudding user response:
Is your mind not converted, CodePudding user response:
I know what you mean, do you want that kind of in a class, all the way to be clear at a glance, various parameters to explain clearly, but unfortunately, the c # do not have this function, because there are too many libraries, don't do you want, but with the help of the c # is full and very strong, the inside of the each class example of each method has an independent teaching, if you don't know how to use, you can refer to the following: 1, novice tutorial (the most simple tutorial) https://www.runoob.com/csharp/csharp-tutorial.html 2, and then paste the code in example to VS, if all goes well can be executed directly, but there are also need additional load library, if you see error code, can put the mouse point to the error code (attention, is to can, don't have to click on the button), and then press the keyboard F1 can link to it wrong MSDN official explanation, there is a very full explanation and example to provide the reference 3 MSDN, I haven't heard of charges, this function has been online, all are free, don't know which woman you have been cheated