2012년 1월 30일 월요일

형변환

문자열을 정수와 실수등의 수데이터로의 형변환
int a = int.parse("1234");
double b = double.parse("123.45");

정수나 실수를 문자열로 형변환
int a = 1234;
string b = a.Tostring();
double c = 123.45;
string d = c.ToString90;

helloworld에서 해메긴 또 첨이네!


using System;


namespace ConsoleApplication1_helloworld
{
    class helloworld
    {
        static void Main(string[]args)

        {
            //Console.WriteLine("hello");
            Console.WriteLine("hello,{0},"args[0]);
        }
    }
}
뇌를 자극하는 C#중..

main메서드뒤의 (string[]args)가 인수를 를 받는것인데 명령줄의 인수를
받는다고 해서 해멧는데, 윈도우 실행창  cmd명령어로 검은창 띄우고 실행파일을 불르면서
동시에 인수를 넘겨주어야 오류없이 작동한다.
ex) helloworld.exe iu(인수)



2012년 1월 25일 수요일

용접량

thk * .75만큼의 두깨를 용접두께로본다.

2012년 1월 24일 화요일

BOLT 여장구하기


고장력 볼트 :
M16 = plate thk + 30mm
M20 = plate thk + 35mm
M22 = plate thk + 40mm
M24 = plate thk + 45mm
5mm와샤 2ea

T.S.B :
M16 = plate thk + 25mm
M20 = plate thk + 30mm
M22 = plate thk + 35mm
M24 = plate thk + 40mm
5mm와샤 1ea

template

value fild는 객체지향 프로그래밍 마냥 객체에(아마 참조일듯) 접근해서 데이터를 가져올수있다.

template editer에서 작성을 하며 layout설정에서 도면생성에 필요한 요소들을
서로 엮어낸다.
기본파일을 tekla폴더에
각각의 설정파일들은 각각의 속성 폴더에 저장하면 됀다.